Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Configurable databases? #28

Open
Open

Description

@andrewluetgers

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.

Activity

  1. iwilltry42 commented on Jun 18, 2024

    @iwilltry42
    Contributor

    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 :)

  2. iwilltry42 commented on Oct 22, 2024

    @iwilltry42
    Contributor

    @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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions