From a6661ca102a72ce978d0b01bf47d0d869bdf1845 Mon Sep 17 00:00:00 2001 From: Seth Date: Mon, 25 Nov 2024 20:54:35 +1300 Subject: [PATCH] changed what models are used --- openAI.bak | 5 ++--- openAI.sh | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/openAI.bak b/openAI.bak index c0352e1..1fc2adb 100755 --- a/openAI.bak +++ b/openAI.bak @@ -42,9 +42,8 @@ while true; do -H "Authorization: Bearer $OPENAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ - "model": "gpt-3.5-turbo", - "messages": '"$conversation_history"', - "max_tokens": 150 + "model": "gpt-4o", + "messages": '"$conversation_history"' }') # Extract the assistant's response diff --git a/openAI.sh b/openAI.sh index 320260e..a6200a4 100755 --- a/openAI.sh +++ b/openAI.sh @@ -26,9 +26,7 @@ PROJECT_ID=proj_pCrxzr6NUI5WkiqMF5JNp2Ou ## ] # }' -conversation_history='[ - {"role": "system", "content": "You are ChatGPT, an AI that assists with conversations."} -]' +conversation_history='[]' while true; do # Read user input