You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think most of the request structs do not have Deserialize because they primarily are needed to send request via Serialize, contributors in the past added Deserialize for I think chat where they need to create request from json/file.
The completion API is now marked legacy and favors chat completion in the API reference/guides. That said, PR is welcome!
The OpenAI recommened Chat endpoints does have deserialization support. Since Completions is now considered legacy I'm closing this, but if its a dealbreak please feel free to leave comment or reopen.
Currently the
Deserialize
trait is not derived forCreateCompletionRequest
https://github.com/64bit/async-openai/blob/main/async-openai/src/types/types.rs#L53Deriving it would make it easier to compose with this awesome crate
The text was updated successfully, but these errors were encountered: