EmbeddingGeneratorMetadata(String, Uri, String, Nullable<Int32>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the EmbeddingGeneratorMetadata class.
public EmbeddingGeneratorMetadata (string? providerName = default, Uri? providerUri = default, string? modelId = default, int? dimensions = default);
new Microsoft.Extensions.AI.EmbeddingGeneratorMetadata : string * Uri * string * Nullable<int> -> Microsoft.Extensions.AI.EmbeddingGeneratorMetadata
Public Sub New (Optional providerName As String = Nothing, Optional providerUri As Uri = Nothing, Optional modelId As String = Nothing, Optional dimensions As Nullable(Of Integer) = Nothing)
Parameters
- providerName
- String
The name of the embedding generation provider, if applicable.
- providerUri
- Uri
The URL for accessing the embedding generation provider, if applicable.
- modelId
- String
The id of the embedding generation model used, if applicable.
The number of dimensions in vectors produced by this generator, if applicable.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.