Intelligent Session Management
- Session persistence (SQLite storage)
- Automatic session summary and title generation
- Reference the latest 10 messages as context
Personalized Memory System
- Maintain user memory profiles
- Personalized interaction (e.g., using usernames)
Intent Classification and Routing
Identify input types (greetings/medical consultation/others) and adopt corresponding strategies
Prompt Engineering
- Role setting: Professional and friendly "MediAssist"
- Answer规范: Direct answer first, then supplementary background
- Safety constraints: Prohibit fabricating facts, honestly admit unknowns
- Concise and focused principle
Voice Interaction
Support speech-to-text and text-to-speech functions
User Authentication
Support email/password and Google OAuth login
Real-time Communication
LiveKit provides real-time audio and video capabilities
Session Management
- Cross-session memory
- Automatic session summary generation
- Intelligent title generation
Personalized Interaction
- Remember user information
- Interact using usernames
Intent Recognition
Distinguish between different input types (greetings/medical consultation, etc.)
Safety Tips
Explicitly prohibit fabricating medical facts
Context Usage
Only reference relevant retrieved content
Concise Answers
Avoid verbose explanations
Multimodal Support
Voice interaction function
Open-Source Features
Open-source and extensible code
Engineering Practices
Environment variables manage sensitive configurations
Error Handling
Comprehensive error handling and logging
Proxy Support
ProxyFix middleware
Database Design
Clear SQLite database model
Scalability
Support for multiple knowledge source integration
Multilingual Potential
Can add multilingual support
Review Mechanism
Can introduce medical content review
Configuration Optimization
Production environment requires improved configuration management
Community Collaboration
Open-source promotes technical transparency
Learning Value
Provide developers with domain AI application examples
Medical AI Exploration
Promote safe application of medical AI
Accuracy Assurance
RAG architecture reduces hallucination risk
Function Completeness
Has complete user interaction and management functions
Technology Integration
Integrate multiple AI and web technologies
Application Scenarios
Cover personal health, medical education, pre-diagnosis and triage
Social Value
Popularize health knowledge and preventive measures
Developer-Friendly
Suitable for rapid prototype development
Safety Awareness
Emphasize medical AI safety
Innovation Points
Combine RAG with medical field needs
Future Potential
Can expand more medical knowledge sources