-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: Add custom prompt support for knowledge base #1757
base: main
Are you sure you want to change the base?
Conversation
src/renderer/src/pages/knowledge/components/KnowledgeSettingsPopup.tsx
Outdated
Show resolved
Hide resolved
78b22ca
to
6d89190
Compare
有代码冲突需要解决 |
看了下,最近的修改增加了多知识库查询的逻辑。那么如果在知识库层面自定义 prompt 不好选择了。还是改成在会话层面定义知识库查询的 prompt 吧,你觉得怎么样? |
或者在创建智能体的时候提供一个自定义知识库提示词模板的选项也可以 |
可能需要在全局设置里面开辟一个板块专门设置知识库,提示词一次修改可以对所有知识库生效 |
可以 |
…ompt from settings.
6d89190
to
17ea1d4
Compare
好的,下个版本合并 |
我想把各种 prompt 全部集合到一个地方设置,等我加一个模块,把这个设置也放到一起 |
可以。另外我想我们要不要提供一个轻量的 prompt 管理功能。现在我日常用到很多重复的prompt都是通过剪贴板,不是很方便。 |
#1735 的修改。