Skip to content

Commit 79ac0ca

Browse files
committed
Simplify
1 parent bc1fd35 commit 79ac0ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/needle.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"source": [
6565
"system_messages = [{\"role\": \"system\", \"content\": r.content} for r in results] # results from Needle\n",
6666
"user_message = {\n",
67-
" \"role\": \"system\",\n",
67+
" \"role\": \"user\",\n",
6868
" \"content\": f\"\"\"\n",
6969
" Only answer the question based on the provided results data. \n",
7070
" If there is no data in the provided data for the question, do not try to generate an answer. \n",
@@ -74,7 +74,7 @@
7474
"\n",
7575
"openai_client = OpenAI()\n",
7676
"answer = openai_client.chat.completions.create(\n",
77-
" model=\"gpt-3.5-turbo\",\n",
77+
" model=\"gpt-4o-mini\",\n",
7878
" messages=[\n",
7979
" *system_messages,\n",
8080
" user_message,\n",

0 commit comments

Comments
 (0)