invoke(
self,
input: Dict,
config: Optional[RunnableConfig] = None,
**kwargs| Name | Type | Description |
|---|---|---|
input* | Dict | |
config | Optional[RunnableConfig] | Default: None |
Invoke the Bedrock agent.
The LangChain Runnable input dictionary that can include: input: The input text to the agent memory_id: The memory id to use for an agent with memory enabled session_id: The session id to use. If not provided, a new session will be started end_session: Boolean indicating whether to end a session or not intermediate_steps: The intermediate steps that are used to provide RoC invocation details
The optional RunnableConfig