Skip to content

zbruceli/pdf_qa

Repository files navigation

Image

Introduction

This is a simple and efficient document Q&A sample app based on Google Gemini File Search.

Run Locally

Prerequisites: Node.js

  1. Install dependencies: npm install
  2. Set the GEMINI_API_KEY in .env.local to your Gemini API key
  3. Run the app: npm run dev

Session persistency

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.

Sample screenshot

Image

About

Ask questions about camera operations using Google Gemini file search API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published