openai-hs icon indicating copy to clipboard operation
openai-hs copied to clipboard

[fix #15] ChatFunctionCall arguments field typed as Text

Open Saizan opened this issue 1 year ago • 3 comments

Here's a fix for issue 15, just changing the type of the field and the To/FromJSON instances.

Saizan avatar Aug 21 '23 14:08 Saizan

Thanks! What if we made this an Either of a parsed value or a text to make it more explicit how it could go "wrong" but keep the benefits of the parsed representation otherwise?

agrafix avatar Oct 25 '23 04:10 agrafix

hey @Saizan, let me know if you'd like to make those changes otherwise happy to do so! I'll also see if I can get a reliable hallucination and add a test

nickhs avatar Mar 23 '24 16:03 nickhs

Feel free to go ahead!

Saizan avatar Mar 23 '24 16:03 Saizan