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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET