We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc1fd35 commit 79ac0caCopy full SHA for 79ac0ca
tutorials/needle.ipynb
@@ -64,7 +64,7 @@
64
"source": [
65
"system_messages = [{\"role\": \"system\", \"content\": r.content} for r in results] # results from Needle\n",
66
"user_message = {\n",
67
- " \"role\": \"system\",\n",
+ " \"role\": \"user\",\n",
68
" \"content\": f\"\"\"\n",
69
" Only answer the question based on the provided results data. \n",
70
" If there is no data in the provided data for the question, do not try to generate an answer. \n",
@@ -74,7 +74,7 @@
74
"\n",
75
"openai_client = OpenAI()\n",
76
"answer = openai_client.chat.completions.create(\n",
77
- " model=\"gpt-3.5-turbo\",\n",
+ " model=\"gpt-4o-mini\",\n",
78
" messages=[\n",
79
" *system_messages,\n",
80
" user_message,\n",
0 commit comments