Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion async-openai/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
//! // Create request using builder pattern
//! // Every request struct has companion builder struct with same name + Args suffix
//! let request = CreateCompletionRequestArgs::default()
//! .model("text-davinci-003")
//! .model("gpt-3.5-turbo-instruct")
//! .prompt("Tell me the recipe of alfredo pasta")
//! .max_tokens(40_u16)
//! .build()
Expand Down
2 changes: 1 addition & 1 deletion async-openai/src/types/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl Default for InputSource {
}

/// for `impl_input!(Struct)` where
/// ```
/// ```text
/// Struct {
/// source: InputSource
/// }
Expand Down
2 changes: 1 addition & 1 deletion async-openai/tests/boxed_future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async fn boxed_future_test() {
let client = Client::new();

let request = CreateCompletionRequestArgs::default()
.model("text-babbage-001")
.model("gpt-3.5-turbo-instruct")
.n(1)
.prompt("does 2 and 2 add to four? (yes/no):\n")
.stream(true)
Expand Down