thabangndhlovu / ConstiChat

ConsitChat⚖️👨‍⚖️ Conversations with the Constitution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ConstiChat⚖️👨‍⚖️

ConsitChat is a gradio app that utilises the power of the ChatGPT language model fine-tuned with the Constitution of South Africa. It allows users to engage in interactive conversations with an AI-powered chatbot that has been trained on a specific domain of knowledge, in this case, the South African constitution.

Engage in interactive conversations with the AI chatbot powered by ChatGPT. Ask questions about the Constitution of South Africa and receive relevant responses. Explore various legal aspects and provisions of the South African constitution. Obtain information and clarification about specific sections, articles, or topics within the constitution.

Installation

  1. Clone the GitHub repository:
git clone https://github.com/thabangndhlovu/consitchat.git
  1. Navigate to the project directory
cd consitchat
  1. Set up a virtual environment (optional but recommended):
python3 -m venv venv
./venv/bin/activate
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Run the application:
python app.py

Open a web browser and navigate to http://127.0.0.1:7861 to access the ConsitChat interface.

Usage

Enter your message or question in the input field. Click the "Send" button or press Enter to submit your query. The chatbot will process your question and generate a response. Read the response displayed on the screen. Continue the conversation by asking further questions or providing additional context.

License

MIT License

Disclaimer

ConsitChat is an educational project and should not be used as a substitute for professional legal advice. The information provided by the chatbot is based on the content of the South African constitution but may not always be accurate or up to date. Always consult qualified legal professionals for specific legal matters.

About

ConsitChat⚖️👨‍⚖️ Conversations with the Constitution

License:MIT License


Languages

Language:Python 100.0%