jiggy-ai/pydantic-chatcompletion
View on GitHub ↗ ★ 54 Python
Wraps openai.ChatCompletion to produce pydantic model output via schema prompt and error feedback.
5 mentions on Hacker News by 2 people: 2 stories, 3 comments · first 2023-04-28 · latest 2023-06-14
20082026
-
…json and pydantic model and providing feedback to the llm model when it gets either of those wrong: https://github.com/jiggy-ai/pydantic-chatcompletion/blob/mas...
comment by wskish · 2023-06-14 · in Native JSON Output from GPT-4 -
▲ 1
Show HN: Structed LLM outputs via Pydantic with struct-GPTstory by knowsuchagency · 2023-05-07 · 0 comments
-
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…
comment by knowsuchagency · 2023-05-07 · in Show HN: GPT-JSON – Structured and typehinted GPT responses in Python -
…of python code that I've found to be unreasonably effective at accomplishing something similar: https://github.com/jiggy-ai/pydantic-chatcompletion/blob/mas...
comment by wskish · 2023-05-05 · in Show HN: GPT-JSON – Structured and typehinted GPT responses in Python -
▲ 3
Show HN: Easy data extraction from text with Pydantic and OpenAIstory by wskish · 2023-04-28 · 0 comments