Skip to content

Commit

Permalink
upstepping the defaults to GPT-4o
Browse files Browse the repository at this point in the history
  • Loading branch information
Arend-Jan committed May 14, 2024
1 parent f95eabf commit 88122f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let client = ChatGPTClient::new(api_key, base_url);
To send a chat message, create a ChatInput structure and call the chat method:
```rust
let chat_input = ChatInput {
model: Model::Gpt_4Turbo,
model: Model::Gpt_4o,
messages: vec![
Message {
role: Role::System,
Expand Down
2 changes: 1 addition & 1 deletion examples/cli-chat-example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async fn process_user_input(

// Prepare the ChatInput object for the API call
let input = ChatInput {
model: Model::Gpt_4Turbo,
model: Model::Gpt_4o,
messages: messages.clone(),
..Default::default()
};
Expand Down
2 changes: 1 addition & 1 deletion examples/cli-simple-chat-example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn main() -> Result<(), Box<dyn Error>> {

// Define the input for the ChatGPTClient
let input = ChatInput {
model: Model::Gpt_4Turbo, // Consider making this configurable
model: Model::Gpt_4o, // Consider making this configurable
messages: messages.clone(), // Pass in the messages vector
..Default::default()
};
Expand Down

0 comments on commit 88122f2

Please sign in to comment.