Class EmbeddingProvider
Describes an embedding provider (such as OpenAI) that can generate vector embeddings for use with the Data API.
public class EmbeddingProvider
- Inheritance
-
EmbeddingProvider
- Inherited Members
Fields
AuthenticationMethodHeader
Constant representing header-based authentication.
public const string AuthenticationMethodHeader = "HEADER"
Field Value
AuthenticationMethodNone
Constant representing no authentication required.
public const string AuthenticationMethodNone = "NONE"
Field Value
AuthenticationMethodSharedSecret
Constant representing shared-secret authentication.
public const string AuthenticationMethodSharedSecret = "SHARED_SECRET"
Field Value
Properties
DisplayName
The human-readable display name of the embedding provider.
public string DisplayName { get; set; }
Property Value
Models
The embedding models available from this provider.
public List<EmbeddingProvider.Model> Models { get; set; }
Property Value
Parameters
Configuration parameters accepted by this embedding provider.
public List<EmbeddingProvider.Parameter> Parameters { get; set; }
Property Value
SupportedAuthentication
The authentication methods supported by this provider, keyed by method name.
public Dictionary<string, EmbeddingProvider.AuthenticationMethod> SupportedAuthentication { get; set; }
Property Value
Url
The base URL for the embedding provider's API endpoint.
public string Url { get; set; }