How elzai/memora works
Main Components
a) Core Components:
• Memora Core Service
• Vector Database (Qdrant)
• Graph Database (Neo4j)
• LLM Provider Services (OpenAI, Azure OpenAI, Together AI, Groq)
b) Key Modules:
• Agent Module
• Graph DB Module
• Vector DB Module
• LLM Backends Module
• Prompts Module
• Schema Module
┌─ Client Applications ─────────────────────────────────────┐
• ┬───────────────────────────────────┘
• ↓
┌─ Memora Core ────────────────────────────────────────────┐
• ┌─ Agent Layer ─┐ ┌─ Memory Management ─┐ │
• ←┼──┤ │ │
• ┘ └─────────┬───────────┘ │
• ↓ │
• ┌─ Database Abstraction Layer ─────────────────────┐ │
• ┌─ Vector DB ─┐ ┌─ Graph DB ─┐ │ │
• Module │ │ Module │ │ │
• ┘ └───────────┘ │ │
• ┘ │
• ┌─ LLM Integration Layer ──────────────────────┐ │
• ┌─ Backend ─┐ ┌─ Prompts ─┐ │ │
• Module │ │ Module │ │ │
• ┘ └───────────┘ │ │
• ┘ │
• ┘
• ↓
┌─ External Services ──────────────────────────────────────┐
• ┌─ Qdrant ─┐ ┌─ Neo4j ─┐ ┌─ LLM Providers ─┐ │
• OpenAI │ │
• Azure OpenAI │ │
• Together AI │ │
• Groq │ │
• ┘ └─────────┘ └────────────────┘ │
• ┘
Component Details
a) Memory Management:
• Memory Extraction
• Memory Storage
• Memory Search
• Memory Filtering
b) Database Interactions:
• Vector Storage (Qdrant)
• Graph Storage (Neo4j)
• Memory Search Scope
c) LLM Integration:
• Multiple Backend Support
• Prompt Management
• Extraction Schema
• Search Schema
Important Relationships to Highlight
• How the Agent Module interfaces with both Vector and Graph databases
• Memory flow from extraction to storage
• Demonstrate how search queries are processed through both databases
• Interaction between LLM backends and memory management
Additional Elements
• Version compatibility information
• Scaling capabilities
• Multi-tenancy support through organization/user/agent relationships
Technical Details
• Supported Python versions
• Database version requirements
• Supported LLM models
• Async operation support