perf: Prompt word alignment issue(#2537)

This commit is contained in:
wangdan-fit2cloud 2025-03-26 15:24:19 +08:00 committed by GitHub
parent a303f24974
commit 579604bd81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -67,6 +67,7 @@
<slot name="operateBefore"> <slot name="operateBefore">
<span></span> <span></span>
</slot> </slot>
<el-button <el-button
v-if="isUserInput" v-if="isUserInput"
class="user-input-button mb-8" class="user-input-button mb-8"

View File

@ -73,9 +73,9 @@ export default {
referencesTooltip: referencesTooltip:
'By adjusting the content of the prompt, you can guide the direction of the large model chat. This prompt will be fixed at the beginning of the context. Variables used: {data} carries known information from the knowledge; {question} is the question posed by the user.', 'By adjusting the content of the prompt, you can guide the direction of the large model chat. This prompt will be fixed at the beginning of the context. Variables used: {data} carries known information from the knowledge; {question} is the question posed by the user.',
defaultPrompt: `Known information: {data} defaultPrompt: `Known information: {data}
Question: {question} Question: {question}
Response requirements: Response requirements:
- Please use concise and professional language to answer the user's question. - Please use concise and professional language to answer the user's question.
` `
}, },
historyRecord: { historyRecord: {