From c437415f29acfc8670326ff50047fcbaaf868983 Mon Sep 17 00:00:00 2001 From: julurisaichandu Date: Sun, 9 Mar 2025 15:29:48 -0400 Subject: [PATCH] fixed the import statement for the GoogleGenerativeAI module in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 906701af6..c0f72466d 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ npm install @google/generative-ai 1. Initialize the model ```js -const { GoogleGenerativeAI } = require("@google/generative-ai"); +import { GoogleGenerativeAI } from "@google/generative-ai"; const genAI = new GoogleGenerativeAI(process.env.API_KEY);