-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ts
More file actions
13 lines (11 loc) · 720 Bytes
/
config.ts
File metadata and controls
13 lines (11 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
export const BOT_NAME = 'gemini';
export const DEFAULT_CONTEXT_SIZE = 10;
export const MODEL_NAME = 'gemini-1.5-flash';
export const PRE_PROMPT = `You name is ${BOT_NAME}, you are an AI discord bot.`;
export const SAFETY_SETTINGS = [
{ category: 'HARM_CATEGORY_HARASSMENT', threshold: 'BLOCK_MEDIUM_AND_ABOVE' },
{ category: 'HARM_CATEGORY_HATE_SPEECH', threshold: 'BLOCK_MEDIUM_AND_ABOVE' },
{ category: 'HARM_CATEGORY_SEXUALLY_EXPLICIT', threshold: 'BLOCK_MEDIUM_AND_ABOVE' },
{ category: 'HARM_CATEGORY_DANGEROUS_CONTENT', threshold: 'BLOCK_MEDIUM_AND_ABOVE' },
];
export const ALLOWED_IMAGE_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp', 'image/bmp', 'image/tiff', 'image/svg+xml'];