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.
Base strategy class for selecting the next agent for a AgentGroupChat.
public abstract class SelectionStrategy
type SelectionStrategy = class
Public MustInherit Class SelectionStrategy
- Inheritance
-
SelectionStrategy
- Derived
Constructors
SelectionStrategy() |
Properties
HasSelected |
Flag indicating if an agent has been selected (first time). |
InitialAgent |
An optional agent for initial selection. |
Logger |
The ILogger associated with the SelectionStrategy. |
Methods
NextAsync(IReadOnlyList<Agent>, IReadOnlyList<ChatMessageContent>, CancellationToken) |
Determine which agent goes next. |
SelectAgentAsync(IReadOnlyList<Agent>, IReadOnlyList<ChatMessageContent>, CancellationToken) |
Determine which agent goes next. |