OpenAIRealtimeExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for working with OpenAI.RealtimeConversation.RealtimeConversationSession and related types.
public ref class OpenAIRealtimeExtensions abstract sealed
public static class OpenAIRealtimeExtensions
type OpenAIRealtimeExtensions = class
Public Module OpenAIRealtimeExtensions
- Inheritance
-
OpenAIRealtimeExtensions
Methods
HandleToolCallsAsync(RealtimeConversationSession, ConversationUpdate, IReadOnlyList<AIFunction>, Nullable<Boolean>, JsonSerializerOptions, CancellationToken) |
Handles tool calls. If the If the |
ToConversationFunctionTool(AIFunction) |
Converts a AIFunction into a OpenAI.RealtimeConversation.ConversationFunctionTool so that it can be used with OpenAI.RealtimeConversation.RealtimeConversationClient. |