Skip to content

Commit

Permalink
feat: use gemini-1.5-pro-002 to increase window context from 1M to 2M
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Dec 14, 2024
1 parent a5da864 commit 7745a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/parser/experimental/VertexAPI/convertPDFToHTML.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const convertPDFToHTML = async (pdf: string): Promise<string> => {
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: {
Expand Down

0 comments on commit 7745a81

Please sign in to comment.