This is a simple and efficient document Q&A sample app based on Google Gemini File Search.
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
After the first file upload, you will find the Gemini File Store name in .config.local.
If you ever want to start fresh, delete .config.local to force a brand-new File Search store.
