Spaces:
Sleeping
Sleeping
Update readme.md
Browse files
readme.md
CHANGED
@@ -1,69 +1,92 @@
|
|
1 |
-
#
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
- On
|
26 |
-
```bash
|
27 |
-
|
28 |
-
```
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# AI Tax Agent App
|
2 |
+
|
3 |
+
# DOGE Grok AI
|
4 |
+
|
5 |
+
[![Live Demo](https://img.shields.io/badge/Live-Demo-brightgreen)](https://huggingface.co/spaces/Athsara/DOGE-grok-ai-dev)
|
6 |
+
|
7 |
+
## Introduction
|
8 |
+
|
9 |
+
---
|
10 |
+
|
11 |
+
An AI-driven chatbot to assist citizens with tax inquiries, provide accurate information from a knowledge base, and facilitate appointment bookings for audits and inquiries efficiently.
|
12 |
+
|
13 |
+
## How to Run the Program Locally
|
14 |
+
|
15 |
+
To set up and run the program, follow these steps:
|
16 |
+
|
17 |
+
1. Create a virtual environment:
|
18 |
+
|
19 |
+
```bash
|
20 |
+
python -m venv venv
|
21 |
+
```
|
22 |
+
|
23 |
+
2. Activate the virtual environment:
|
24 |
+
|
25 |
+
- On Windows:
|
26 |
+
```bash
|
27 |
+
venv\Scripts\activate
|
28 |
+
```
|
29 |
+
- On macOS/Linux:
|
30 |
+
```bash
|
31 |
+
source venv/bin/activate
|
32 |
+
```
|
33 |
+
|
34 |
+
3. Install the required dependencies
|
35 |
+
```bash
|
36 |
+
pip install -r requirements.txt
|
37 |
+
```
|
38 |
+
4. Obtain an API key from GrokAI and add it to the `.env` file in the project directory.
|
39 |
+
|
40 |
+
```commandline
|
41 |
+
GROK_API_KEY=your_secrit_api_key
|
42 |
+
```
|
43 |
+
|
44 |
+
5. Run the application:
|
45 |
+
```bash
|
46 |
+
streamlit run app.py
|
47 |
+
```
|
48 |
+
|
49 |
+
Once completed, the app will open in your default web browser. If it doesn't, check the terminal for the link (usually `http://localhost:8501`).
|
50 |
+
|
51 |
+
## Technologies Used
|
52 |
+
|
53 |
+
![Grok AI](https://img.shields.io/badge/Grok_AI-563D7C?style=for-the-badge&logo=GrokAI&logoColor=white)
|
54 |
+
![Streamlit](https://img.shields.io/badge/Streamlit-FF4B4B?style=for-the-badge&logo=streamlit&logoColor=white)
|
55 |
+
![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)
|
56 |
+
![LangChain](https://img.shields.io/badge/LangChain-000000?style=for-the-badge&logo=langchain&logoColor=white)
|
57 |
+
![HuggingFace](https://img.shields.io/badge/HuggingFace-F9DC3E?style=for-the-badge&logo=huggingface&logoColor=black)
|
58 |
+
![FAISS](https://img.shields.io/badge/FAISS-2E3440?style=for-the-badge)
|
59 |
+
![Dotenv](https://img.shields.io/badge/Dotenv-007ACC?style=for-the-badge&logo=dotenv&logoColor=white)
|
60 |
+
![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white)
|
61 |
+
![CSS3](https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white)
|
62 |
+
![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black)
|
63 |
+
![NLP](https://img.shields.io/badge/NLP-FF5722?style=for-the-badge)
|
64 |
+
![AI Chatbot](https://img.shields.io/badge/AI_Chatbot-4CAF50?style=for-the-badge)
|
65 |
+
|
66 |
+
**Note:** Some technologies like Grok AI and LangChain might not have official logos available on Shields.io. In such cases, you can create custom badges or use alternative visual representations.
|
67 |
+
|
68 |
+
### Detailed List with Descriptions
|
69 |
+
|
70 |
+
```markdown
|
71 |
+
## Technologies Used
|
72 |
+
|
73 |
+
- **Grok AI**: API used for interfacing with the GrokAI language model, facilitating the generation of conversational responses and enhancing the chatbot's ability to understand and process user queries effectively.
|
74 |
+
- **Streamlit**: Framework used for building the interactive web application interface.
|
75 |
+
- **Python**: The primary programming language utilized for development.
|
76 |
+
- **LangChain**: Framework facilitating the integration and management of language models within the application.
|
77 |
+
- **HuggingFace**: Platform used for deploying the application online, leveraging Hugging Face’s infrastructure and services.
|
78 |
+
- **FAISS**: Vector search library for efficient similarity search and indexing of embeddings.
|
79 |
+
- **Dotenv**: Manages environment variables securely, keeping sensitive information like API keys safe.
|
80 |
+
- **HTML/CSS**: Technologies used for frontend customization and styling of the web application.
|
81 |
+
- **JavaScript**: Adds interactivity and dynamic behavior to the frontend components.
|
82 |
+
- **Conversational AI**: Core technology enabling the chatbot to engage in interactive dialogues based on user input.
|
83 |
+
- **Natural Language Processing (NLP)**: Field of AI focused on the interaction between computers and human language, underpinning the chatbot's functionality.
|
84 |
+
- **Vector Databases**: Manage and query vectorized data efficiently, essential for handling embeddings and similarity searches.
|
85 |
+
- **AI Chatbot**: The primary functionality of the application, enabling interactive conversations based on the content of multiple PDFs.
|
86 |
+
|
87 |
+
## License
|
88 |
+
|
89 |
+
---
|
90 |
+
|
91 |
+
The AI Tax Agent App is released under the [MIT License](https://opensource.org/licenses/MIT).
|
92 |
+
```
|