openai-api-rust
openai-api-rust copied to clipboard
CompletionArgsBuilder doesn't implement From<&str>?
Hi there!
I tried using the CompletionArgs builder and tried using it in complete_prompt like in the example but I'm receiving this error:
the trait bound `CompletionArgs: From<&mut CompletionArgsBuilder>` is not satisfied
the trait `From<&str>` is implemented for `CompletionArgs`
required for `&mut CompletionArgsBuilder` to implement `Into<CompletionArgs>`
Is this supposed to be correct?
Thank you for any assistance.