AIAgent |
public class AIAgentConfiguration : RootEditor
The AIAgentConfiguration type exposes the following members.
| Name | Description | |
|---|---|---|
| AIAgentConfiguration | Initializes a new instance of the AIAgentConfiguration class |
| Name | Description | |
|---|---|---|
| DefaultSystemPrompt | Inline system prompt injected at the start of every conversation. Ignored when SystemPromptFile is set. Leave empty to use no system prompt. | |
| Description | Short description of what this agent can do. | |
| EffectiveSystemPrompt | Returns the effective system prompt at runtime. Reads SystemPromptFile from Settings\AI\Prompts when set; otherwise returns DefaultSystemPrompt. | |
| GUID | Unique identifier for this agent configuration. | |
| IsEnabled | When false, this agent is excluded from all operations without being deleted. | |
| MaxTokens | Maximum number of tokens to generate in a single reply. Set to 0 to use the provider's default (parameter is not sent). | |
| Name | Display name of this agent configuration. | |
| ProviderGUID | GUID of the AIProviderConfiguration to use. | |
| SamplePromptsFile | File name of a text file containing sample user prompts, relative to Settings\AI\Prompts\Samples. One prompt per line; blank lines and lines starting with # are ignored. | |
| SkillGUIDs | GUIDs of the AISkillConfiguration instances available to this agent. An empty list means no skills are available. | |
| SystemPromptFile | File name of a text file containing the system prompt, relative to Settings\AI\Prompts. When set, takes precedence over DefaultSystemPrompt. | |
| Temperature | Sampling temperature (0.0 = deterministic, 1.0 = creative). | |
| ToolGUIDs | GUIDs of the AIToolConfiguration instances available to this agent. An empty list means no tools are available. | |
| TopP | Nucleus sampling threshold (0.0–1.0). Use instead of Temperature. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetProvider | Creates and returns the IAIProvider for this agent's provider configuration. Returns null when no matching provider configuration is found. | |
| GetProviderConfiguration | Resolves and returns the AIProviderConfiguration identified by ProviderGUID. Returns null when ProviderGUID is empty or no matching configuration is found. | |
| GetSamplePrompts | Reads and returns the list of sample user prompts from SamplePromptsFile. Returns an empty list when the file is not set or does not exist. Blank lines and lines starting with # are skipped. | |
| GetSkillConfigurations | Returns the list of enabled AISkillConfiguration instances available to this agent. When SkillGUIDs is empty, no skills are returned. | |
| GetToolConfigurations | Returns the list of enabled AIToolConfiguration instances available to this agent. When ToolGUIDs is empty, no tools are returned. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Init |
Init the editor objects
(Inherited from RootEditor) | |
| InitDefaultValues |
Init the default values
(Inherited from RootEditor) | |
| InitEditor |
Init the editor objects and the default values
(Inherited from RootEditor) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| SetReadOnly |
Set all properties to readonly
(Inherited from RootEditor) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| UpdateEditor |
Update editor attributes
(Inherited from RootEditor) | |
| UpdateEditorAttributes |
Refresh properties attrivutes
(Inherited from RootEditor) |
| Name | Description | |
|---|---|---|
| _dctd | (Inherited from RootEditor) | |
| FirstEnabledName | Display name shown in the property-grid dropdown for an empty default agent, meaning the first enabled agent is used. |