Platform
Multi-tenant capability profiles
MySoul · v0.1
MySoul is a local-first, multi-tenant platform that turns a person's documents into an evidence-backed profile visitors can interview. Ask a question, get a grounded answer with citations — or browse the tenant directory to find who you're looking for.
Platform
Multi-tenant capability profiles
Runtime
Docker Compose — 3 containers
Retrieval
pgvector cosine similarity
Live URL
127.0.0.1:3005
How it works
Each tenant's Google Drive folder is synced, parsed, and embedded. When a visitor asks a question the retrieval pipeline finds the most relevant chunks and synthesizes a grounded answer.
Step 01
The worker container syncs markdown and PDF from Google Drive, parses content, and generates 384-dim embeddings with MiniLM-L6-v2.
Step 02
When a visitor asks a question, the chat endpoint embeds the query and runs pgvector cosine similarity search scoped to the tenant.
Step 03
The system synthesizes an evidence-grounded answer with inline citations — extractive template mode by default, or LLM mode via endpoint config.
Chat request flow
POST /api/chat/[slug] → resolve tenant by slug → embedQuery (MiniLM-L6-v2, 384-dim) → searchContent (pgvector cosine, tenant-scoped, top-5) → synthesizeAnswer (template extractive with citations, or LLM mode via LLM_ENDPOINT) → return { answer, sources }.