chatbotAPI / ReadME.md
dhruv4023's picture
Synced repo using 'sync_with_huggingface' Github Action
c11f337 verified
|
raw
history blame
3.79 kB

LLM CHATHUB - chatAPI

Requirements

Python Version

Huggingface API

  • Generate your API key and place it in the .env file:
    HUGGINGFACEHUB_API_TOKEN=""
    

MongoDB Atlas Database

  • generate your Mongodb Database URL

Setup Environment

Clone Repository

  • Clone Repository
    git clone https://github.com/dhruv4023/ChatBotAppClient
    

After cloning Repository

Option 1: Automated Setup (PowerShell)

  • Run CreateEnv.ps1 file in PowerShell. It will:
    • Create a virtual environment
    • Activate it
    • Create temporary folders
    • Install necessary Python modules

Option 2: Manual Setup

  • Create a virtual environment:
    python -m venv .venv
    
  • Activate virtual environment:
    .venv\Scripts\Activate.ps1
    
  • Install Python modules:
    python -m pip install -r "requirements.txt"
    
  • Create folders:
    • Models (if you want to download manually) (Not necessary)

References

Models

Data Source Documents

Other Repository URL for whole project