diff --git a/services/modules/document/gemini/gemini.js b/services/modules/document/gemini/gemini.js index 45a0cc6..9dcdf60 100644 --- a/services/modules/document/gemini/gemini.js +++ b/services/modules/document/gemini/gemini.js @@ -1,13 +1,13 @@ import { GoogleGenAI } from "@google/genai"; import fs from "fs"; -// Written by Mike Hughes 10/11/25 - Code from +// Mike Hughes 10/11/25 - Code inspired from // https://www.geeksforgeeks.org/javascript/javascript-program-to-read-text-file/ for reading text files in JS // and from https://ai.google.dev/gemini-api/docs/quickstart?hl=de for using Gemini API // Before using, make sure to export the Google Gemini API key as an environment variable: -// export GOOGLE_API_KEY="your_api_key_here" -// Keys can be obtained from https://aistudio.google.com/app/api-keys -// Also make sure to install the package via sudo npm install @google/genai +// export GOOGLE_API_KEY="your_api_key_here" +// Keys can be obtained from https://aistudio.google.com/app/api-keys +// Also make sure to install the package via sudo npm install @google/genai const ai = new GoogleGenAI({}); let transcript = "";