Spaces:
Running
Running
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,31 +1,68 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 🤖
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 4.19.0
|
| 8 |
app_file: app.py
|
| 9 |
-
pinned:
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
-
#
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
- [msc-knowledge-base](https://huggingface.co/datasets/Finish-him/msc-knowledge-base) - Base de conhecimento
|
| 24 |
- [msc-qa-pairs](https://huggingface.co/datasets/Finish-him/msc-qa-pairs) - Pares Q&A para fine-tuning
|
| 25 |
-
- [msc-embeddings](https://huggingface.co/datasets/Finish-him/msc-embeddings) -
|
| 26 |
- [msc-instructions](https://huggingface.co/datasets/Finish-him/msc-instructions) - Instruções para agentes
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
|
| 31 |
-
- GitHub: https://github.com/MSC-Consultoria
|
|
|
|
| 1 |
---
|
| 2 |
+
title: MSC Marketing Assistant
|
| 3 |
emoji: 🤖
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 4.19.0
|
| 8 |
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# 🤖 MSC Marketing Assistant
|
| 14 |
|
| 15 |
+
**Assistente inteligente com RAG (Retrieval-Augmented Generation)**
|
| 16 |
|
| 17 |
+
Este chatbot utiliza busca semântica na base de conhecimento da MSC Marketing para fornecer respostas precisas e contextualizadas.
|
| 18 |
|
| 19 |
+
## Funcionalidades
|
| 20 |
|
| 21 |
+
- **Chat Inteligente:** Respostas baseadas na documentação oficial
|
| 22 |
+
- **Busca Semântica:** Encontre informações específicas na base de conhecimento
|
| 23 |
+
- **API Endpoints:** Integração com N8N e outros sistemas
|
| 24 |
+
|
| 25 |
+
## Tecnologias
|
| 26 |
+
|
| 27 |
+
- **Embeddings:** intfloat/multilingual-e5-base (768 dimensões)
|
| 28 |
+
- **Índice:** FAISS IndexFlatIP
|
| 29 |
+
- **Interface:** Gradio
|
| 30 |
+
- **Base:** 1.490 documentos indexados
|
| 31 |
+
|
| 32 |
+
## Datasets Utilizados
|
| 33 |
|
| 34 |
- [msc-knowledge-base](https://huggingface.co/datasets/Finish-him/msc-knowledge-base) - Base de conhecimento
|
| 35 |
- [msc-qa-pairs](https://huggingface.co/datasets/Finish-him/msc-qa-pairs) - Pares Q&A para fine-tuning
|
| 36 |
+
- [msc-embeddings](https://huggingface.co/datasets/Finish-him/msc-embeddings) - Embeddings e índice FAISS
|
| 37 |
- [msc-instructions](https://huggingface.co/datasets/Finish-him/msc-instructions) - Instruções para agentes
|
| 38 |
|
| 39 |
+
## API Endpoints
|
| 40 |
+
|
| 41 |
+
### Chat
|
| 42 |
+
```
|
| 43 |
+
POST /api/predict
|
| 44 |
+
Content-Type: application/json
|
| 45 |
+
|
| 46 |
+
{
|
| 47 |
+
"data": ["Sua mensagem aqui", []]
|
| 48 |
+
}
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
### Busca Semântica
|
| 52 |
+
```
|
| 53 |
+
POST /api/search
|
| 54 |
+
Content-Type: application/json
|
| 55 |
+
|
| 56 |
+
{
|
| 57 |
+
"data": ["Sua busca", 5]
|
| 58 |
+
}
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Links
|
| 62 |
+
|
| 63 |
+
- **Website:** https://mscmarketing.group
|
| 64 |
+
- **GitHub:** https://github.com/MSC-Consultoria
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
|
| 68 |
+
**MSC Marketing** | Assistente de IA com RAG | Powered by Hugging Face
|
|
|