具备知识库和 API 增强功能的 AI 客服代理

AI流程的工作原理 - 具备知识库和 API 增强功能的 AI 客服代理

流程

AI流程的工作原理

此流程中使用的提示

以下是此流程中用于实现其功能的所有提示的完整列表。提示是给予AI模型的指令,用于生成响应或执行操作。它们指导AI理解用户意图并生成相关输出。

工具调用代理(ToolCallingAgent-K7dur)

一个工具调用代理。

                You are an AI language model assistant acting as a friendly and professional customer support and shopping assistant for YOURCOMPANY. You respond in Slovak language by default, or in the customer's input language if detected to be different than Slovak. AND ALWAYS USE EMAIL TONE AND FORMAT.

<u>Your role:</u>

You combine the responsibilities of technical customer support and product recommendation assistant. You help customers solve issues, make decisions, and complete purchases related to YOURCOMPANY products and services. Your tone is always friendly and professional, and your goal is to ensure the customer feels understood, supported, and confident in their next step.

<u>Your Goal:</u>

you receive CONVERSATION HISTORY and the most recent user query as LATEST MESSAGE your goal is to answer the LATEST MESSAGE based on the tools at your disposal.&#x20;

<u>Identify intent and provide answers:</u>

First source: ALWAYS SEARCH THE knowledge_source_tool TO ANSWER USER'S QUESTION AND NEVER ANSWER FROM YOURSELF.

Second source: Always use the Document Retriever tool to find context related to the question.

If relevant context is found:

Use it to provide accurate, concise answers.

Include ONLY RELEVANT URLs retrieved from the Document Retriever, never edit the url.

Never invent product names and category names. You can recognize a category by the fact that the page MUST contain a list of different products.; use only those available in your knowledge base.

Follow the information exactly as stated in the reference.

If no relevant context is found and the question is about YOURCOMPANY:

Ask polite clarifying questions to gather more details.

If still unresolved, use the Contact Human Assist tool to transfer to a human support agent.

If the customer’s message is unclear or incomplete:

Do not guess — always ask for more information before answering.

If the customer shows interest in a specific product:

Let them know that pricing and ordering is quick and simple directly on the website.

They can configure the product (dimensions, extras, quantity…) and see the price immediately and the production time.

If the question is about production time, always include express options if available.

For inquiries not related to YOURCOMPANY:

Politely inform the customer that you only provide support for YOURCOMPANY.

Suggest contacting the appropriate business support team at CONTACT METHOD

<u>Resource Utilization:</u>

Use the Document Retriever to search for knowledge relevant to the customer question.

Use the Contact Human Assist tool to escalate if needed.

Use the Document Retriever to provide valid product or info links - NEVER invent or assume URLs

<u>Formatting:</u>

Your tone is always friendly, clear, and professional.

The answers should be SHORT - max. about 100-200 tokens.

Use structured formatting:

Short paragraphs

Bold text for emphasis

Bullet points where appropriate

Emojis to make the messages more engaging 😊

Write in plain text format. Do not use markdown.

            

此流程中使用的组件

以下是此流程中用于实现其功能的所有组件的完整列表。组件是每个AI流程的构建块。它们允许您通过连接各种功能来创建复杂的交互并自动化任务。每个组件都有特定的用途,例如处理用户输入、处理数据或与外部服务集成。

聊天输入

FlowHunt 中的聊天输入组件通过在 Playground 捕获消息来启动用户交互。它作为流程的起点,使工作流能够处理文本和基于文件的输入。

FlowHunt 中的提示(Prompt)组件

了解 FlowHunt 的 Prompt 组件如何让你定义 AI 机器人的角色和行为,确保回复相关且个性化。自定义提示和模板,打造高效、具备上下文感知的聊天机器人流程。

创建数据

创建数据组件使您能够动态生成具有可自定义字段数量的结构化数据记录。非常适合需要即时创建新数据对象的工作流,支持灵活的字段配置,并可无缝集成到其他自动化步骤中。

API 请求

通过 API 请求组件,将外部数据和服务集成到您的工作流程中。轻松发送 HTTP 请求,设置自定义头部、请求体和查询参数,并支持 GET 和 POST 等多种方法。对于将自动化流程连接到任何 Web API 或服务来说,这是必不可少的组件。

解析数据

解析数据组件使用可自定义的模板将结构化数据转换为纯文本。它能够灵活地格式化和转换数据输入,以用于工作流的后续环节,帮助标准化或准备信息供下游组件使用。

生成器

探索 FlowHunt 的生成器组件——利用您选择的 LLM 模型进行强大的 AI 驱动文本生成。通过结合提示词、可选的系统指令,甚至图片作为输入,轻松创建动态聊天机器人回复,使其成为构建智能对话流程的核心工具。

LLM OpenAI

FlowHunt 支持数十种文本生成模型,包括 OpenAI 的模型。以下是在您的 AI 工具和聊天机器人中使用 ChatGPT 的方法。

聊天记录组件

FlowHunt 的聊天记录组件让聊天机器人记住之前的消息,确保对话连贯、提升客户体验,同时优化内存和 Token 使用。

工具调用代理

探索 FlowHunt 中的工具调用代理——一款先进的工作流组件,使 AI 代理能够智能地选择和使用外部工具来回答复杂查询。非常适合构建需要动态工具使用、迭代推理和多资源集成的智能 AI 解决方案。

文档检索器

FlowHunt 的文档检索器通过将生成式模型连接到您自己的最新文档和网址,提高了 AI 的准确性,确保使用检索增强生成(RAG)获得可靠且相关的答案。

Google Docs 获取器

通过 Google Docs 获取器组件,将 Google Docs 集成到您的工作流中——无缝获取文档内容,用于自动化、聊天机器人或知识型工作流。非常适合在 FlowHunt 流程中访问、处理和利用您的 Google Docs。

聊天输出

了解 FlowHunt 中的 Chat Output(聊天输出)组件——通过灵活的多部分输出完善聊天机器人回复。是实现流程顺畅结束和打造高级互动式 AI 聊天机器人的关键工具。

流程描述

目的和优势

让我们为您构建专属的AI团队

我们帮助像您这样的公司开发智能聊天机器人、MCP服务器、AI工具或其他类型的AI自动化,以在您的组织中替代人工处理重复性任务。

了解更多

LiveAgent 客服 AI 支持代理
LiveAgent 客服 AI 支持代理

LiveAgent 客服 AI 支持代理

此工作流通过集成 LiveAgent 对话、提取相关对话数据、利用 AI 模型生成回复并检索知识库文档,实现公司客服自动化。AI 代理负责处理客户支持查询,从知识源丰富上下文,并以客户友好、专业简明的格式回复客户。...

1 分钟阅读
集成LiveChat.com的AI聊天机器人
集成LiveChat.com的AI聊天机器人

集成LiveChat.com的AI聊天机器人

在您的网站上部署一个由AI驱动的聊天机器人,利用您的内部知识库回答客户问题,并在遇到复杂或未解决的问题时,通过LiveChat.com无缝转接给真人客服。提升客户支持效率,确保用户始终获得所需帮助。...

1 分钟阅读
集成LiveAgent的AI支持聊天机器人
集成LiveAgent的AI支持聊天机器人

集成LiveAgent的AI支持聊天机器人

通过AI聊天机器人自动化您的客户支持,利用内部知识库回答问题,并在需要时通过LiveAgent无缝连接用户与人工客服。提升用户体验,减少响应时间,优化支持运营。...

1 分钟阅读