Click or drag to resize

AIProviderConfiguration Class

Inheritance Hierarchy
SystemObject
  Seal.ModelRootEditor
    Seal.AIAIProviderConfiguration

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

The AIProviderConfiguration type exposes the following members.

Constructors
 NameDescription
Public methodAIProviderConfigurationInitializes a new instance of the AIProviderConfiguration class
Top
Properties
 NameDescription
Public propertyClearProviderKey Provider API Key in clear text.
Public propertyEndPoint The resource endpoint URL.
Public propertyGUID Unique identifier for this provider configuration.
Public propertyInputTokenCost Cost per 1 million input (prompt) tokens, in the currency you pay the provider in. 0 means no cost tracking. Cached input tokens are counted at the full input rate.
Public propertyIsEnabled When false, this provider is excluded from all operations without being deleted.
Public propertyModel Model name to use (e.g. gpt-4o, claude-3-5-sonnet-20241022, llama3).
Public propertyName Display name of this provider configuration.
Public propertyOutputTokenCost Cost per 1 million output (completion) tokens, in the currency you pay the provider in. 0 means no cost tracking.
Public propertyProviderKey Encrypted API Key.
Public propertyType Type of the AI provider.
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 methodGetCost Cost of a usage based on the configured token costs, or null when no cost is configured.
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)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetReadOnly Set all properties to readonly
(Inherited from RootEditor)
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)
Public fieldStatic memberAIProviderKeysKeyName 
Public fieldStatic memberAIProviderKeysKeyValue 
Public fieldStatic memberDefaultProviderGUID Sentinel value for an agent's ProviderGUID meaning "use the server's Default Provider" (see DefaultProviderGUID). Real providers use Guid values, so this can never collide.
Public fieldStatic memberDefaultProviderName Display name shown in the property-grid dropdown for the default-provider sentinel.
Public fieldStatic memberFirstEnabledName Display name shown in the property-grid dropdown for an empty default provider, meaning the first enabled provider is used.
Top
See Also