llm-ai-assistant / README.md
0xdant's picture
README
7613242
metadata
title: LLM Powered AI Assistant
emoji: πŸ³οΈβ€πŸŒˆ
colorFrom: gray
colorTo: green
sdk: docker
app_port: 7860

LLM Powered AI Assistant

This project is a personal data assistant using a Large Language Model (LLM) to process and answer questions related to uploaded PDF documents.

https://huggingface.co/spaces/0xdant/llm-ai-assistant

Features

  • Upload PDF documents for analysis
  • Interactive chat interface
  • Toggle between light and dark modes

LLM-flow.png

Installation

  1. Clone the repository:

    git clone https://github.com/dtkmn/llm-ai-assistant.git
    cd llm-ai-assistant
    
  2. Install the dependencies:

    pip install -r requirements.txt
    
  3. Set up your environment variables (create a .env file):

    export HUGGINGFACEHUB_API_TOKEN=your_token_here
    
  4. Run the application:

    python src/app.py
    

Usage

  • Open your browser and go to http://localhost:5000
  • Upload a PDF document and interact with the chat interface.

Contributing

Feel free to submit issues and pull requests. Contributions are welcome!