Click or drag to resize

AIServerConfiguration Class

Dedicated configuration for AI Providers, Tools and Agents. Serialized to Settings\AI\AIConfiguration.xml in the repository.
Inheritance Hierarchy
SystemObject
  Seal.ModelRootEditor
    Seal.ModelRootComponent
      Seal.AIAIServerConfiguration

Namespace: Seal.AI
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.0.0+c1250b26c169a4ba4d702dc7579506e87ba2cd3a
Syntax
C#
public class AIServerConfiguration : RootComponent

The AIServerConfiguration type exposes the following members.

Constructors
 NameDescription
Public methodAIServerConfigurationInitializes a new instance of the AIServerConfiguration class
Top
Properties
 NameDescription
Public propertyAIAgents AI Agents combining a provider, an optional set of tools, and a default system prompt.
Public propertyAIProviders AI Providers available to configure AIClient.
Public propertyAISkills AI Skills available to AI agents. Each skill bundles an instructions file (loaded on demand) and an optional set of tools that become available once the skill is loaded.
Public propertyAITools AI Tools (functions) available to AI providers. Each tool has an optional Razor execution script that is run when the AI model decides to call the tool.
Public propertyDefaultAgentGUID GUID of the default AI agent. Used when no agent name is specified.
Public propertyDefaultProviderGUID GUID of the default AI provider. Used when no provider name is specified.
Public propertyExternalAIProviders If true, the AI Providers are saved in a dedicated XML file located beside the AIConfiguration.xml file. This may be useful for deployment.
Public propertyGUID The unique identifier
(Inherited from RootComponent)
Public propertyName The name
(Inherited from RootComponent)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetAIProvidersFilePath Returns the path of the dedicated AI Providers file beside the AIConfiguration.xml file
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInit Init the editor objects
(Inherited from RootEditor)
Public methodInitDefaultValues Init the default values
(Inherited from RootEditor)
Public methodInitEditor Init the editor objects and the default values
(Inherited from RootEditor)
Public methodStatic memberLoadFromFile Load AI configuration from a file
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMustReload True if the configuration file (or the dedicated AI Providers file) has been modified or created since the load
Public methodSaveToFile Save to current file
Public methodSaveToFile(String) Save to a given file path
Public methodSetReadOnly Set all properties to readonly
(Inherited from RootEditor)
Public methodShouldSerializeAIProviders Do not serialize AIProviders inline when they are stored in a dedicated file
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateEditor Update editor attributes
(Inherited from RootEditor)
Protected methodUpdateEditorAttributes Refresh properties attrivutes
(Inherited from RootEditor)
Top
Fields
 NameDescription
Protected field_dctd
(Inherited from RootEditor)
Protected field_GUID
(Inherited from RootComponent)
Protected field_name
(Inherited from RootComponent)
Public fieldFilePath Current file path
Public fieldLastModification Last modification date time
Public fieldLastProvidersModification Last modification date time of the dedicated AI Providers file (if ExternalAIProviders is set)
Public fieldRepository Current repository
Top
See Also