chore: set the google safety setting to lowest
This commit is contained in:
parent
b6735bffe4
commit
24bf7950d8
|
@ -85,19 +85,19 @@ export class GeminiProApi implements LLMApi {
|
|||
safetySettings: [
|
||||
{
|
||||
category: "HARM_CATEGORY_HARASSMENT",
|
||||
threshold: "BLOCK_ONLY_HIGH",
|
||||
threshold: "BLOCK_NONE",
|
||||
},
|
||||
{
|
||||
category: "HARM_CATEGORY_HATE_SPEECH",
|
||||
threshold: "BLOCK_ONLY_HIGH",
|
||||
threshold: "BLOCK_NONE",
|
||||
},
|
||||
{
|
||||
category: "HARM_CATEGORY_SEXUALLY_EXPLICIT",
|
||||
threshold: "BLOCK_ONLY_HIGH",
|
||||
threshold: "BLOCK_NONE",
|
||||
},
|
||||
{
|
||||
category: "HARM_CATEGORY_DANGEROUS_CONTENT",
|
||||
threshold: "BLOCK_ONLY_HIGH",
|
||||
threshold: "BLOCK_NONE",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue