Class OpenAIAgentExtension
public static class OpenAIAgentExtension
- Inheritance
-
OpenAIAgentExtension
- Inherited Members
Methods
RegisterMessageConnector(MiddlewareStreamingAgent<OpenAIChatAgent>, OpenAIChatRequestMessageConnector?)
Register an OpenAIChatRequestMessageConnector to the MiddlewareAgent<T> where T is OpenAIChatAgent
public static MiddlewareStreamingAgent<OpenAIChatAgent> RegisterMessageConnector(this MiddlewareStreamingAgent<OpenAIChatAgent> agent, OpenAIChatRequestMessageConnector? connector = null)
Parameters
agent
MiddlewareStreamingAgent<OpenAIChatAgent>connector
OpenAIChatRequestMessageConnectorthe connector to use. If null, a new instance of OpenAIChatRequestMessageConnector will be created.
Returns
RegisterMessageConnector(OpenAIChatAgent, OpenAIChatRequestMessageConnector?)
Register an OpenAIChatRequestMessageConnector to the OpenAIChatAgent
public static MiddlewareStreamingAgent<OpenAIChatAgent> RegisterMessageConnector(this OpenAIChatAgent agent, OpenAIChatRequestMessageConnector? connector = null)
Parameters
agent
OpenAIChatAgentconnector
OpenAIChatRequestMessageConnectorthe connector to use. If null, a new instance of OpenAIChatRequestMessageConnector will be created.