An open API service indexing awesome lists of open source software.

https://github.com/biswadeep-roy/ai-pdf-chat

AI PDF Chat Assistant combines document analysis with Gemini AI, enabling intelligent conversations about PDF content while providing seamless general chat capabilities.
https://github.com/biswadeep-roy/ai-pdf-chat

artificial-intelligence gemini gemini-api nodejs react reactjs tyepscript

Last synced: 2 months ago
JSON representation

AI PDF Chat Assistant combines document analysis with Gemini AI, enabling intelligent conversations about PDF content while providing seamless general chat capabilities.

Awesome Lists containing this project

README

          

# AI PDF Chat Assistant 🤖

A modern web application that combines the power of Google's Gemini AI with PDF document analysis, allowing users to chat with their documents and get intelligent responses.

## ✨ Features

- 📄 PDF Document Upload & Analysis
- 💬 Interactive Chat Interface
- 🤖 AI-Powered Responses using Google's Gemini
- 🎨 Beautiful, Responsive UI with Animations
- ⚡ Built with Vite for Optimal Performance
- 🔒 Secure Environment Variable Handling

## 🚀 Getting Started

### Prerequisites

- Node.js
- npm or yarn
- Google Gemini API Key

### Installation

1. Clone the repository:
```bash
git clone
cd ai-pdf-chat
```

2. Install dependencies:
```bash
npm install
```

3. Set up environment variables:
```bash
cp .env
```

4. Add your Gemini API key to `.env`:
```
VITE_GEMINI_API_KEY=your_api_key_here
```

5. Start the development server:
```bash
npm run dev
```

## 🛠️ Built With

- [React](https://reactjs.org/) - UI Framework
- [Vite](https://vitejs.dev/) - Build Tool
- [TypeScript](https://www.typescriptlang.org/) - Type Safety
- [Tailwind CSS](https://tailwindcss.com/) - Styling
- [PDF.js](https://mozilla.github.io/pdf.js/) - PDF Processing
- [Google Gemini AI](https://ai.google.dev/) - AI Model
- The React and Vite communities for excellent tools and documentation