Interface MetadataAttributeSchema.Builder

    • Method Detail

      • key

        MetadataAttributeSchema.Builder key​(String key)

        The unique identifier for the metadata attribute. This key is used to reference the attribute in filter expressions and reranking configurations.

        Parameters:
        key - The unique identifier for the metadata attribute. This key is used to reference the attribute in filter expressions and reranking configurations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        MetadataAttributeSchema.Builder type​(String type)

        The data type of the metadata attribute. The type determines how the attribute can be used in filter expressions and reranking.

        Parameters:
        type - The data type of the metadata attribute. The type determines how the attribute can be used in filter expressions and reranking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttributeType, AttributeType
      • type

        MetadataAttributeSchema.Builder type​(AttributeType type)

        The data type of the metadata attribute. The type determines how the attribute can be used in filter expressions and reranking.

        Parameters:
        type - The data type of the metadata attribute. The type determines how the attribute can be used in filter expressions and reranking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttributeType, AttributeType
      • description

        MetadataAttributeSchema.Builder description​(String description)

        An optional description of the metadata attribute that provides additional context about its purpose and usage.

        Parameters:
        description - An optional description of the metadata attribute that provides additional context about its purpose and usage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.