ContainerBuilder.WithVectorEmbeddingPolicy Method
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.
Defines the vector embedding policy for this Azure Cosmos container
public Microsoft.Azure.Cosmos.Fluent.VectorEmbeddingPolicyDefinition WithVectorEmbeddingPolicy(System.Collections.ObjectModel.Collection<Microsoft.Azure.Cosmos.Embedding> embeddings);
member this.WithVectorEmbeddingPolicy : System.Collections.ObjectModel.Collection<Microsoft.Azure.Cosmos.Embedding> -> Microsoft.Azure.Cosmos.Fluent.VectorEmbeddingPolicyDefinition
Public Function WithVectorEmbeddingPolicy (embeddings As Collection(Of Embedding)) As VectorEmbeddingPolicyDefinition
Parameters
- embeddings
- Collection<Embedding>
List of vector embeddings to include in the policy definition.
Returns
An instance of VectorEmbeddingPolicyDefinition.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET