Files
oai-web/server/brain/__init__.py
2026-04-08 12:43:24 +02:00

14 lines
539 B
Python

"""
brain/ — 2nd Brain module.
Provides persistent semantic memory: capture thoughts via Telegram (or any
Aide tool), retrieve them by meaning via MCP-connected AI clients.
Architecture:
- PostgreSQL + pgvector for storage and vector similarity search
- OpenRouter text-embedding-3-small for 1536-dim embeddings
- OpenRouter gpt-4o-mini for metadata extraction (type, tags, people, actions)
- MCP server mounted on FastAPI for external AI client access
- brain_tool registered with Aide's tool registry for Jarvis access
"""