paper-qa icon indicating copy to clipboard operation
paper-qa copied to clipboard

JSON Schema

Open cclark1e opened this issue 1 year ago • 3 comments

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?

cclark1e avatar Nov 18 '24 14:11 cclark1e