From ebdcd5ffcd548e1cff2a61de8ed718d63958946f Mon Sep 17 00:00:00 2001 From: Kwaroran Date: Fri, 27 Dec 2024 16:16:36 +0900 Subject: [PATCH] Add new catagory --- src/ts/process/request.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ts/process/request.ts b/src/ts/process/request.ts index 900ed5e0..23f9421f 100644 --- a/src/ts/process/request.ts +++ b/src/ts/process/request.ts @@ -1594,6 +1594,10 @@ async function requestGoogleCloudVertex(arg:RequestDataArgumentExtended):Promise "category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "BLOCK_NONE" }, + { + "category": "HARM_CATEGORY_CIVIC_INTEGRITY", + "threshold": "BLOCK_NONE" + } ] let para:Parameter[] = ['temperature', 'top_p', 'top_k', 'presence_penalty', 'frequency_penalty']