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

为LLM增加划词翻译和网页全文翻译两种不同情境下的提示词 #2222

Open
kingofotaku opened this issue Feb 12, 2025 · 0 comments

Comments

@kingofotaku
Copy link

没有这个功能(改进)的时候,你遇到了什么问题?
划词翻译时,由于只需提交一次且重点集中,我可以使用较长的prompt来获得更高质量的翻译,而当进行全文翻译时,通常会分多次提交多段零碎文本(其中甚至包括大量网页元素),所以一旦使用长prompt便会导致浪费大量tokent‘s且很有可能触发api的tpm/rpm限制。

你想要如何解决你的问题?
使不同场景可以分开使用不同prompt
如果想要的解决方案无法实现,你觉得还有什么办法你是可以接受的?
除非大幅缩减网页全文翻译的提交次数

补充信息
任何你觉得对这个功能(改进)有帮助的信息,例如别的软件是怎么做的、你觉得这个功能的实用程度如何等。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant