Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2023 (5)
20082026
  1. …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
  2. ▲ 1
    Show HN: Structed LLM outputs via Pydantic with struct-GPT
    story by knowsuchagency · 2023-05-07 · 0 comments
  3. 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…
  4. …of python code that I've found to be unreasonably effective at accomplishing something similar: https://github.com/jiggy-ai/pydantic-chatcompletion/blob/mas...
  5. ▲ 3
    Show HN: Easy data extraction from text with Pydantic and OpenAI
    story by wskish · 2023-04-28 · 0 comments