Skip to content

Commit 0e0a084

Browse files
perf: Prompt word alignment issue(#2537)
1 parent fadbd2f commit 0e0a084

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ui/src/components/ai-chat/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<slot name="operateBefore">
6868
<span></span>
6969
</slot>
70+
7071
<el-button
7172
v-if="isUserInput"
7273
class="user-input-button mb-8"

ui/src/locales/lang/en-US/views/application.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ export default {
7373
referencesTooltip:
7474
'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.',
7575
defaultPrompt: `Known information: {data}
76-
Question: {question}
77-
Response requirements:
78-
- Please use concise and professional language to answer the user's question.
76+
Question: {question}
77+
Response requirements:
78+
- Please use concise and professional language to answer the user's question.
7979
`
8080
},
8181
historyRecord: {

0 commit comments

Comments
 (0)