Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
701e2b33
Unverified
Commit
701e2b33
authored
Aug 24, 2023
by
takatost
Committed by
GitHub
Aug 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: remove unnecessary prompt of baichuan (#993)
parent
6ebd6e78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
baichuan_chat.json
api/core/prompt/generate_prompts/baichuan_chat.json
+1
-1
baichuan_completion.json
api/core/prompt/generate_prompts/baichuan_completion.json
+1
-1
No files found.
api/core/prompt/generate_prompts/baichuan_chat.json
View file @
701e2b33
{
{
"human_prefix"
:
"用户"
,
"human_prefix"
:
"用户"
,
"assistant_prefix"
:
"助手"
,
"assistant_prefix"
:
"助手"
,
"context_prompt"
:
"用户在与一个客观的助手对话。助手会尊重找到的材料,给出全面专业的解释,但不会过度演绎。同时回答中不会暴露引用的材料:
\n\n
```
\n
引用材料
\n
{{context}}
\n
```
\n\n
"
,
"context_prompt"
:
"用户在与一个客观的助手对话。助手会尊重找到的材料,给出全面专业的解释,但不会过度演绎。同时回答中不会暴露引用的材料:
\n\n
```
\n
{{context}}
\n
```
\n\n
"
,
"histories_prompt"
:
"用户和助手的历史对话内容如下:
\n
```
\n
{{histories}}
\n
```
\n\n
"
,
"histories_prompt"
:
"用户和助手的历史对话内容如下:
\n
```
\n
{{histories}}
\n
```
\n\n
"
,
"system_prompt_orders"
:
[
"system_prompt_orders"
:
[
"context_prompt"
,
"context_prompt"
,
...
...
api/core/prompt/generate_prompts/baichuan_completion.json
View file @
701e2b33
{
{
"context_prompt"
:
"用户在与一个客观的助手对话。助手会尊重找到的材料,给出全面专业的解释,但不会过度演绎。同时回答中不会暴露引用的材料:
\n\n
```
\n
引用材料
\n
{{context}}
\n
```
\n
"
,
"context_prompt"
:
"用户在与一个客观的助手对话。助手会尊重找到的材料,给出全面专业的解释,但不会过度演绎。同时回答中不会暴露引用的材料:
\n\n
```
\n
{{context}}
\n
```
\n
"
,
"system_prompt_orders"
:
[
"system_prompt_orders"
:
[
"context_prompt"
,
"context_prompt"
,
"pre_prompt"
"pre_prompt"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment