From b5c5d0f85cb149b18c93b780a26a7e69745f84ca Mon Sep 17 00:00:00 2001 From: David Weis Date: Sat, 18 May 2024 17:28:41 +0000 Subject: [PATCH] Switch to gpt 4o --- src/openai/mod.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/openai/mod.rs b/src/openai/mod.rs index 7d691a8..6a1cd80 100644 --- a/src/openai/mod.rs +++ b/src/openai/mod.rs @@ -19,12 +19,8 @@ use crate::{ use self::{conversation_handler::ChatGptConversation, events::*, functions::*}; -// cheap but dumb -// const MODEL_NAME: &str = "gpt-3.5-turbo-0613"; -// expensive but no rate limit -// const MODEL_NAME: &str = "gpt-4-0613"; -// best and cheapest but there is a rate limit -const MODEL_NAME: &str = "gpt-4-0125-preview"; + +const MODEL_NAME: &str = "gpt-4o-2024-05-13"; const SYSTEM_PROMPT: &str = "You are a hexapod pet robot. Your name is Hopper. \ You can perform physical actions such as dance, sit, stand up by calling functions. \