pratikcsv commited on
Commit
bcc01a6
·
2 Parent(s): 3bc934b 7430413

Merge branch 'main' of https://github.com/bpratik01/ChatBot

Browse files
Files changed (2) hide show
  1. .github/workflows/main.yml +9 -14
  2. README.md +11 -15
.github/workflows/main.yml CHANGED
@@ -3,6 +3,8 @@ on:
3
  push:
4
  branches: [main]
5
 
 
 
6
  workflow_dispatch:
7
 
8
  jobs:
@@ -20,17 +22,10 @@ jobs:
20
  - name: Remove large file from history
21
  run: git filter-repo --path "Rag_Documents/layout-parser-paper.pdf" --invert-paths --force
22
 
23
- - name: Log in to Hugging Face Hub
24
- env:
25
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
26
- run: |
27
- pip install -U "huggingface_hub>=0.20.0"
28
- git config --global credential.helper store
29
- echo "https://bpratik:$HF_TOKEN@huggingface.co" > ~/.git-credentials
30
-
31
- - name: Push to hub
32
- env:
33
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
34
- run: |
35
- git remote add hf https://huggingface.co/spaces/bpratik/Chatbot
36
- git push --force hf main
 
3
  push:
4
  branches: [main]
5
 
6
+ # to run this workflow manually from the Actions tab
7
+
8
  workflow_dispatch:
9
 
10
  jobs:
 
22
  - name: Remove large file from history
23
  run: git filter-repo --path "Rag_Documents/layout-parser-paper.pdf" --invert-paths --force
24
 
25
+ - name: Push to Hugging Face Spaces
26
+ uses: huggingface/huggingface_hub@main
27
+ with:
28
+ target_repo: bpratik/Chatbot
29
+ token: ${{ secrets.HF_TOKEN }}
30
+ repo_type: space
31
+ space_sdk: streamlit
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,15 +1,22 @@
1
-
2
  ---
3
- title: Your Chatbot Name
4
  emoji: 🤖
5
  colorFrom: blue
6
  colorTo: purple
7
  sdk: streamlit
8
  sdk_version: 1.28.1
9
  app_file: app.py
 
10
  pinned: false
 
 
 
 
 
 
 
 
11
  ---
12
-
13
  # AI Chatbot with LangGraph and Streamlit
14
 
15
  A powerful AI chatbot application built with LangGraph, LangChain, and Streamlit that supports multiple LLM providers including Groq and OpenAI.
@@ -95,7 +102,7 @@ A powerful AI chatbot application built with LangGraph, LangChain, and Streamlit
95
  ```
96
 
97
  2. **Access the app**
98
- - Open your browser to `http://localhost:8501`
99
 
100
  3. **Configure the chatbot**
101
  - Select your preferred LLM provider (Groq or OpenAI)
@@ -192,17 +199,6 @@ OPENAI_MODEL = gpt-4o, gpt-4o-mini
192
  - **"No use case selected"**: Select a use case from the sidebar dropdown
193
  - **"Graph must have an entrypoint"**: This indicates a configuration issue - restart the app
194
 
195
- ## 🤝 Contributing
196
-
197
- 1. Fork the repository
198
- 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
199
- 3. Commit your changes (`git commit -m 'Add some amazing feature'`)
200
- 4. Push to the branch (`git push origin feature/amazing-feature`)
201
- 5. Open a Pull Request
202
-
203
- ## 📄 License
204
-
205
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
206
 
207
  ## 🚧 Future Enhancements
208
 
 
 
1
  ---
2
+ title: AI Chatbot with Memory
3
  emoji: 🤖
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: streamlit
7
  sdk_version: 1.28.1
8
  app_file: app.py
9
+ python_version: 3.9
10
  pinned: false
11
+ license: apache-2.0
12
+ short_description: An intelligent chatbot with conversation memory capabilities
13
+ tags:
14
+ - chatbot
15
+ - ai
16
+ - conversational-ai
17
+ - memory
18
+ - nlp
19
  ---
 
20
  # AI Chatbot with LangGraph and Streamlit
21
 
22
  A powerful AI chatbot application built with LangGraph, LangChain, and Streamlit that supports multiple LLM providers including Groq and OpenAI.
 
102
  ```
103
 
104
  2. **Access the app**
105
+ - Open your browser to `https://huggingface.co/spaces/bpratik/Chatbot`
106
 
107
  3. **Configure the chatbot**
108
  - Select your preferred LLM provider (Groq or OpenAI)
 
199
  - **"No use case selected"**: Select a use case from the sidebar dropdown
200
  - **"Graph must have an entrypoint"**: This indicates a configuration issue - restart the app
201
 
 
 
 
 
 
 
 
 
 
 
 
202
 
203
  ## 🚧 Future Enhancements
204