We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaef9b7 commit 85cb5a3Copy full SHA for 85cb5a3
2 files changed
chrome-extension/src/background/detect_negative.ts
@@ -6,7 +6,7 @@ const ai = new GoogleGenAI({
6
7
export async function detectNegative(text: string): Promise<boolean> {
8
const req = {
9
- model: 'gemini-2.0-flash',
+ model: 'gemini-3.1-flash-lite-preview',
10
contents: `「${text}」がネガティブな文かどうか判断して、ネガティブなら1を、そうでないなら0を出力してください。必ず1か0のどちらかを出力してください。`,
11
};
12
chrome-extension/src/background/popturn.ts
@@ -7,7 +7,7 @@ const ai = new GoogleGenAI({
export async function popturn(text: string): Promise<string> {
// リクエストを組み立て
contents: `「${text}」を同じくらいな文字数のポジティブな文章に変換して語尾を"ピョン"にしてください。必ず変換後の文章のみを返してください。`,
13
0 commit comments