Skip to content

behoss/gemini-rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini File Search RAG Demo

A simple demo that shows how to use Google's Gemini API to ask questions about your documents (PDFs, text files, etc).

Quick Start

Prerequisites

Setup

  1. Create .env.local file in the root directory:
GEMINI_API_KEY=your-api-key-here

Run the App

Backend API:

uv run api/main.py

API runs at http://localhost:8000

Frontend:

cd frontend
npm install
npm run dev

Frontend runs at http://localhost:5173

Quick Demo (CLI)

uv run demo.py

Latency Testing

uv run latency_test.py

Important Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •