EmbedOptions
Namespace: Vercel.AI
public sealed class EmbedOptionsEmbedding options.
Inheritance: object
Properties
Section titled “Properties”Dimensions
Section titled “Dimensions”public int? Dimensions { get; set; }Requested output dimensions. Must be a positive integer. Support depends on the model.
Value: int?
Headers
Section titled “Headers”public IReadOnlyDictionary<string, string?>? Headers { get; set; }Headers for this call. They override the provider headers.
Value: IReadOnlyDictionary<string, string>
public IEmbeddingModel? Model { get; set; }Explicit embedding model.
Value: IEmbeddingModel
ModelId
Section titled “ModelId”public string? ModelId { get; set; }Gateway embedding model id.
Value: string
ProviderOptions
Section titled “ProviderOptions”public IReadOnlyDictionary<string, JsonElement>? ProviderOptions { get; set; }Provider options keyed by provider id.
Value: IReadOnlyDictionary<string, JsonElement>
Values
Section titled “Values”public IReadOnlyList<string> Values { get; set; }Values to embed.
Value: IReadOnlyList<string>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product