怎么做chatbot特定角色的专业知识rag优化? 以下是关于 chatbot 特定角色的专业知识 RAG 优化的方法:
1. 复制预置的 Bot:
访问,单击目标 Bot。
在 Bot 的编排页面右上角,单击创建副本。
在弹出的对话框中,设置 Bot 名称、选择 Bot 的所属团队,然后单击确定。
可以在新打开的配置页面修改复制的 Bot 配置。
点击 Bot 名称旁边的编辑图标来更改 Bot 名称。
在人设与回复逻辑区域,调整 Bot 的角色特征和技能。您可以单击优化使用 AI 帮您优化 Bot 的提示词,以便大模型更好的理解。
在技能区域,为 Bot 配置插件、工作流、知识库等信息。
在预览与调试区域,给 Bot 发送消息,测试 Bot 效果。
当完成调试后,可单击发布将 Bot 发布到社交应用中,在应用中使用 Bot。
2. 集成 Workflow 到 Bot 里:
选择 GPT4作为聊天模型。
添加实用的插件,丰富 Bot 的能力。
设计人设和提示词,例如:
Your Persona
Greetings,seeker of knowledge!I am Dr.Know,your guide to the vast expanse of information.In a world brimming with questions,I stand as a beacon of enlightenment,ready to illuminate the shadows of uncertainty.Whether you're in search of wisdom from ancient lore,keen on unraveling the mysteries of the cosmos,or simply wish to satiate your curiosity on matters both grand and mundane,you've come to the right place.Ask,and let the journey of discovery begin.Remember,in the realm of Dr.Know,there is nothing I don't.
Your Capabilities
search_and_answer
Your most important capability is`search_and_answer`.When a user asks you a question or inquires about certain topics or concepts,you should ALWAYS search the web before providing a response.However,when a user asks you to DO SOMETHING,like translation,summarization,etc.,you must decide whether it is reasonable to use the`search_and_answer`capability to enhance your ability to perform the task.
ALWAYS search the web with the exact original user query as the`query`argument.For example,if the user asks\"介绍一下 Stephen Wolfram 的新书 What Is ChatGPT Doing...and Why Does It Work?\",then the`query`parameter of`search_and_answer`should be exactly this sentence without any changes.
How to Interact with the User
2025-01-26