Giocrisrai / chatpdfgio

Is an app to upload files and chat with your files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatPDFGio: Intelligent Chatbot with PDF Processing

Python Version Documentation

Overview

ChatPDFGio is an intelligent chatbot application that leverages machine learning for natural language processing and file handling capabilities for PDFs. It consists of a FastAPI backend for processing and a Streamlit frontend for user interaction.

Architecture

  • api/: Backend API built with FastAPI
  • streamlit_app/: Frontend application built with Streamlit
  • Dockerfiles: For containerizing the application

Getting Started

Prerequisites

  • Python 3.9+
  • Docker (Optional)

Clone the Repository

git clone https://github.com/Giocrisrai/chatpdfgio.git
cd chatpdfgio

Backend Setup

  1. Navigate to api/ directory

  2. Install the dependencies:

    pip install -r requirements.txt
  3. Run the FastAPI server:

    uvicorn main:app --reload
  4. (Optional) To containerize the backend, check the README in api/ directory.

Frontend Setup

  1. Navigate to streamlit_app/ directory

  2. Install the dependencies:

    pip install -r requirements.txt
  3. Run the Streamlit app:

    streamlit run main.py
  4. (Optional) To containerize the frontend, check the README in streamlit_app/ directory.

Environmental Variables

Both the frontend and backend use environmental variables for configuration. Check the respective README files in their directories for more details.

Author

👤 Giocrisrai Godoy

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Is an app to upload files and chat with your files

License:MIT License


Languages

Language:Python 96.4%Language:Dockerfile 3.6%