We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我想问一下Gemini的safety settings是默认的还是调过的
No response
如果是默认的我希望能给用户一个自行调整的选项
低 (有空再看)
The text was updated successfully, but these errors were encountered:
safetySettings: [ { category: HarmCategory.HARM_CATEGORY_HATE_SPEECH, threshold: HarmBlockThreshold.BLOCK_NONE }, { category: HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT, threshold: HarmBlockThreshold.BLOCK_NONE }, { category: HarmCategory.HARM_CATEGORY_HARASSMENT, threshold: HarmBlockThreshold.BLOCK_NONE }, { category: HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT, threshold: HarmBlockThreshold.BLOCK_NONE } ]
这样的
Sorry, something went wrong.
{ "candidates": [ { "finishReason": "SAFETY", "safetyRatings": [ { "category": "HARM_CATEGORY_HATE_SPEECH", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_DANGEROUS_CONTENT", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_HARASSMENT", "probability": "NEGLIGIBLE" }, { "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "probability": "HIGH", "blocked": true } ] } ], "usageMetadata": { "promptTokenCount": 752, "candidatesTokenCount": 16, "totalTokenCount": 768 }, "modelVersion": "gemini-2.0-flash-exp" } 我被安全设置阻断了,用lobechat不会有相关问题。 或者用oneapi转发后的也不会
REF: #696 fixed
kangfenmao
No branches or pull requests
您的问题
我想问一下Gemini的safety settings是默认的还是调过的
相关背景
No response
补充信息
优先级
低 (有空再看)
The text was updated successfully, but these errors were encountered: