Interface SearchResultItem.Builder

  • Method Details

    • item

      A map of attribute names to AttributeValue objects, representing the projected attributes of the item returned by the vector search.

      Parameters:
      item - A map of attribute names to AttributeValue objects, representing the projected attributes of the item returned by the vector search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • score

      The similarity score for this item relative to the search vector. The interpretation depends on the distance function configured for the vector index.

      Parameters:
      score - The similarity score for this item relative to the search vector. The interpretation depends on the distance function configured for the vector index.
      Returns:
      Returns a reference to this object so that method calls can be chained together.