How to structure and output the desired data #1115
Closed
muchengyang
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Seeking advice from experts, my requirement is to have the large model extract data according to the given JSON schema. I have tried many solutions and consulted a lot of information, but have not been able to achieve the desired results. I hope that experienced experts can share their experience with me
Here is my example
Prompt:
Your response should be in JSON format.
Do not include any explanations, only provide a RFC8259 compliant JSON response following this format without deviation.
Do not include markdown code blocks in your response.
Remove the ```json markdown from the output.
Here is the JSON Schema instance your output must adhere to:
Beta Was this translation helpful? Give feedback.
All reactions