homie-gg / homie

1 stars 0 forks source link

fix(Task/Classification): use openai sdk zod output parser #198

Closed mikewuu closed 2 months ago

mikewuu commented 2 months ago

Current task classification fails due to incorrect schema output (not json) around ~15% of the time. OpenAI recently came out with structured outputs.

This ask updates task classification to use native structured outputs which boasts 100% accuracy!