CrabNote螃蟹笔记

开发:GPT智能客服部署

开发:GPT智能客服部署

开发:GPT智能客服部署 开发:GPT智能客服部署 https://www.bilibili.com/video/BV1F94y1778h/?spm id from=333.337.search card.all.click&vd source=c9c37a9df0798c5655ccd8a46fd4d281 【GPTs教程】如何在GPTs中配置Zapier Action,让你的ChatGPT自动连接其他应用软件 哔哩哔哩 bilibili GPTs Action可以拓展GPTs的用途,让它不再局限于提供信息或回答问题。通过Action,GPTs可以与其他软件或服务集成,执行更复杂的任务。比如可以让它把资料存到notion笔记中,或者查询天气、航班、酒店等等。Action的配置除了通过写代码之外,也可以通过无代码工具Zapier来实现让GPTs与其他6000多个应用的连接。这只视频中我将手把手教学如何在GPTs中配置Zapier Ac • 配置由trigger和action组成。以Gmail发送邮件为例 ◦ GPT聊天中,用户提及send mail(需区分大小写)就会触发动作。 ◦ Action是Zapier通过Gmail发送邮件给客服团队。 ◦ GPT会归纳整理邮件的内容。 GPT界面 邮箱后台 部署到Discord等第三方平台 测试中,效果如下 效果评估 体验网址 https://chat.openai.com/g/g n54aPMArs xreal assistant 备注 • 为了测试效果,用了XREAL公开信息素材。若冒犯,可修改。 • FAQ并没逐一校对,测试为主。 • 理论上可插入图片信息,暂时跳过。 常规问题 上下文测试 复杂问题 文章导读 You don't have permission to access this synced block. Please log in and try again. Log In https://www.bilibili.com/video/BV1F94y1778h/?spm id from=333.337.search card.all.click&vd source=c9c37a9df0798c5655ccd8a46fd4d281 【GPTs教程】如何在GPTs中配置Zapier Action,让你的ChatGPT自动连接其他应用软件 哔哩哔哩 bilibili GPTs Action可以拓展GPTs的用途,让它不再局限于提供信息或回答问题。通过Action,GPTs可以与其他软件或服务集成,执行更复杂的任务。比如可以让它把资料存到notion笔记中,或者查询天气、航班、酒店等等。Action的配置除了通过写代码之外,也可以通过无代码工具Zapier来实现让GPTs与其他6000多个应用的连接。这只视频中我将手把手教学如何在GPTs中配置Zapier Ac • 配置由trigger和action组成。以Gmail发送邮件为例 ◦ GPT聊天中,用户提及send mail(需区分大小写)就会触发动作。 ◦ Action是Zapier通过Gmail发送邮件给客服团队。 ◦ GPT会归纳整理邮件的内容。 ◦ GPT聊天中,用户提及send mail(需区分大小写)就会触发动作。 ◦ Action是Zapier通过Gmail发送邮件给客服团队。 ◦ GPT会归纳整理邮件的内容。 GPT界面 邮箱后台 GPT界面 GPT界面 邮箱后台 邮箱后台 部署到Discord等第三方平台 测试中,效果如下 效果评估 体验网址 https://chat.openai.com/g/g n54aPMArs xreal assistant 备注 • 为了测试效果,用了XREAL公开信息素材。若冒犯,可修改。 • FAQ并没逐一校对,测试为主。 • 理论上可插入图片信息,暂时跳过。 常规问题 上下文测试 复杂问题 文章导读 You don't have permission to access this synced block. Please log in and try again. Log In 作者:邬嘉文 源地址:GPT智能客服部署 GPT智能客服部署 作者:邬嘉文 源地址:GPT智能客服部署 GPT智能客服部署 GPTs介绍 1. GPTs是GPT的一种ID账号形态,类似微信公众号,用户可开发自己垂类应用。 2. 开放门槛低,基本是0代码,开发方式包括 ◦ 自然语言(prompt) ◦ 知识库(knowledge) ◦ 第三方API对接(Action) ◦ 自然语言(prompt) ◦ 知识库(knowledge) ◦ 第三方API对接(Action) 3. GPTs实现目前最强的智能客服,具有对话流畅,多观点融合,答案准确等特点,不太擅长推理计算。 实现原理 • 将FAQ上传到知识库,让GPTs具有客服应答能力。 • OpenAI is ClosedAI,没发过paper。猜测类似检索增强生成技术(RAG),将知识库(knowledge)和问题(prompt)一起做embedding,扔给LLM作答。 账号搭建 • 开通GPT4付费会员,创建GPTs。 💥【保姆级GPTs使用指南】3分钟创建自己的GPTs教程演示,新手小白一看就懂,关键设置技巧讲解及案例参考|暗夜飞行 哔哩哔哩 bilibili 💥【保姆级GPTs使用指南】3分钟创建自己的GPTs教程演示,新手小白一看就懂,关键设置技巧讲解及案例参考|暗夜飞行 哔哩哔哩 bilibili Prompt自然语言编程 • 用Prompt自然语言描述该账号的功能。XREAL assistant prompt描述如下: Role and Goal: ◦ As the XREAL Assistant, my primary role is to serve as a customer support representative for XREAL AR glasses. ◦ My expertise covers technical queries about device compatibility, connections, firmware updates, frame adjustments, and prescription lenses. ◦ As the XREAL Assistant, my primary role is to serve as a customer support representative for XREAL AR glasses. ◦ My expertise covers technical queries about device compatibility, connections, firmware updates, frame adjustments, and prescription lenses. Information Retrieval Strategy: ◦ I prioritize answering user queries based on the knowledge from the provided knowledge base (FAQs). ◦ If the knowledge base doesn't suffice, I automatically use Bing to search Reddit forums related to XREAL and Nreal for additional information, without requiring a second query from the user. ◦ In cases where neither the knowledge base nor Reddit forums provide adequate answers, I will inform the user that I currently lack sufficient information. Constraints: I refrain from providing incorrect or speculative answers. ◦ I prioritize answering user queries based on the knowledge from the provided knowledge base (FAQs). ◦ If the knowledge base doesn't suffice, I automatically use Bing to search Reddit forums related to XREAL and Nreal for additional information, without requiring a second query from the user. ◦ In cases where neither the knowledge base nor Reddit forums provide adequate answers, I will inform the user that I currently lack sufficient information. Constraints: I refrain from providing incorrect or speculative answers. Guidelines: ◦ I offer precise, step by step guidance for specific topics, ensuring accuracy and clarity. ◦ I offer precise, step by step guidance for specific topics, ensuring accuracy and clarity. Clarification: ◦ I seek specific details when queries are unclear to provide accurate assistance. ◦ I seek specific details when queries are unclear to provide accurate assistance. Personalization: ◦ I communicate in a friendly yet professional tone in Mandarin Chinese, and I guide users to additional support when needed, enhancing their support experience. ◦ I communicate in a friendly yet professional tone in Mandarin Chinese, and I guide users to additional support when needed, enhancing their support experience. Prompt特点提示: 1. 让GPT代入客服角色,根据知识库和网上信息回答。 2. 明确信息查询顺序,避免GPT虚构答案。 a. 信息查询顺序:知识库 Bing 基础语料 转人工客服 信息优先级 知识库 Bing外网搜索 基础语料 1 明确肯定 2 明确否定 3 未提及 搜到信息 4 搜不到信息 明确无信息 5 可转人工服务 b. 这里有一个“bug”:当知识库更新不及时,如iPhone因没有type c接口,无法直接连接AR眼镜,GPT在查询到第2步直接给出否定答案。但新款iPhone是有type c接口,当我们要求他们从Bing渠道搜索的时候,GPT会修正自己的答案。问题本质是,GPTs知识库更新不及时,回答出错。 c. 当我们查询一些新问题时候,例如vivo x100手机能否直连AR眼镜。但手机仍未发布,知识库没相关内容。GPT会自动切换Bing搜索。 信息搜索步骤 最终回复 a. 信息查询顺序:知识库 Bing 基础语料 转人工客服 信息优先级 知识库 Bing外网搜索 基础语料 1 明确肯定 2 明确否定 3 未提及 搜到信息 4 搜不到信息 明确无信息 5 可转人工服务 信息优先级 知识库 Bing外网搜索 基础语料 1 明确肯定 2 明确否定 3 未提及 搜到信息 4 搜不到信息 明确无信息 5 可转人工服务 信息优先级 信息优先级 知识库 知识库 Bing外网搜索 Bing外网搜索 基础语料 基础语料 1 1 明确肯定 明确肯定 2 2 明确否定 明确否定 3 3 未提及 未提及 搜到信息 搜到信息 4 4 搜不到信息 搜不到信息 明确无信息 明确无信息 5 5 可转人工服务 可转人工服务 b. 这里有一个“bug”:当知识库更新不及时,如iPhone因没有type c接口,无法直接连接AR眼镜,GPT在查询到第2步直接给出否定答案。但新款iPhone是有type c接口,当我们要求他们从Bing渠道搜索的时候,GPT会修正自己的答案。问题本质是,GPTs知识库更新不及时,回答出错。 c. 当我们查询一些新问题时候,例如vivo x100手机能否直连AR眼镜。但手机仍未发布,知识库没相关内容。GPT会自动切换Bing搜索。 信息搜索步骤 最终回复 信息搜索步骤 信息搜索步骤 最终回复 最终回复 3. 回答内容时候提供信息索引来源。 将知识库上传到Knowledge 模型决定效果下限,数据质量决定效果上限。GPTs的关键是高质量的数据。 公开信息源: 以XREAL产品为例,数据质量比较高。且个人比较了解,容易评估效果。 • XREAL wiki:https://www.reddit.com/r/Xreal/ • NREAL wiki:https://www.reddit.com/r/nreal/ • Further more:未来可拿XREAL Reddit频道高赞内容纳入到知识库 数据量边界: • GPT文本长度是按token计算,相同字符算1个token(如下)。通常,文本字数/4约等于tokens数量。 I like apple and apple pie I I like like apple apple and and apple apple pie pie Token 1 Token 2 Token 3 Token 4 Token 3 Token 5 • 32k tokens的上下文是长文本模型。尝试知识库扩充64k,还能正常使用。扩充到128k时候,GPT就容易崩了。这次实验FAQ知识库是16k tokens,100道 FAQ题目。 操作步骤: 1. 手动粘贴,排版格式是一问一答。 2. 保存为docx格式,txt和xlsx格式遇到问题。 3. 在config上传FAQs知识库,让客服有专业的产品知识。 配置Action,关联第三方 API Action是GPT agent对接第三方API方式,使用自然语言对接,0编程。 Zapier是一个第三方API hub。 • 创建Action,使用Zapier关联Gmail API,实现人工服务邮箱联系。参考教程如下: