Interface QueryOutputVector.Builder

  • Method Details

    • distance

      QueryOutputVector.Builder distance(Float distance)

      The measure of similarity between the vector in the response and the query vector.

      Parameters:
      distance - The measure of similarity between the vector in the response and the query vector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The key of the vector in the approximate nearest neighbor search.

      Parameters:
      key - The key of the vector in the approximate nearest neighbor search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      QueryOutputVector.Builder metadata(Document metadata)

      The metadata associated with the vector, if requested.

      Parameters:
      metadata - The metadata associated with the vector, if requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.