brianshencc / bob-plugin-gemini-translate Goto Github PK
View Code? Open in Web Editor NEW一个让 Bob 翻译可以使用 Google Gemini 的插件,支持翻译 润色 对话三种模式,对比GPT的优势在于目前免费使用,仅需自行申请API_KEY,且响应速度也略快,但是准确性弱于GPT,使用时需要自备梯子
一个让 Bob 翻译可以使用 Google Gemini 的插件,支持翻译 润色 对话三种模式,对比GPT的优势在于目前免费使用,仅需自行申请API_KEY,且响应速度也略快,但是准确性弱于GPT,使用时需要自备梯子
您好,相对其他插件而言,gemini插件生成结果的速度有点慢
社区版本没有stream流的api.....
自定义域名保持默认为空时,插件会一直为loading状态,只有填了自定义域名才正常
更新到[v0.0.11]后无法使用一直在加载中……[v0.0.10]也没法用。
[v0.0.9]还能正常使用
Gemini 1.5 Flash
Gemini 1.5 Pro
Gemini 1.0 Pro
比如下面这段内容:Much the same thing happens when you take a person and put him in a job which he does not like. He gets irritable in his groove. His duties soon become a monotonous routine that slowly dulls his senses. As I walk into offices, through factories and stores, I often find myself looking into the expressionless faces of people going through mechanical motions. They are people whose minds are stunned and slowly dying.
调用插件时提示:“接口响应错误 - 请求过于频繁,请慢一点。Gemini 对您在 API 上的请求实施速率限制。这些限制适用于每分钟 tokens 数、每分钟请求数(某些情况下是每天请求数)。当前每分钟请求60次以下免费,访问 https://ai.google.dev/pricing 了解更多信息。”
但是使用curl命令可以正常调用API
希望支持自定义域名,让使用 https://github.com/tsui66/bard-proxy 代理的同学可以 无缝访问。
接口响应错误 - 请求过于频繁,请慢一点。Gemini 对您在 API 上的请求实施速率限制。这些限制适用于每分钟 tokens 数、每分钟请求数(某些情况下是每天请求数)。当前每分钟请求60次以下免费,访问 https://ai.google.dev/pricing 了解更多信息。
发现修改设置(添加一些prompt)后可以正常使用, 使用几天后继续报错.
突然不能用了,日志中也没有太具体的内容,还请参考如下:
[2024-03-04 10:39:00.812 ● TranslateViewController ● 356 ● I] setupBodyView() ● 点击翻译服务 icon:Gemini Translator
[2024-03-04 10:39:01.634 ● TranslateViewController ● 1318 ● ❌] translateWithView(_:translateContext:isRetry:seed:) ● <Bob.ServiceError: 0x600003bc2220>
[Type]:
unknown -> 未知错误
[Message]:
Unknown error
error:User location is not supported for the API use.
Bob 界面报错,有人遇到这个问题吗?
wrt 全局 proxy 已经切换至 US 也不行
我尝试在 bob 的服务中同时添加本插件的翻译模式和对话模式,翻译模式可以正常显示结果,但对话模式会返回:* GenerateContentRequest.contents[1].parts[0].data: required oneof field 'data' must have one initialized field或者 Bad Request.
您好,我只想要它翻译,没有定义prompt,结果它非要解释说明我需要翻译的内容,这导致生成速度特别慢,应该怎么解决?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.