RoutingContext.Messages Property
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.
Gets the messages supplied to client selection and the selected client.
public:
property System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::ChatMessage ^> ^ Messages { System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::ChatMessage ^> ^ get(); };
public System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage> Messages { get; }
member this.Messages : seq<Microsoft.Extensions.AI.ChatMessage>
Public ReadOnly Property Messages As IEnumerable(Of ChatMessage)
Property Value
Remarks
Selection and failover may enumerate this sequence multiple times. Callers should supply a repeatable sequence.