- 概述
 - UiPath 生成式 AI 活动
 - Act! 365
 - ActiveCampaign
 - Adobe Acrobat Sign
 - Adobe PDF 服务
 - Amazon Bedrock
 - Amazon Connect
 - Amazon Polly
 - 亚马逊 SES
 - Amazon Transcribe
 - Anthropic Claude
 - Asana
 - AWeber
 - Azure AI 文档智能
 - Azure Maps
 - BambooHR
 - Box
 - Brevo
 - Calendly
 - Campaign Monitor
 - Cisco Webex Teams
 - Citrix ShareFile
 - 清除位
 - Confluence Cloud
 - Constant Contact
 - Coupa
 - CrewAI – 预览版
 - Customer.io
 - Database Hub - Preview
 - Databricks智能体
- 发行说明
 - 关于“Databricks 代理”活动
 - 查询服务端点
 
 - Datadog
 - 深度查找
 - Deputy
 - Discord - 预览
 - DocuSign
 - 水滴
 - Dropbox
 - Dropbox Business
 - Egnyte
 - Eventbrite
 - 汇率
 - Expensify
 - Facebook
 - Freshbooks
 - Freshdesk
 - Freshsales
 - Freshservice
 - 获取响应
 - GitHub
 - Google Maps
 - Google 语音转文本
 - Google 文本转语音
 - Google Vertex
 - Google Vision
 - GoToWebinar
 - Greenhouse
 - Hootsuite
 - HTTP Webhook
 - HubSpot CRM
 - HubSpot Marketing
 - Icertis
 - iContact
 - Insightly CRM
 - Intercom
 - Jina.ai
 - Jira
 - Keap
 - Klaviyo
 - LinkedIn
 - Mailchimp
 - Mailjet
 - MailerLite
 - Mailgun
 - Marketo
 - Microsoft Azure OpenAI
 - Microsoft Azure AI Foundry
 - Microsoft Dynamics CRM
 - Microsoft Power Automate
 - Microsoft Sentiment
 - Microsoft Teams
 - Microsoft Translator
 - Microsoft Vision
 - Miro
 - 奥克塔
 - OpenAI
 - 符合 OpenAI V1 的 LLM
 - Oracle Eloqua
 - Oracle NetSuite
 - PagerDuty
 - Paypal
 - PDFMonkey
 - Perplexity
 - Pinecone
 - Pipedrive
 - QuickBooks Online
 - Quip
 - Salesforce
 - Salesforce Marketing Cloud
 - SAP BAPI
 - SAP Cloud for Customer
 - SAP Concur
 - SAP OData
 - SendGrid
 - ServiceNow
 - Shopify
 - Slack
 - SmartRecruiters
 - Smartsheet
 - Snowflake
 - Snowflake Cortex
 - Stripe
 - Sugar Enterprise
 - Sugar Professional
 - Sugar Sell
 - Sugar Serve
 - 探戈卡
 - Todoist
 - Trello
 - Twilio
 - UiPath Apps - Preview
 - UiPath Orchestrator
 - IBM WatsonX
 - WhatsApp Business
 - WOO COMMERCE
 - 可行
 - Workday
 - Workday REST
 - X(以前称为 Twitter)
 - Xero
 - Youtube
 - Zendesk
 - Zoho Campaigns
 - Zoho Desk
 - Zoho Mail
 - 缩放
 - Zoom 信息
 

Integration Service 活动
Databricks 智能体可将您的数据与任意 AI 模型安全连接,以创建准确的特定领域的应用程序。通过 Mosaic AI 网关,可以部署使用多种不同框架的智能体,并将其分配至服务端点(Msaic AI 模型服务)。
此活动支持使用 Databricks 智能体作为 Maestro 编排的自动化流程的参与者。
.Databricks 中基于 LLM 的通用智能体、信息提取以及其他类型的智能体均可与 Databricks 智能体连接器一起使用,前提是它们是通过服务端点分配和公开的。在大多数情况下,与 Maestro 集成要求智能体以结构化 JSON 模式呈现其输出。Databricks 中的信息提取智能体就是一个很好的例子。但是,可以使用示例提示任何智能体在定义明确的简单模式中做出响应。
要在 Maestro 智能体流程中使用此活动,请按照以下步骤操作:
- 在画布中添加服务任务元素,然后打开任务的“属性”面板。
 - 将服务任务命名为
Databricks Hello World。 - 在实施部分的操作下拉列表中,选择启动并等待外部智能体。
 - 选择“Databricks 代理连接器”。
 - 选择现有连接或新建连接。有关详细信息,请参阅Databricks 代理身份验证。
 - 
                  
                  
从“活动”中,选择“查询服务端点” 。
 - 从“服务端点”中,选择先前在 Databricks 中创建的智能体。
 - 
                  在“其他选项”下的“消息内容”字段中,输入
"What can you do?"。确保在提示词中添加引号。 - 
                  
                  
将开始事件连接到服务任务,然后将服务任务连接到画布上的结束事件节点。
 - 
                  
                  
选择“调试”以运行此流程。成功运行后,查看全局变量并查找来自来源的{:} 响应: Databricks Hello World 。记下回复的结构。
例如,以下是智能体对“你可以做什么?”提示的响应:
{ "id": "bf185700-c100-41be-9d4b-6a8aee2d8444", "databricks_output": { "databricks_request_id": "bf185700-c100-41be-9d4b-6a8aee2d8444" }, "messages": [ { "role": "assistant", "id": "run--38ced1fa-f810-49c2-87fc-e831e5ffb1d0-0", "content": "I can provide information and answer questions to the best of my ability. I can also execute Python code in a stateless sandboxed environment using the provided function. If you have a specific question or task in mind, feel free to ask and I'll do my best to assist you." } ] }{ "id": "bf185700-c100-41be-9d4b-6a8aee2d8444", "databricks_output": { "databricks_request_id": "bf185700-c100-41be-9d4b-6a8aee2d8444" }, "messages": [ { "role": "assistant", "id": "run--38ced1fa-f810-49c2-87fc-e831e5ffb1d0-0", "content": "I can provide information and answer questions to the best of my ability. I can also execute Python code in a stateless sandboxed environment using the provided function. If you have a specific question or task in mind, feel free to ask and I'll do my best to assist you." } ] } 
智能体的输出必须分配给流程变量,以便影响 Maestro 流程的进度,例如,根据布尔值评估做出决策,或使用分类任务的答案。
- 
                  
                  
在设计模式下,从设计画布中选择智能体。
 - 
                  
                  
在属性面板中,选择新增并命名变量agent_reponse 。
 - 
                  
                  
对于“值” ,请选择“Databricks Hello World” > “响应” > “消息数组” > “消息内容(字符串)” 。
 
在 Maestro 中使用表达式编辑器处理智能体输出的示例:
如果提示词为:
“法国的首都是哪里?”仅在 JSON 输出的形式上提供 {"capture":"Normandy") 答案string ):
            {"capture":"Paris"}answer_in_JSON ,然后使用表达式编辑器:
            js:JSON.parse(result.response.messages[0].Content)JSON ):
            {
  "capital": "Paris"
}{
  "capital": "Paris"
}除了建立连接外,您还应在Databricks工作区和 Maestro 中测试提示词。 这可确保您获得所需的输出,这些输出最适合 Maestro 使用,分配给变量,并传递给流程中的其他参与者。
我们建议将详细提示保留在Databricks中智能体的系统提示中。 Maestro 在运行时向智能体提供的用户提示应该简明扼要。其作用主要是指示智能体执行特定任务并生成预期的一致输出所需的相关变量。
"What is the quantity on inventory of Order ID " + vars.orderId_1 + "respond only with a JSON object with the quantity in the key Order_Quantity. No explanations, only JSON""What is the quantity on inventory of Order ID " + vars.orderId_1 + "respond only with a JSON object with the quantity in the key Order_Quantity. No explanations, only JSON"智能体将回复:
{"Order_Quantity":"100"}{"Order_Quantity":"100"}JSON类型,它实际上可能是string类型。