Class CosmosVectorEmbedding

java.lang.Object
com.azure.cosmos.models.CosmosVectorEmbedding

public final class CosmosVectorEmbedding extends Object
Embedding settings within CosmosVectorEmbeddingPolicy
  • Constructor Details

    • CosmosVectorEmbedding

      public CosmosVectorEmbedding()
      Constructor
  • Method Details

    • getPath

      public String getPath()
      Gets the path for the cosmosVectorEmbedding.
      Returns:
      path
    • setPath

      public CosmosVectorEmbedding setPath(String path)
      Sets the path for the cosmosVectorEmbedding.
      Parameters:
      path - the path for the cosmosVectorEmbedding
      Returns:
      CosmosVectorEmbedding
    • getDataType

      public CosmosVectorDataType getDataType()
      Gets the data type for the cosmosVectorEmbedding.
      Returns:
      dataType
    • setDataType

      public CosmosVectorEmbedding setDataType(CosmosVectorDataType dataType)
      Sets the data type for the cosmosVectorEmbedding.
      Parameters:
      dataType - the data type for the cosmosVectorEmbedding
      Returns:
      CosmosVectorEmbedding
    • getDimensions

      public Long getDimensions()
      Gets the dimensions for the cosmosVectorEmbedding.
      Returns:
      dimensions
    • setDimensions

      public CosmosVectorEmbedding setDimensions(Long dimensions)
      Sets the dimensions for the cosmosVectorEmbedding.
      Parameters:
      dimensions - the dimensions for the cosmosVectorEmbedding
      Returns:
      CosmosVectorEmbedding
    • getDistanceFunction

      public CosmosVectorDistanceFunction getDistanceFunction()
      Gets the distanceFunction for the cosmosVectorEmbedding.
      Returns:
      distanceFunction
    • setDistanceFunction

      public CosmosVectorEmbedding setDistanceFunction(CosmosVectorDistanceFunction distanceFunction)
      Sets the distanceFunction for the cosmosVectorEmbedding.
      Parameters:
      distanceFunction - the distanceFunction for the cosmosVectorEmbedding
      Returns:
      CosmosVectorEmbedding