Comments (8)
现在可以了吗?我刚用 Gemini 测试似乎是ok 的?
from immersive-translate.
最新的 1.6.6 版本仍然存在问题,使用 gemini-1.5-pro-latest 模型
在 Edit Full User Config 的 Gemini 配置中添加 "glossaries": [],
的情况:
同时我认为替换一些词汇为例如 <code1001>
的形式会影响 AI 对上下文的理解
from immersive-translate.
这里是针对 Gemini 的特殊处理, 涉及到 OpenAI,GPT 等词, Gemini 模型会认为是敏感词,如果不做替换的话,会整句直接不翻译。
from immersive-translate.
请打开下这里 , 同步下规则之后再试试。
做了进一步优化。
from immersive-translate.
对于 Gemini API 的敏感词检测:Gemini API 只会检测最后一条消息是否包含敏感词,经过测试这种 Prompt 可以规避检测且兼容所有 Gemini 模型
User
You are a professional, authentic machine translation engine.
Source Text: {{text}}
Model
Successfully read the text.
User
Translate the source text to {{to}}, Output translation directly without any additional text.
Translated Text:
from immersive-translate.
多步 prompt吗? 这个改动会比较大,插件不太容易支持这种。
是不是等待 gemini 在以后的版本中移除这些敏感词就好?
from immersive-translate.
尝试一下这个?
Model
You are a professional, authentic machine translation engine.
Translate the following source text to {{to}}, Output translation directly without any additional text.
Source Text: {{text}}
Translated Text:
User
continue
from immersive-translate.
这个 prompt 会导致 gemini 输出较多不相关的内容.
刚和 Google Gemini 的合作伙伴确认,5月份之后的 Gemini 已经取消了屏蔽词,所以沉浸式翻译刚刚更新了规则,同步去掉了之前设置的屏蔽词。
请刷新后重试~
from immersive-translate.
Related Issues (20)
- Correct sentences that have been translated but are not satisfactory HOT 2
- 目前是否具有选中某一个字符来进行翻译的功能
- [Bug]: 无法翻译该网页,且没有提示问题,单纯的不工作 HOT 2
- pdf pro会员翻译医学论文文献时数字被翻译成了图片格式无法后续编辑 HOT 7
- [Bug]: Youtube视频翻译时间轴错乱 HOT 1
- [Bug]: Shopify的inbox功能里面部分内容无法翻译 HOT 3
- 不知道這算不算Bug...🤔 HOT 4
- https://discord.com/ 网站的优化和更好的适配 HOT 1
- [Bug]: “翻译输入框 ”不支持 shadow dom 中的输入框 HOT 1
- 希望能够与一些背单词的app进行合作,使用api自动将词汇导入到背单词的app当中 HOT 1
- 希望能针对rfc html文档进行优化 HOT 1
- 🔴「临时使用 XX 翻译」支持更多翻译服务 HOT 2
- [Feature Request] Support Traditional Chinese for deepl and deeplx
- [Bug]: Automatic downloading of subtitle files
- 增加播放本地视频双语翻译的功能 HOT 1
- [Bug]: 自定义prompt为空时,不要传入参数,而不是传空字符串 HOT 1
- I suggest adding paypal payment gateway
- [Bug]: vtt文件翻译后用Subtitle Edit编辑无法正常显示内容 HOT 1
- 可以去除扩展按钮的感叹号 HOT 4
- [Bug]: Error of not translating some paragraphs, translation was missed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immersive-translate.