ChatProtocolExecutor.ConfigureProtocol(ProtocolBuilder) 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.
Configures the protocol by setting up routes and declaring the message types used for sending and yielding output.
protected override Microsoft.Agents.AI.Workflows.ProtocolBuilder ConfigureProtocol(Microsoft.Agents.AI.Workflows.ProtocolBuilder protocolBuilder);
override this.ConfigureProtocol : Microsoft.Agents.AI.Workflows.ProtocolBuilder -> Microsoft.Agents.AI.Workflows.ProtocolBuilder
Protected Overrides Function ConfigureProtocol (protocolBuilder As ProtocolBuilder) As ProtocolBuilder
Parameters
- protocolBuilder
- ProtocolBuilder
Returns
An instance of Microsoft.Agents.AI.Workflows.ExecutorProtocol that represents the fully configured protocol.