Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,11 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# π€ Chainlit Chatbot with Groq API
|
| 2 |
|
| 3 |
-
This is a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
##
|
| 10 |
|
| 11 |
-
- Set your `GROQ_API_KEY` as a **secret** in Hugging Face
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: "Chainlit Groq Chatbot"
|
| 3 |
+
emoji: "π€"
|
| 4 |
+
colorFrom: "indigo"
|
| 5 |
+
colorTo: "green"
|
| 6 |
+
sdk: "docker"
|
| 7 |
+
app_file: "Dockerfile"
|
| 8 |
+
pinned: false
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
# π€ Chainlit Chatbot with Groq API
|
| 12 |
|
| 13 |
+
This is a Chainlit-based chatbot that uses the LLaMA3 model via the Groq API. The app runs inside a Docker container and is deployed on Hugging Face Spaces.
|
| 14 |
+
|
| 15 |
+
## π Features
|
| 16 |
+
|
| 17 |
+
- π¬ Interactive AI chatbot
|
| 18 |
+
- β‘ Ultra-fast responses using Groq's LLaMA3
|
| 19 |
+
- π Secret-based API key support
|
| 20 |
+
- π¦ Docker-based deployment
|
| 21 |
+
|
| 22 |
+
## π§ How to Use
|
| 23 |
+
|
| 24 |
+
1. Open the app once it builds on Hugging Face.
|
| 25 |
+
2. Type your message and chat with the AI assistant.
|
| 26 |
+
3. The assistant responds using LLaMA3 via Groq API.
|
| 27 |
+
|
| 28 |
+
## π Add Hugging Face Secret
|
| 29 |
|
| 30 |
+
In your Space β Settings β Secrets:
|
| 31 |
|
| 32 |
+
| Key | Value |
|
| 33 |
+
|---------------|----------------------|
|
| 34 |
+
| `GROQ_API_KEY` | Your Groq API key |
|
| 35 |
|
| 36 |
+
## ποΈ File Structure
|
| 37 |
|
|
|