Spaces:
Sleeping
Sleeping
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
- The Indian Penal Code
- Transfer of Property Act 1882
- Indian Stamp Act
- The Land Acquisition Act
- The Registration Act, 1908
- The Muslim Marriages Registration Act, 1981
- The Indian Evidence Act, 1872
- Companies Act 2013
- Indian Evidence Act 1872
- Indian Penal Code 1860
- Code of Criminal Procedure
- Information Technology Act 2000
- Code of Civil Procedure 1908
- The Indian Christian Marriage Act 1872
- Negotiable Instruments Act 1881
- The Indian Partnership Act, 1932
- Special Marriage Act 1954