amazonBedrock
Connect the call to an Amazon Bedrock AI agent. Similar to
ai() but uses Amazon Bedrock as
the LLM backend.
Parameters
prompt
The prompt configuration for the Bedrock agent.
SWAIG
SWAIG configuration for tool/function definitions.
aiParams
AI parameters for the Bedrock session.
globalData
Data accessible to the AI and SWAIG functions.
postPrompt
Post-prompt configuration.
postPromptUrl
URL to receive the post-prompt result.
Returns
Promise<Record<string, unknown>> — Server response confirming the Bedrock session.