An income tax Q&A chatbot powered by OpenAI, LangChain, and ChromaDB.
Ask questions using natural language through the Streamlit UI, and the chatbot will provide concise answers based on relevant sections from the income tax law document.
- Retrieval-Augmented Generation (RAG) based on the income tax law document (
tax_with_markdown.docx
). - Semantic retrieval of the top 4 relevant law sections based on your query.
- Answer generation powered by OpenAI's GPT-4o-mini.
- Simple web-based chat interface created with Streamlit.
git clone https://github.com/junn0s/RAG-tax-chatbot.git
cd RAG-tax-chatbot
pip install -r requirements.txt
echo "OPENAI_API_KEY=your_openai_api_key" > .env
streamlit run chat.py