Krish-05 commited on
Commit
a665014
Β·
verified Β·
1 Parent(s): 751c594

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -1
README.md CHANGED
@@ -4,8 +4,34 @@ emoji: πŸ“‰
4
  colorFrom: yellow
5
  colorTo: yellow
6
  sdk: docker
 
7
  pinned: false
8
  license: mit
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  colorFrom: yellow
5
  colorTo: yellow
6
  sdk: docker
7
+ app_port: 8501
8
  pinned: false
9
  license: mit
10
  ---
11
 
12
+ # πŸ€– Ollama AI Assistant
13
+
14
+ This project hosts a lightweight AI assistant powered by **Ollama**, **FastAPI**, and **Streamlit**, all bundled in a single Docker environment.
15
+
16
+ ## πŸš€ Overview
17
+
18
+ - **Ollama** – Runs and serves the LLM model.
19
+ - **FastAPI** – Handles backend API requests to interact with the model.
20
+ - **Streamlit** – Provides a user-friendly web UI.
21
+ - **Docker** – Runs everything in isolated and reproducible containers.
22
+
23
+ ---
24
+
25
+ ## 🧠 How It Works
26
+
27
+ 1. **Ollama** loads the LLM model: `krishna_choudhary/lightweight_chatbot`.
28
+ 2. **FastAPI** provides an API backend (running on internal port `7860`) for prompt-response communication.
29
+ 3. **Streamlit UI** (exposed on port `8501`) lets users enter prompts and receive responses.
30
+ 4. The UI interacts with FastAPI, which in turn queries the LLM via Ollama.
31
+
32
+ ---
33
+
34
+ ## πŸ–₯️ User Interface
35
+
36
+ By default, the **Streamlit UI** is the primary interface and launches at:
37
+