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]: 支持提示词变量 #683

Closed
iyxddw opened this issue Feb 10, 2024 · 3 comments
Closed

[Feature]: 支持提示词变量 #683

iyxddw opened this issue Feb 10, 2024 · 3 comments
Assignees
Labels
eh: 改进 enhance: 现有功能的改进 独立插件 插件问题或新增插件

Comments

@iyxddw
Copy link

iyxddw commented Feb 10, 2024

这是一个?

新功能

详细描述

在提示词中加入变量实现类似于{用户}问了{问题}的功能

@iyxddw iyxddw added the eh: 改进 enhance: 现有功能的改进 label Feb 10, 2024
@RockChinQ
Copy link
Owner

详细描述一下,提供一些案例什么的

@iyxddw
Copy link
Author

iyxddw commented Feb 20, 2024

在程序中提供一些预置变量,例如提问者的名字,群号,当前时间等等并且能在提示词中直接调用

@RockChinQ RockChinQ added the pd: 待设计 pending: 需要进一步设计的功能 label Feb 20, 2024
@RockChinQ RockChinQ self-assigned this Feb 27, 2024
@RockChinQ
Copy link
Owner

要不自己写个插件做这个吧,QChatGPT 提供了一个 PreProcess 的事件,可以看看文档,实现方式可以参考预处理插件

@RockChinQ RockChinQ added 独立插件 插件问题或新增插件 and removed pd: 待设计 pending: 需要进一步设计的功能 labels Feb 28, 2024
@RockChinQ RockChinQ closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eh: 改进 enhance: 现有功能的改进 独立插件 插件问题或新增插件
Projects
None yet
Development

No branches or pull requests

2 participants