- 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
15 lines
455 B
Rust
15 lines
455 B
Rust
// Vector store tests now require PostgreSQL connection
|
|
// See tests with database fixtures or use integration tests
|
|
|
|
#[test]
|
|
#[ignore]
|
|
fn _vector_search_requires_database() {
|
|
// VectorStore is now backed by PostgreSQL with pgvector extension
|
|
// Tests require:
|
|
// - Running CNPG cluster
|
|
// - Database initialized with schema
|
|
// - Connection pooling setup
|
|
//
|
|
// Use integration tests with database containers for full testing
|
|
}
|