Invoke the specified Amazon Bedrock model to run inference using the bidirectional stream
Source:R/bedrockruntime_operations.R
bedrockruntime_invoke_model_with_bidirectional_stream.RdInvoke the specified Amazon Bedrock model to run inference using the bidirectional stream. The response is returned in a stream that remains open for 8 minutes. A single session can contain multiple prompts and responses from the model. The prompts to the model are provided as audio files and the model's responses are spoken back to the user and transcribed.
See https://www.paws-r-sdk.com/docs/bedrockruntime_invoke_model_with_bidirectional_stream/ for full documentation.
Arguments
- modelId
[required] The model ID or ARN of the model ID to use. Currently, only
amazon.nova-sonic-v1:0is supported.- body
[required] The prompt and inference parameters in the format specified in the
BidirectionalInputPayloadPartin the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to Inference parameters. For more information, see Run inference in the Bedrock User Guide.