CreateAgentActionGroup CreateAgentAlias CreateDataSource CreateFlow CreateFlowAlias CreateFlowVersion CreateKnowledgeBase CreatePrompt CreatePromptVersion DeleteAgent DeleteAgentActionGroup DeleteAgentAlias DeleteAgentVersion DeleteDataSource DeleteFlow DeleteFlowAlias DeleteFlowVersion DeleteKnowledgeBase DeleteKnowledgeBa...
If you specify a value, you must leave the description, apiSchema, and actionGroupExecutor fields empty for this action group. To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput. To allow your agent to ...
那我们稍微深入地讲一下这个 action group 或者操作里面都有哪些内容。这个就是主要包括三个关键的要素。第一就是 action group 的描述,这个描述就是说我们用自然语言去帮助这个智能体了解我们这个操作组适用哪些情况,就是告诉这个智能体好,你现在要做这个 group,要做这些事情。然后我们需要去定义这个 API 的架构。...
alias: 'Agent', }); 我们可以从上面的代码中看到,我们给Agent赋予了如下的关键属性:会话应持续多久,链接至我们的Amazon Bedrock知识库,FM类型(我们的情况为Claud V2),以及该Agent的指令。 我们接下来按照下面的方式创建我们的工作组: // 添加用于预订的操作组 new bedrock.AgentActionGroup(this, 'AgentActionGro...
Agents automatically create a prompt template from the user instructions, action group, and knowledge bases. You can use this template as a baseline to further refine the automatically generated prompt template to enhance the user experience. You can also update the user input, orchestration plan, ...
Amazon Bedrock Agent Action Group: Manages the actions performed by the agent. Agent Business Logic: The specific logic and rules that the agent follows to process user queries. Amazon Bedrock Knowledge Base: A repository containing policy documents, compliance documents, and business docu...
['parameters'];letactionResponse={'messageVersion':'1.0','response':{'actionGroup':event['actionGroup']||'','function':event['function']||'','functionResponse':{'responseBody':{'TEXT':{'body':'',}}};if(agentFunction==='scrape'){// get URL from parametersleturl=parameters.find(param...
This solution uses two AWS Lambda functions; the CustomResourceFunction creates the necessary vector index in the OpenSearch Serverless collection, while the ActionGroupFunction serves as a proxy to give the agent programatic access to the EKS Cluster. Run the lambda-build.sh script to install, pa...
2024年4月16日,亚马逊云科技官方发布Anthropic Claude系列最强模型Claude 3 Opus现已在Amazon Bedrock平台上正式可用,这一更新对于亚马逊云科技的用户和开发者们来说是个重大的好消息。因为企业云端应用可以更便捷、安全地集成Claude 3 Opus的API,将这款大模型的超强能力赋能到企业业务之中。Claude 3 Opus在处理困难的...
action_match=re.search(regex,text,re.DOTALL)ifaction_match:ifincludes_answer:raiseOutputParserException(f"{FINAL_ANSWER_AND_PARSABLE_ACTION_ERROR_MESSAGE}:{text}")action=action_match.group(1).strip()action_input=action_match.group(2)tool_input=action_input.strip("")tool_input=tool_input.strip(...