Update routes/googleGemini.js
Browse files- routes/googleGemini.js +3 -1
routes/googleGemini.js
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
import { GoogleGenerativeAI } from "@google/generative-ai";
|
2 |
-
|
3 |
import * as config from './config.js';
|
4 |
|
|
|
|
|
5 |
const genAI = new GoogleGenerativeAI(config.GoogleAPIKey);
|
6 |
|
7 |
/**
|
|
|
1 |
import { GoogleGenerativeAI } from "@google/generative-ai";
|
2 |
+
import express = from 'express';
|
3 |
import * as config from './config.js';
|
4 |
|
5 |
+
const GeminiRoutes = express.Router();
|
6 |
+
|
7 |
const genAI = new GoogleGenerativeAI(config.GoogleAPIKey);
|
8 |
|
9 |
/**
|