Interface MetadataAttributeSchema.Builder

  • Method Details

    • 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

      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:
    • 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:
    • 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.