bedrockagentruntime_retrieve_and_generate_stream {paws.machine.learning} | R Documentation |
Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format
Description
Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_retrieve_and_generate_stream/ for full documentation.
Usage
bedrockagentruntime_retrieve_and_generate_stream(
input,
retrieveAndGenerateConfiguration = NULL,
sessionConfiguration = NULL,
sessionId = NULL
)
Arguments
input |
[required] Contains the query to be made to the knowledge base. |
retrieveAndGenerateConfiguration |
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations. |
sessionConfiguration |
Contains details about the session with the knowledge base. |
sessionId |
The unique identifier of the session. When you first make a
|