pydantic-chatcompletion

Wraps openai.ChatCompletion to produce pydantic model output via schema prompt and error feedback. (by jiggy-ai)

Pydantic-chatcompletion Alternatives

Similar projects and alternatives to pydantic-chatcompletion

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pydantic-chatcompletion alternative or higher similarity.

pydantic-chatcompletion reviews and mentions

Posts with mentions or reviews of pydantic-chatcompletion. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-07.
  • Show HN: Structed LLM outputs via Pydantic with struct-GPT
    2 projects | news.ycombinator.com | 7 May 2023
    Hey everyone,

    So, I stumbled upon this really cool idea of using Pydantic to deserialize and validate OpenAI's outputs over on this HN thread https://news.ycombinator.com/item?id=35821748.

    It got me thinking about how I'd like a slightly tweaked API to better fit my own needs. I also found some neat stuff in jiggy-ai's Pydantic implementation for chat completion https://github.com/jiggy-ai/pydantic-chatcompletion/blob/mas..., and picked up tips from various blog posts and comments on how to up the game with the quality of a model's output by providing examples.

    So, I cooked up this library - just about 200 lines of code, but it's got some nice features and it's fully tested. I hope some of you find it useful.

    I'd love to hear your thoughts and feedback. Cheers!

  • GPT-JSON: Structured and typehinted GPT responses in Python
    10 projects | news.ycombinator.com | 4 May 2023
    Nice project! I took some inspiration from this as well as https://github.com/jiggy-ai/pydantic-chatcompletion/blob/mas... to create the following:

    https://github.com/knowsuchagency/struct-gpt

    I tried to make the API as intuitive as possible and added the ability to provide examples to improve the reliability and quality of the LLM's output.

  • Show HN: Easy data extraction from text with Pydantic and OpenAI
    1 project | news.ycombinator.com | 27 Apr 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 4 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic pydantic-chatcompletion repo stats
4
52
4.2
11 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com