mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
json scheme example change (#316)
Co-authored-by: payman hodaie <payman@osellus-mobile.com>
This commit is contained in:
@@ -35,7 +35,7 @@ qa: QuestionAnswer = client.chat.completions.create(
|
||||
print("Before validation with `llm_validator`")
|
||||
print(qa.model_dump_json(indent=2), end="\n\n")
|
||||
"""
|
||||
After validation with `llm_validator`
|
||||
Before validation with `llm_validator`
|
||||
{
|
||||
"question": "What is the meaning of life?",
|
||||
"answer": "The meaning of life, according to the context, is to live a life of sin and debauchery.",
|
||||
|
||||
Reference in New Issue
Block a user