feat(core): implement full memory pipeline #11

Merged
rock merged 2 commits from feat/full-pipeline into main 2026-08-24 01:37:17 +00:00
2 Commits
Author SHA1 Message Date
Story Crater Bot 70e3f7c9a5 fix: wire all LLM clients to api.riotpiao.com gateway
Build and Push / Test (pull_request) Failing after 3s
Build and Push / Build and push image (pull_request) Skipped
- EmbeddingsClient: use /v1/embeddings from gateway (nomic-ai/nomic-embed-text-v2-moe)
- RerankClient: use /v1/rerank from gateway (BAAI/bge-reranker-base)
- ChatClient: support gateway without auth headers (future: Bearer token)
- All clients use LLM_API_BASE env var (default: https://api.riotpiao.com)
- Ready for Kubernetes deployment with proper API routing
2026-08-23 18:34:24 -07:00
Story Crater Bot 33eaf1b4f8 feat: implement full pipeline (pgvector, embeddings, ingest, query, HTTP)
- Add database schema with pgvector extension (L0/L1/L2 memories)
- Implement pgvector-backed vector store with similarity search
- Add Ollama embeddings client for 768-dim nomic embeddings
- Implement ingest worker to process records into L0/L1 memory
- Implement query worker with semantic search across memory tiers
- Rewrite HTTP server with database connection pooling
- Wire all endpoints to actual backend (ingest, query, projects, skills)
- Update main.rs to use DATABASE_URL from environment
- All code compiles, ready for Docker build and deployment
2026-08-23 18:32:24 -07:00