SelectionStrategy Class
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.
Provides a base strategy class for selecting the next agent for an AgentGroupChat.
public abstract class SelectionStrategy
type SelectionStrategy = class
Public MustInherit Class SelectionStrategy
- Inheritance
-
SelectionStrategy
- Derived
Constructors
SelectionStrategy() |
Properties
HasSelected |
Gets a value that indicates if an agent has been selected (first time). |
InitialAgent |
Gets or sets an optional agent for initial selection. |
Logger |
Gets the ILogger associated with the SelectionStrategy. |
Methods
NextAsync(IReadOnlyList<Agent>, IReadOnlyList<ChatMessageContent>, CancellationToken) |
Determines which agent goes next. |
SelectAgentAsync(IReadOnlyList<Agent>, IReadOnlyList<ChatMessageContent>, CancellationToken) |
Determines which agent goes next. |