Skip to content

Commit 094115d

Browse files
author
Thodoris Petropoulos
committed
json response_type fix on docs
1 parent f76f79a commit 094115d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/language/0.calling_large_language_models.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"r = client.evaluate_prompt(prompt = \"In this course, you will learn about car batteries, car doors, and car suspension system\",\n",
6565
" # system_message = \"OPTIONAL, but good to have\", \n",
6666
" llm_name = 'OPENAI_GPT4O',\n",
67+
" response_type='json',\n",
6768
" json_response_schema = {\"learning_objectives\": {\"type\": \"list\", \"description\": \"A list of learning objectives\", \"is_required\": True}}\n",
6869
")\n",
6970
"learning_objectives = json.loads(r.content)\n",

0 commit comments

Comments
 (0)