RetrieveAndGenerateRequest
Types
Properties
Link copied to clipboard
Contains the query to be made to the knowledge base.
Link copied to clipboard
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
Link copied to clipboard
Contains details about the session with the knowledge base.
Link copied to clipboard
The unique identifier of the session. When you first make a RetrieveAndGenerate
request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the sessionId
yourself.
Functions
Link copied to clipboard
inline fun copy(block: RetrieveAndGenerateRequest.Builder.() -> Unit = {}): RetrieveAndGenerateRequest