Skip to content

Commit bdedb89

Browse files
author
Dongri Jin
committed
Version up to 0.1.5
1 parent 0eedf1c commit bdedb89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openai-api-rs"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
edition = "2021"
55
authors = ["Dongri Jin <[email protected]>"]
66
license = "MIT"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Cargo.toml
55
```toml
66
[dependencies]
7-
openai-api-rs = "0.1.4"
7+
openai-api-rs = "0.1.5"
88
```
99

1010
## Example:
@@ -22,7 +22,7 @@ use std::env;
2222
async fn main() -> Result<(), Box<dyn std::error::Error>> {
2323
let client = Client::new(env::var("OPENAI_API_KEY").unwrap().to_string());
2424
let req = ChatCompletionRequest {
25-
model: chat_completion::GPT3_5_TURBO.to_string(),
25+
model: chat_completion::GPT4.to_string(),
2626
messages: vec![chat_completion::ChatCompletionMessage {
2727
role: chat_completion::MessageRole::user,
2828
content: String::from("NFTとは?"),

0 commit comments

Comments
 (0)