Skip to content

Mai-wandK/chat-pdf

Repository files navigation

Chat with Your PDF

This application allows users to upload their PDF files and engage in natural language conversations with them. Using advanced AI models, users can query and interact with the content of their PDFs in a meaningful way.

Table of Contents

Features

  • Upload PDFs: Easily upload PDF files for processing.
  • AI-Powered Conversations: Chat with your PDFs using OpenAI’s GPT-4.
  • Document Splitting: PDF content is split into manageable chunks for efficient querying.
  • Embeddings and Search: Pinecone is used to create vector embeddings for efficient querying of document content.
  • Authentication: Secure user authentication with Clerk.
  • Cloud Storage: Firebase is used for storing user files and file metadata.

Technologies Used

  • OpenAI GPT-4: For generating natural language responses based on PDF content.
  • Langchain: To manage document loaders, embedding generation, and AI-driven conversation flows.
  • Firebase: For real-time database and cloud storage functionality.
  • Clerk: For authentication and user management.
  • Next.js: React framework for server-side rendering and API routes.
  • Tailwind CSS: For responsive and utility-first styling.
  • React: For building the user interface.
  • Typescript: For type-safe code development.
  • Pinecone: For storing and querying vector embeddings of the document content.

Getting Started

Prerequisites

Before setting up the project, ensure you have the following tools installed:

  • Node.js: Download here
  • npm or yarn: A package manager for handling dependencies
  • An OpenAI API key for using GPT models
  • A Firebase project set up
  • A Clerk API key for authentication
  • A Pinecone API key for managing vector embeddings

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published