Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]希望能增加prompts模板 #237

Open
learnin9 opened this issue Apr 24, 2024 · 2 comments
Open

[FEATURE]希望能增加prompts模板 #237

learnin9 opened this issue Apr 24, 2024 · 2 comments
Assignees

Comments

@learnin9
Copy link

learnin9 commented Apr 24, 2024

MaxKB 版本

1.0.4

请描述您的需求或者改进建议

目前感觉到prompts非常重要,导致用户需要不断进行修改进行优化,建议能增加根据一些场景进行提示词的模板选择。

请描述你建议的实现方案

譬如如下这些(这些是我从chatgpt4上拷贝过来的。)

客户支持服务
已知信息:
{customer_data}

问题:
{customer_query}

回答要求:

  • 使用清晰、礼貌的语言。
  • 提供准确、具体的解决步骤。
  • 如需进一步操作,请引导客户联系具体的支持部门。
  • 使用简洁的Markdown格式整理回答。
    教育和学习辅导
    学科内容:
    {educational_content}

教育和学习辅导

学生问题:
{student_question}

回答要求:

  • 用简单易懂的语言解释复杂概念。
  • 提供相关例子或练习题以帮助理解。
  • 引用可靠的学术资源或教材。
  • 鼓励学生提问和深入探索。
    技术支持和故障排查
    系统信息:
    {system_info}

技术支持和故障排查

用户报告的问题:
{reported_issue}

回答要求:

  • 精确描述故障排查步骤和解决方案。
  • 提供操作系统或软件的具体指令。
  • 如果问题超出AI能力范围,建议联系技术支持。
  • 使用技术专业术语,确保信息准确。

产品推荐和个性化建议

用户兴趣:
{user_preferences}

查询:
{query}

回答要求:

  • 基于用户偏好提供个性化的产品推荐。
  • 提供产品的详细信息,包括优点和可能的缺点。
  • 引导用户如何进行购买。
  • 确保推荐的中立性,避免推销。

健康咨询和生活方式建议
用户健康信息:
{health_information}

用户问题:
{health_query}

回答要求:

  • 提供基于最新医疗知识的健康建议。
  • 鼓励用户寻求专业医疗意见,不替代医生诊断。
  • 使用通俗语言解释医学术语。
  • 强调健康生活方式的重要性。

附加信息

No response

@baixin513
Copy link
Contributor

感谢反馈,理解到的需求是有个 prompts模板管理功能, 然后再应用设置提示词的时候直接选择配置好的 prompts 模板。

@learnin9
Copy link
Author

是的。这样可以创建所谓的不同智能体的概念产品。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants