Interface KnowledgeBaseLookupOutput.Builder

    • Method Detail

      • retrievedReferences

        KnowledgeBaseLookupOutput.Builder retrievedReferences​(Collection<RetrievedReference> retrievedReferences)

        Contains metadata about the sources cited for the generated response.

        Parameters:
        retrievedReferences - Contains metadata about the sources cited for the generated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retrievedReferences

        KnowledgeBaseLookupOutput.Builder retrievedReferences​(RetrievedReference... retrievedReferences)

        Contains metadata about the sources cited for the generated response.

        Parameters:
        retrievedReferences - Contains metadata about the sources cited for the generated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.