Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!(
"{}{}",
prompt,
client.complete(prompt.as_str()).await?
client.complete_prompt(prompt.as_str()).await?
);
Ok(())
}
Expand Down Expand Up @@ -55,4 +55,4 @@ println!("Response: {}", response.choices[0].text);
println!("Model used: {}", response.model);
```

See [examples/](./examples)
See [examples/](./examples)