Class OpenSearchServerlessFieldMapping

    • Method Detail

      • metadataField

        public final String metadataField()

        The name of the field in which Amazon Bedrock stores metadata about the vector store.

        Returns:
        The name of the field in which Amazon Bedrock stores metadata about the vector store.
      • textField

        public final String textField()

        The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.

        Returns:
        The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
      • vectorField

        public final String vectorField()

        The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.

        Returns:
        The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
      • 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)