Package com.azure.cosmos.models
Class CosmosVectorEmbedding
java.lang.Object
com.azure.cosmos.models.CosmosVectorEmbedding
Embedding settings within
CosmosVectorEmbeddingPolicy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the data type for the cosmosVectorEmbedding.Deprecated.Gets the distanceFunction for the cosmosVectorEmbedding.Gets the dimensions for the cosmosVectorEmbedding.getPath()Gets the path for the cosmosVectorEmbedding.setDataType(CosmosVectorDataType dataType) Sets the data type for the cosmosVectorEmbedding.setDimensions(Long dimensions) Deprecated.usesetEmbeddingDimensions(Integer dimensions)insteadsetDistanceFunction(CosmosVectorDistanceFunction distanceFunction) Sets the distanceFunction for the cosmosVectorEmbedding.setEmbeddingDimensions(Integer dimensions) Sets the dimensions for the cosmosVectorEmbedding.Sets the path for the cosmosVectorEmbedding.
-
Constructor Details
-
CosmosVectorEmbedding
public CosmosVectorEmbedding()Constructor
-
-
Method Details
-
getPath
Gets the path for the cosmosVectorEmbedding.- Returns:
- path
-
setPath
Sets the path for the cosmosVectorEmbedding.- Parameters:
path- the path for the cosmosVectorEmbedding- Returns:
- CosmosVectorEmbedding
-
getDataType
Gets the data type for the cosmosVectorEmbedding.- Returns:
- dataType
-
setDataType
Sets the data type for the cosmosVectorEmbedding.- Parameters:
dataType- the data type for the cosmosVectorEmbedding- Returns:
- CosmosVectorEmbedding
-
getEmbeddingDimensions
Gets the dimensions for the cosmosVectorEmbedding.- Returns:
- dimensions
-
setEmbeddingDimensions
Sets the dimensions for the cosmosVectorEmbedding.- Parameters:
dimensions- the dimensions for the cosmosVectorEmbedding- Returns:
- CosmosVectorEmbedding
-
getDimensions
Deprecated.usegetEmbeddingDimensions()insteadGets the dimensions for the cosmosVectorEmbedding.- Returns:
- dimensions
-
setDimensions
Deprecated.usesetEmbeddingDimensions(Integer dimensions)insteadSets the dimensions for the cosmosVectorEmbedding.- Parameters:
dimensions- the dimensions for the cosmosVectorEmbedding- Returns:
- CosmosVectorEmbedding
-
getDistanceFunction
Gets the distanceFunction for the cosmosVectorEmbedding.- Returns:
- distanceFunction
-
setDistanceFunction
Sets the distanceFunction for the cosmosVectorEmbedding.- Parameters:
distanceFunction- the distanceFunction for the cosmosVectorEmbedding- Returns:
- CosmosVectorEmbedding
-
getEmbeddingDimensions()instead