-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON Schema #700
Comments
Hey @cclark1e, I'm here to help you with any questions or issues you have with PaperQA2. Let's tackle this together! I couldn't find a direct configuration option in PaperQA2 to specify a JSON schema for the output format. However, there is a reference in the Additionally, there is a test case in the For more detailed implementation or customization, you might need to modify the code to integrate OpenAI's structured output feature directly. |
Hello @cclark1e when you say "final response", what do you mean? Like the string Can you give an example schema for what you're thinking? |
@jamesbraza
I am also curious to know the answer to this. @cclark1e were you able to find a method for this? |
Hi all,
Thank you for your excellent work on PaperQA2.
OpenAI provides an option for a JSON schema that the LLM must respond with.
(https://openai.com/index/introducing-structured-outputs-in-the-api/)
Is it possible to pass this option through paperQA2 so the final response fits within this schema?
The text was updated successfully, but these errors were encountered: