Skip to content
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

请问大佬,软件支持自定义openai的系统提示词吗? #42

Closed
2776108571 opened this issue Aug 19, 2024 · 4 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@2776108571
Copy link

Is your feature request related to a problem? Please describe.
大佬您好
我目前使用您的软件,感觉非常好用!
但是也遇到了一点小问题

因为我是部署本地中英文模型然后用openai的接口进行翻译
因此并没有GPT那么好的效果,需要更细致的提示词的描述
我对于自己使用的这款模型翻译提示词的撰写颇有心得
所以想问问大佬

Describe the solution you'd like
软件是否支持自定义提示词和参数

Describe alternatives you've considered
或者在哪个文件可以修改系统提示词参数

Additional context
感谢大佬开源软件,希望能得到您的回复!

@anonymousException
Copy link
Owner

暂时不支持自定义,等我后面的版本支持下

@2776108571
Copy link
Author

好的,感谢大佬

@anonymousException
Copy link
Owner

anonymousException commented Aug 23, 2024

已在最新版本支持,注意要保留 3 个参数 :
源语言 #SOURCE_LANGUAGE_ID!@$^#
目标语言 #TARGET_LANGAUGE_ID!@$^#
待翻译数据 #JSON_DATA_WAITING_FOR_TRANSLATE_ID!@$^#
除此之外,输入和输出的格式要求也要保留
输入 :You are a translation API that receives dictionary-type data in JSON format and returns dictionary-type results in JSON format.
输出 :do not consider that we are chatting or greeting me and simply reply to me with the translation in the same format as the original, which is an example of the format: \nMe: {"1": "Contents of line 1", "2": "Contents of line 2", "3": "Contents of line 3"} \nYou: {"1": "Translation result for line 1", "2": "Translation result for line 2", "3": "Translation result for line 3"}"

@2776108571
Copy link
Author

感谢大佬进行更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants