soulteary / amazing-openai-api

Convert different model APIs into the OpenAI API format out of the box.
https://soulteary.com/2024/01/09/amazing-openai-api-call-all-non-openai-models-according-to-the-openai-api.html
Apache License 2.0
142 stars 11 forks source link

是否可以增加参数,将gemini的安全阈值设置为BLOCK_NONE? #1

Closed CatCars closed 8 months ago

CatCars commented 9 months ago

gemini默认的审核过于严格了,完全没有必要。连电影字幕内主角吵架的文本都屏蔽。 在进行翻译工作时经常报错。 https://ai.google.dev/docs/safety_setting_gemini?hl=zh-cn#safety-filters

CatCars commented 9 months ago
"threshold": "BLOCK_NONE"
soulteary commented 8 months ago

已更新 https://github.com/soulteary/amazing-openai-api/releases/tag/v0.6.2