Closed rubengmartins closed 2 months ago
This will require changing the model and seeing if the prompt needs to be adapted.
To have the output as JSON Claude 3.5 it requires some additional message in the assistant, otherwise, it returns some English description before the JSON.
May want to consider using instructor (https://github.com/jxnl/instructor) to make it easier to get structurer data.
This will require changing the model and seeing if the prompt needs to be adapted.
To have the output as JSON Claude 3.5 it requires some additional message in the assistant, otherwise, it returns some English description before the JSON.
May want to consider using instructor (https://github.com/jxnl/instructor) to make it easier to get structurer data.