mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-09-01 00:59:33 +00:00
feat: add LanceDB support for workspace semantic search
- Introduced optional LanceDB vector store for semantic search, configurable via environment variables. - Updated `.env.example` and `Cargo.toml` to include LanceDB settings. - Enhanced `DatabaseConfig` to support vector backend selection and LanceDB path configuration. - Implemented `VectorBackend` enum to manage vector store options. - Added functionality to connect to LanceDB in the database connection logic. - Updated relevant documentation to reflect new features and configuration options. This change allows users to leverage LanceDB as an alternative to pgvector/libsql for improved search capabilities.
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
DATABASE_URL=postgres://localhost/ironclaw
|
||||
DATABASE_POOL_SIZE=10
|
||||
|
||||
# Vector store for workspace memory (optional)
|
||||
# When set to "lancedb", uses LanceDB for semantic search instead of pgvector/libsql
|
||||
# VECTOR_BACKEND=pgvector # default: use database's built-in (pgvector or libsql_vector_idx)
|
||||
# VECTOR_BACKEND=lancedb
|
||||
# LANCEDB_PATH=~/.ironclaw/lancedb # path for LanceDB when VECTOR_BACKEND=lancedb
|
||||
|
||||
# LLM Provider (NEAR AI)
|
||||
# NEAR AI provides a unified interface to all models with user authentication
|
||||
# Session token is stored in ~/.ironclaw/session.json and managed automatically.
|
||||
|
||||
Reference in New Issue
Block a user