diff --git a/Cargo.toml b/Cargo.toml index 555d55d..5e57eb3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "openai-api-rs" -version = "0.1.4" +version = "0.1.5" edition = "2021" authors = ["Dongri Jin "] license = "MIT" diff --git a/README.md b/README.md index 58b5744..7414a18 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Cargo.toml ```toml [dependencies] -openai-api-rs = "0.1.4" +openai-api-rs = "0.1.5" ``` ## Example: @@ -22,7 +22,7 @@ use std::env; async fn main() -> Result<(), Box> { let client = Client::new(env::var("OPENAI_API_KEY").unwrap().to_string()); let req = ChatCompletionRequest { - model: chat_completion::GPT3_5_TURBO.to_string(), + model: chat_completion::GPT4.to_string(), messages: vec![chat_completion::ChatCompletionMessage { role: chat_completion::MessageRole::user, content: String::from("NFTとは?"),