Interface BedrockEmbeddingModelConfiguration.Builder

  • Method Details

    • dimensions

      The dimensions details for the vector configuration used on the Bedrock embeddings model.

      Parameters:
      dimensions - The dimensions details for the vector configuration used on the Bedrock embeddings model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • embeddingDataType

      BedrockEmbeddingModelConfiguration.Builder embeddingDataType(String embeddingDataType)

      The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See Supported embeddings models for information on the available models and their vector data types.

      Parameters:
      embeddingDataType - The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See Supported embeddings models for information on the available models and their vector data types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • embeddingDataType

      BedrockEmbeddingModelConfiguration.Builder embeddingDataType(EmbeddingDataType embeddingDataType)

      The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See Supported embeddings models for information on the available models and their vector data types.

      Parameters:
      embeddingDataType - The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See Supported embeddings models for information on the available models and their vector data types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: