homie-gg / homie

1 stars 0 forks source link

fix(AI): use openai SDK directly + schema #188

Open mikewuu opened 2 months ago

mikewuu commented 2 months ago

OpenAI now supports structured JSON output with 100% accuracy. Which means we don't need langchain anymore:

https://openai.com/index/introducing-structured-outputs-in-the-api/

mikewuu commented 2 months ago

Backlogging until open ai sdk is better. see #199

homie-dev-mike[bot] commented 1 week ago

Here are some pull requests that might be helpful reference for this task: