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
There’s a deprecated API called completions. That’s not what we’re talking about. We’re talking about “chat completions”, which is accessed in the Ruby gem through OpenAI::Client#chat
Using the chat completions example linked above, the output should be one summary event and five message events. Four of the message events come from the request and one of the message events comes from the response.
Summary events and messages events should be created as part of the same unit of work because they are both derived from the OpenAI::Client#chat method.
The text was updated successfully, but these errors were encountered:
Gem method: OpenAI::Client#chat
OpenAI Chat Completions Documentation
OpenAI Chat Completions API Reference
Llm/completion/OpenAI/Create
Ruby/ML/OpenAI/<version>
LlmChatCompletionSummary
(example attributes)(Internal)LlmChatCompletionMessage
(example attributes)(Internal)Notes:
The text was updated successfully, but these errors were encountered: