You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 30, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 30, 2024. It is now read-only.
Very cool looking project! How about configurable databases? I am partial to LanceDB https://lancedb.github.io/lancedb/#documentation-guide for vector and if I wanted to use a different sql server? I think it would be great to have these options configurable.
@andrewluetgers FYI: the internal interfaces are quite a bit cleaner now and recently we added the following options:
Index: sqlite, postgres
Vector: chromem-go, sqlite-vec, pgvector
They're configurable via the KNOW_INDEX_DSN and KNOW_VECTOR_DSN environment variables. Documentation is not available yet, but there's some info in the PRs: #150 & #146
Activity
iwilltry42 commentedon Jun 18, 2024
Thanks for the feedback!
We currently only support the SQLite and Chromem combo because it's the only truly embedded combination of databases with no external dependencies.
Implementing new vectorstores should be fairly straightforward using the interface definition: https://github.com/gptscript-ai/knowledge/blob/main/pkg/vectorstore/vectorstores.go#L7
For LanceDB specifically I don't see any Go bindings, so that may be a bit more work.
We'd happily accept a PR :)
iwilltry42 commentedon Oct 22, 2024
@andrewluetgers FYI: the internal interfaces are quite a bit cleaner now and recently we added the following options:
They're configurable via the
KNOW_INDEX_DSNandKNOW_VECTOR_DSNenvironment variables. Documentation is not available yet, but there's some info in the PRs: #150 & #146