CosmosVectorEmbeddingPolicy Class

  • java.lang.Object
    • com.azure.cosmos.models.CosmosVectorEmbeddingPolicy

public final class CosmosVectorEmbeddingPolicy

Vector Embedding Policy

Constructor Summary

Constructor Description
CosmosVectorEmbeddingPolicy()

Constructor

Method Summary

Modifier and Type Method and Description
List<CosmosVectorEmbedding> getVectorEmbeddings()

Gets the paths for embeddings along with path-specific settings for the item.

void setCosmosVectorEmbeddings(List<CosmosVectorEmbedding> cosmosVectorEmbeddings)

Sets the paths for embeddings along with path-specific settings for the item.

Methods inherited from java.lang.Object

Constructor Details

CosmosVectorEmbeddingPolicy

public CosmosVectorEmbeddingPolicy()

Constructor

Method Details

getVectorEmbeddings

public List getVectorEmbeddings()

Gets the paths for embeddings along with path-specific settings for the item.

Returns:

the paths for embeddings along with path-specific settings for the item.

setCosmosVectorEmbeddings

public void setCosmosVectorEmbeddings(List cosmosVectorEmbeddings)

Sets the paths for embeddings along with path-specific settings for the item.

Parameters:

cosmosVectorEmbeddings - paths for embeddings along with path-specific settings for the item.

Applies to