Skip to content

y938/NLPPDFREADER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLP PDF Reader

  1. Video Demo - how.mp4
  2. backend/fastapi - https://nlppdfreader.onrender.com/docs
  3. front/react - https://llm-pdfreader.netlify.app/

Prerequisites

Before you start, make sure you have the following:

  • An API key for the Gemini API from AI Studio. You can generate the API key by signing up for an account and accessing the Gemini API section.

Setup

Backend Setup

  1. Inside the .env file => GOOGLE_API_KEY="your api key"
  2. Install the required Python dependencies by running: pip install -r requirements.txt
  3. Run the backend server using the following command: uvicorn main:app --reload

This will start the backend server, allowing the frontend to communicate with the Gemini API.

Frontend Setup

  1. clone https://github.com/y938/front.git
  2. Navigate to the front directory: cd front
  3. Install the required npm packages by running: npm install axios react-router-dom
  4. Start the frontend server: npm start

This command will start the development server for the frontend, allowing you to access the Gemini chat interface in your browser.

Usage

Once both the backend and frontend servers are running, you can access the Gemini chat interface by navigating to http://localhost:3000 in your web browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages