Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wskish
on June 14, 2023
|
parent
|
context
|
favorite
| on:
Native JSON Output from GPT-4
here is code (with several examples) that takes it a couple steps further by validating the output 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...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://github.com/jiggy-ai/pydantic-chatcompletion/blob/mas...