Closed willbakst closed 4 months ago
Update: not ideal, but I can get correct behavior if I add "MUST BE A LIST" to my prompt. This is not tenable for more complex schemas or things that are more dynamic like agents.
Hey @willbakst, thanks for sharing your experience. We're aware of the issue and are working to improve how our models handle these types of inputs. Sorry there's no immediate solution here, but more to come!
No worries! I appreciate the response and am always looking forward to what you've got cooking :)
The following code snippet:
Results in the following output:
Notice that
book_list
is a string and not a list. I tried this with Sonnet and got the same thing. Opus properly outputted a list as expected.