Skip to content

Commit 616c2da

Browse files
committed
update
Signed-off-by: kerthcet <kerthcet@gmail.com>
1 parent f257c4a commit 616c2da

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ let mut client = client::Client::new(config);
5555
let request = chat::CreateChatCompletionRequestArgs::default()
5656
.messages([
5757
chat::ChatCompletionRequestSystemMessage::from("You are a helpful assistant.").into(),
58-
chat::ChatCompletionRequestUserMessage::from("Who won the world series in 2020?").into(),
58+
chat::ChatCompletionRequestUserMessage::from("How is the weather today?").into(),
5959
])
6060
.build()
6161
.unwrap();

src/main.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ fn main() {
3232
chat::ChatCompletionRequestSystemMessage::from("You are a helpful assistant.").into(),
3333
chat::ChatCompletionRequestUserMessage::from("Who won the world series in 2020?")
3434
.into(),
35-
// chat::ChatCompletionRequestAssistantMessage::from(
36-
// "The Los Angeles Dodgers won the World Series in 2020.",
37-
// )
38-
// .into(),
39-
// chat::ChatCompletionRequestUserMessage::from("Where was it played?").into(),
35+
chat::ChatCompletionRequestAssistantMessage::from(
36+
"The Los Angeles Dodgers won the World Series in 2020.",
37+
)
38+
.into(),
39+
chat::ChatCompletionRequestUserMessage::from("Where was it played?").into(),
4040
])
4141
.build()
4242
.unwrap();

0 commit comments

Comments
 (0)