GithubHelp home page GithubHelp logo

anonymous096 / pdftalks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 133 KB

AI Powered PDF chat application in which you can chat with a pdf to gain information without actually reading the whole pdf instead you can ask questions and it'll answer them accurately.

Home Page: https://pdf-talks.vercel.app

TypeScript 95.87% JavaScript 0.41% CSS 3.72%

pdftalks's Introduction

AI-Powered PDF Chat Application

Welcome to the AI-Powered PDF Chat Application! This SaaS project leverages advanced AI technologies to enable users to interact with PDF documents through natural language queries, allowing them to gain information without reading the entire document. This innovative application answers questions accurately based on the content of the PDF.

Features

  • Chat with PDF: Ask questions and get accurate answers based on the PDF content.
  • User Authentication: Secure user authentication using Clerk Auth.
  • Payments: Seamless payment integration with Stripe.
  • Storage: Store and manage PDF files using AWS S3.
  • Database: Efficient data management with DrizzleORM and NeonDb.
  • AI Stack: Powerful AI capabilities with Pinecone Db, Langchain, Vercel AI SDK, and OpenAI.
  • Edge Runtime: Enhanced performance with edge computing.
  • Retrieval Augmented Generation: Advanced techniques for accurate and context-aware responses.

Tech Stack

Frontend

  • Next.js: Framework for building the application.

Backend

  • Pinecone Db: Vector database for handling embeddings.
  • Langchain: Framework for building language models.
  • Vercel AI SDK: Tools for deploying AI models.
  • OpenAI: Provider of state-of-the-art AI models.
  • Edge Runtime: Improves performance and reduces latency.

Authentication

  • Clerk Auth: Secure and seamless user authentication.

Database

  • DrizzleORM: ORM for interacting with the database.
  • NeonDb: Scalable and efficient database solution.

Payments

  • Stripe: Payment processing for subscription and transactions.

Storage

  • AWS S3: Secure and scalable storage for PDF files.

Getting Started

Prerequisites

Ensure you have the following installed:

  • Node.js
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/anonymous096/PDFTalks.git
    cd PDFTalks
    
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file and add the required environment variables for Clerk Auth, Stripe, AWS S3, Pinecone Db, Langchain, Vercel AI SDK, and OpenAI.

  4. Run the development server:

    npm run dev

Deployment

The application can be deployed on Vercel for seamless integration with Next.js. Ensure all environment variables are set up in Vercel as well.

Usage

  1. Upload PDF: Users can upload their PDF files to the platform.
  2. Ask Questions: Users can interact with the PDF through a chat interface, asking questions and receiving accurate answers.
  3. Manage Account: Users can manage their profile and subscription through the account settings.

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/YourFeature
  3. Make your changes and commit them:

    git commit -m 'Add some feature'
  4. Push to the branch

    git push origin feature/YourFeature
  5. Create a pull request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

We would like to thank the following technologies and platforms that made this project possible:

  • Next.js: A React framework for building server-side rendering and static web applications.
  • Clerk Auth: An easy-to-integrate authentication service.
  • DrizzleORM: A TypeScript ORM for SQL databases.
  • NeonDb: A scalable and efficient database solution.
  • Stripe: A payment processing platform.
  • AWS S3: A scalable object storage service.
  • Pinecone: A vector database for handling embeddings.
  • Langchain: A framework for building language models.
  • Vercel: A platform for frontend developers, providing tools for serverless functions and static site hosting.
  • OpenAI: Provider of state-of-the-art AI models.

pdftalks's People

Contributors

anonymous096 avatar

Watchers

 avatar

Forkers

digozeri

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.