AzureCosmosDBMongoDBConfig.Similarity Property
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.
Similarity metric to use with the IVF index. Possible options are: - COS (cosine distance, default), - L2 (Euclidean distance), and - IP (inner product).
public Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBSimilarityType Similarity { get; set; }
member this.Similarity : Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB.AzureCosmosDBSimilarityType with get, set
Public Property Similarity As AzureCosmosDBSimilarityType