From 7745a8137c632a8f519a50b6cdb222283e298762 Mon Sep 17 00:00:00 2001 From: Alexander Alemayhu Date: Sat, 14 Dec 2024 16:40:06 +0100 Subject: [PATCH] feat: use gemini-1.5-pro-002 to increase window context from 1M to 2M --- src/lib/parser/experimental/VertexAPI/convertPDFToHTML.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/parser/experimental/VertexAPI/convertPDFToHTML.ts b/src/lib/parser/experimental/VertexAPI/convertPDFToHTML.ts index 972b9974..78f9b28d 100644 --- a/src/lib/parser/experimental/VertexAPI/convertPDFToHTML.ts +++ b/src/lib/parser/experimental/VertexAPI/convertPDFToHTML.ts @@ -9,7 +9,7 @@ export const convertPDFToHTML = async (pdf: string): Promise => { project: 'notion-to-anki', location: 'europe-west3', }); - const model = 'gemini-1.5-flash-002'; + const model = 'gemini-1.5-pro-002'; const generativeModel = vertexAI.preview.getGenerativeModel({ model: model, generationConfig: {