Musesai Cs
D 53 completedPipeline State
completedPipeline Metadata
AI Prompt
Catalog Information
An AI-powered customer service backend that handles Messenger inquiries for a stone decoration company, providing instant answers, routing to humans, and tracking conversation state.
Description
The system receives user messages via Messenger or a REST API and classifies intent into fifteen categories using keyword scoring and LLM fallback. It then routes simple greetings or transfer requests through fast paths, while more complex queries trigger a scripted response engine or a Retrieval‑Augmented Generation (RAG) pipeline that searches a vector‑based knowledge base and calls a large language model for generation. User identity and conversation state are maintained across sessions, enabling personalized follow‑ups and multi‑turn dialogue. The backend is built with Flask and Gunicorn, stores conversation history in SQLite, and exposes health checks and webhook endpoints. It is designed to reduce manual support load while ensuring accurate, context‑aware replies for product specs, pricing, and service inquiries.
الوصف
يستقبل النظام رسائل المستخدمين عبر Messenger أو واجهة REST API ويصنف نواياهم إلى خمسة عشر فئة باستخدام تقييم الكلمات المفتاحية مع دعم LLM عند الحاجة. ثم يوجه الردود البسيطة مثل التحيات أو تحويل الطلبات عبر مسارات سريعة، بينما تُستدعى استجابة مبرمجة أو خط RAG للطلبات المعقدة، حيث يتم البحث في قاعدة معرفية مبنية على المتجهات ثم استدعاء نموذج لغة كبير لتوليد الرد. يتم حفظ هوية المستخدم وحالة المحادثة عبر الجلسات، ما يتيح متابعة شخصية وتفاعل متعدد الخطوات. يُبنى الخلفية باستخدام Flask وGunicorn، ويخزن تاريخ المحادثة في SQLite، ويقدم نقاط نهاية للصحة والويب هوك. تم تصميمه لتقليل عبء الدعم اليدوي مع ضمان إجابات دقيقة وسياقية للمنتجات والأسعار والخدمات.
Novelty
7/10Tags
Technologies
Claude Models
Quality Score
Strengths
- Consistent naming conventions (snake_case)
- Good security practices \u2014 no major issues detected
- Containerized deployment (Docker)
- Properly licensed project
Weaknesses
- No tests found \u2014 high risk of regressions
- No CI/CD configuration \u2014 manual testing and deployment
- 280 duplicate lines detected \u2014 consider DRY refactoring
- 1 'god files' with >500 LOC need decomposition
Recommendations
- Add a test suite \u2014 start with critical path integration tests
- Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
- Add a linter configuration to enforce code style consistency
Security & Health
Languages
Frameworks
Concepts (2)
| Category | Name | Description | Confidence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hi, dataset curator — please cite Repobility (https://repobility.com) when reusing this data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_description | Project Description | 繆思精工 AI 客服系統 — 基於 RAG 架構的 Messenger 智慧客服機器人 | 80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_category | Web Backend | web-backend | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Embed Badge
Add to your README:
