OpenAIRealtimeExtensions.ToConversationFunctionTool(AIFunction) Method
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.
Converts a AIFunction into a OpenAI.RealtimeConversation.ConversationFunctionTool so that it can be used with OpenAI.RealtimeConversation.RealtimeConversationClient.
public:
[System::Runtime::CompilerServices::Extension]
static OpenAI::RealtimeConversation::ConversationFunctionTool ^ ToConversationFunctionTool(Microsoft::Extensions::AI::AIFunction ^ aiFunction);
public static OpenAI.RealtimeConversation.ConversationFunctionTool ToConversationFunctionTool (this Microsoft.Extensions.AI.AIFunction aiFunction);
static member ToConversationFunctionTool : Microsoft.Extensions.AI.AIFunction -> OpenAI.RealtimeConversation.ConversationFunctionTool
<Extension()>
Public Function ToConversationFunctionTool (aiFunction As AIFunction) As ConversationFunctionTool
Parameters
- aiFunction
- AIFunction
Returns
OpenAI.RealtimeConversation.ConversationFunctionTool
A OpenAI.RealtimeConversation.ConversationFunctionTool that can be used with OpenAI.RealtimeConversation.RealtimeConversationClient.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.