OpenAi.Chat (OpenAI REST API Client v0.1.3)
Provides API endpoint related to chat
Summary
Functions
Creates a model response for the given chat conversation.
Functions
Link to this function
create_chat_completion(body, opts \\ [])
@spec create_chat_completion( OpenAi.Chat.Completion.CreateRequest.t(), keyword() ) :: {:ok, OpenAi.Chat.Completion.CreateResponse.t()} | :error
Creates a model response for the given chat conversation.