-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
21 lines (19 loc) · 751 Bytes
/
constants.ts
File metadata and controls
21 lines (19 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export const SUPPORTED_FILE_TYPES = [
"image/jpeg",
"image/png",
"image/webp",
"application/pdf",
"text/plain",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document" // .docx
];
export const MODEL_CHAT = "gemini-2.5-flash";
export const MODEL_SEARCH = "gemini-2.5-flash"; // For search grounding
export const MODEL_OCR = "gemini-2.5-flash"; // Best for vision/multimodal
// Map simplified MIME types to what we might send or display
export const MIME_TYPE_LABEL_MAP: Record<string, string> = {
"image/jpeg": "Image (JPEG)",
"image/png": "Image (PNG)",
"application/pdf": "PDF Document",
"text/plain": "Text File",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "Word Document"
};