- Video Demo - how.mp4
- backend/fastapi - https://nlppdfreader.onrender.com/docs
- front/react - https://llm-pdfreader.netlify.app/
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.
- Inside the
.env
file => GOOGLE_API_KEY="your api key" - Install the required Python dependencies by running: pip install -r requirements.txt
- 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.
- clone https://github.com/y938/front.git
- Navigate to the
front
directory: cd front - Install the required npm packages by running: npm install axios react-router-dom
- 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.
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.