Skip to content

Enable User Input in LangChain AWS Bedrock Agent #230

@cardutr

Description

@cardutr

Hello! I am creating and agent on AWS BedRock using LangChain and would like to enable User Input [figure] on the code. I checked the documentation and I couldn't find any information about how to enable user interaction for this scenario. It seems like this functionality may not currently be supported and could require development.

This is the code:
from langchain_aws.agents import BedrockAgentsRunnable
agent = BedrockAgentsRunnable.create_agent(
            agent_name="risk_agent",
            agent_resource_role_arn=agent_resource_role_arn,
            foundation_model=foundational_model,
            instruction=SYSTEM_INSTRUCTIONS,
            tools=list_tools,
            guardrail_configuration=None,
        )

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions