mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 16:58:05 +01:00
Core differentiator: professionals learn about users over time. - Add user_context table with vector embeddings (migration 011) - Add get_relevant_context() SQL function for semantic search - Create lib/context/ module: - store.ts: save and retrieve user context entries - extractor.ts: LLM-based fact extraction from conversations - domain-detector.ts: keyword-based domain classification - Integrate into professional-chat route: - Retrieve relevant user context and inject into system prompt - Async extraction of facts after each conversation turn Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>