RoutingContext(IEnumerable<ChatMessage>, ChatOptions) Constructor
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.
Initializes a new instance of the RoutingContext class.
public:
RoutingContext(System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::ChatMessage ^> ^ messages, Microsoft::Extensions::AI::ChatOptions ^ chatOptions);
public RoutingContext(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage> messages, Microsoft.Extensions.AI.ChatOptions? chatOptions);
new Microsoft.Extensions.AI.RoutingContext : seq<Microsoft.Extensions.AI.ChatMessage> * Microsoft.Extensions.AI.ChatOptions -> Microsoft.Extensions.AI.RoutingContext
Public Sub New (messages As IEnumerable(Of ChatMessage), chatOptions As ChatOptions)
Parameters
- messages
- IEnumerable<ChatMessage>
The messages to route.
- chatOptions
- ChatOptions
The options associated with this context.