Package com.azure.cosmos.models
Class CosmosVectorEmbedding
java.lang.Object
com.azure.cosmos.models.CosmosVectorEmbedding
Embedding settings within
CosmosVectorEmbeddingPolicy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the data type for the cosmosVectorEmbedding.Gets the dimensions for the cosmosVectorEmbedding.Gets the distanceFunction for the cosmosVectorEmbedding.getPath()
Gets the path for the cosmosVectorEmbedding.setDataType
(CosmosVectorDataType dataType) Sets the data type for the cosmosVectorEmbedding.setDimensions
(Long dimensions) Sets the dimensions for the cosmosVectorEmbedding.setDistanceFunction
(CosmosVectorDistanceFunction distanceFunction) Sets the distanceFunction 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
-
getDimensions
Gets the dimensions for the cosmosVectorEmbedding.- Returns:
- dimensions
-
setDimensions
Sets 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
-