static RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.builder() |
|
RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.Builder.citations(Collection<Citation> citations) |
A list of segments of the generated response that are based on sources in the knowledge base, alongside
information about the sources.
|
RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.Builder.citations(Consumer<Citation.Builder>... citations) |
A list of segments of the generated response that are based on sources in the knowledge base, alongside
information about the sources.
|
RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.Builder.citations(Citation... citations) |
A list of segments of the generated response that are based on sources in the knowledge base, alongside
information about the sources.
|
RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.Builder.guardrailAction(String guardrailAction) |
Specifies if there is a guardrail intervention in the response.
|
RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.Builder.guardrailAction(GuadrailAction guardrailAction) |
Specifies if there is a guardrail intervention in the response.
|
default RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.Builder.output(Consumer<RetrieveAndGenerateOutput.Builder> output) |
Contains the response generated from querying the knowledge base.
|
RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.Builder.output(RetrieveAndGenerateOutput output) |
Contains the response generated from querying the knowledge base.
|
RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.Builder.sessionId(String sessionId) |
The unique identifier of the session.
|
RetrieveAndGenerateResponse.Builder |
RetrieveAndGenerateResponse.toBuilder() |
|