Interface RdsFieldMapping.Builder

  • Method Details

    • customMetadataField

      RdsFieldMapping.Builder customMetadataField(String customMetadataField)

      Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.

      Parameters:
      customMetadataField - Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadataField

      RdsFieldMapping.Builder metadataField(String metadataField)

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

      Parameters:
      metadataField - The name of the field in which Amazon Bedrock stores metadata about the vector store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryKeyField

      RdsFieldMapping.Builder primaryKeyField(String primaryKeyField)

      The name of the field in which Amazon Bedrock stores the ID for each entry.

      Parameters:
      primaryKeyField - The name of the field in which Amazon Bedrock stores the ID for each entry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • textField

      RdsFieldMapping.Builder textField(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • vectorField

      RdsFieldMapping.Builder vectorField(String vectorField)

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

      Parameters:
      vectorField - The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.