Skip to content

Commit

Permalink
Version up to 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongri Jin committed Mar 17, 2023
1 parent 0eedf1c commit bdedb89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "openai-api-rs"
version = "0.1.4"
version = "0.1.5"
edition = "2021"
authors = ["Dongri Jin <[email protected]>"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Cargo.toml
```toml
[dependencies]
openai-api-rs = "0.1.4"
openai-api-rs = "0.1.5"
```

## Example:
Expand All @@ -22,7 +22,7 @@ use std::env;
async fn main() -> Result<(), Box<dyn std::error::Error>> {
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とは?"),
Expand Down

0 comments on commit bdedb89

Please sign in to comment.