From 6c7bd4661a670f21eed8ccd82a8b29f0cd6ca1d3 Mon Sep 17 00:00:00 2001 From: MikeHughes-BIN Date: Tue, 11 Nov 2025 00:12:29 +0100 Subject: [PATCH] Modified the description --- services/modules/document/gemini/gemini.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 = "";