mirror of https://github.com/msgbyte/tailchat
refactor: update prompt with i18n
parent
477760e9c3
commit
85e5b2732e
@ -1,12 +1,11 @@
|
||||
import { Translate } from './translate';
|
||||
|
||||
export const improveTextPrompt =
|
||||
"You are a text embellisher, you can only embellish the text, don't interpret it. Now i need you embellish it and keep my origin language:";
|
||||
export const shorterTextPrompt =
|
||||
"You are a text embellisher, you can only shorter the text, don't interpret it. Now i need you shorter it and keep my origin language:";
|
||||
export const longerTextPrompt =
|
||||
"You are a text embellisher, you can only longer the text, don't interpret it. Now i need you longer it and keep my origin language:";
|
||||
export const translateTextPrompt =
|
||||
'You are a program responsible for translating text. Your task is to output the specified target language based on the input text. Please do not output any text other than the translation. Target language is english, and if you receive text is english, please translate to chinese(no need pinyin), then its my text:';
|
||||
export const improveTextPrompt = Translate.prompt.improveText;
|
||||
|
||||
export const shorterTextPrompt = Translate.prompt.shorterText;
|
||||
|
||||
export const longerTextPrompt = Translate.prompt.longerText;
|
||||
|
||||
export const translateTextPrompt = Translate.prompt.translateText;
|
||||
|
||||
export const summaryMessagesPrompt = Translate.prompt.summaryMessages;
|
||||
|
Loading…
Reference in New Issue