Class VectorKnowledgeBaseConfiguration

    • Method Detail

      • embeddingModelArn

        public final String embeddingModelArn()

        The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.

        Returns:
        The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
      • embeddingModelConfiguration

        public final EmbeddingModelConfiguration embeddingModelConfiguration()

        The embeddings model configuration details for the vector model used in Knowledge Base.

        Returns:
        The embeddings model configuration details for the vector model used in Knowledge Base.
      • supplementalDataStorageConfiguration

        public final SupplementalDataStorageConfiguration supplementalDataStorageConfiguration()

        If you include multimodal data from your data source, use this object to specify configurations for the storage location of the images extracted from your documents. These images can be retrieved and returned to the end user. They can also be used in generation when using RetrieveAndGenerate.

        Returns:
        If you include multimodal data from your data source, use this object to specify configurations for the storage location of the images extracted from your documents. These images can be retrieved and returned to the end user. They can also be used in generation when using RetrieveAndGenerate.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)