使用说明
IntelliHR-基于MCP架构的RAG AI助手
一种智能人力资源助理,使用模型上下文协议(MCP)和检索增强生成(RAG)协调多个数据源,以提供准确、上下文感知的响应。
作为顶点项目构建,以展示实用的AI/ML系统设计和全栈开发。
目录:
Highlights
- Smart Orchestration - LLM intelligently routes queries to appropriate data sources
- RAG Integration - Semantic search over policy documents with zero hallucination
- Beautiful UI - Modern glassmorphism design with dark theme
- Fast Responses - Sub-2 second query processing with Groq's llama-3.3-70b
- Context-Aware - Actually reads and respects document confidentiality markers
- Real-time Analytics - Track queries, tools used, and system performance
Architecture
┌─────────────────────────────────────────────┐
│ User Interface (Streamlit) │
│ Glassmorphism UI • Dark Theme • Analytics │
└────────────────┬────────────────────────────┘
│
▼
┌─────────────────────────────────────────────┐
│ Orchestrator (Groq LLM) │
│ llama-3.3-70b-versatile │
│ • Function Calling │
│ • Tool Selection │
│ • Response Generation │
└────────────────┬────────────────────────────┘
│
┌────────┴─────────┐
│ MCP Framework │
└────────┬─────────┘
│
┌────────────┼────────────┐
│ │ │
▼ ▼ ▼
┌─────────┐ ┌──────────┐ ┌─────────┐
│Database │ │Filesystem│ │ RAG │
│ Server │ │ Server │ │ Server │
├─────────┤ ├──────────┤ ├─────────┤
│ SQLite │ │Text Files│ │ChromaDB │
│Employee │ │Announce- │ │Policies │
│Records │ │ments │ │(PDFs) │
└─────────┘ └──────────┘ └─────────┘
它是如何工作的:
- User Query → Enters question in natural language
- Orchestrator → LLM analyzes and selects appropriate tools
- MCP Servers → Execute queries on respective data sources
- Response → LLM combines results into coherent answer
Demo Screenshots
主页:
