remykarem / knowledge-bases-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KB

  1. Download Protobuf.

    brew install protobuf

    Protobuf is needed for gRPC with the vector database.

  2. Download libtorch v1.31.1 for macOS CPU from here. Then unzip it.

  3. Set the following env variables:

    export LIBTORCH=<path-to-unzipped-folder>
    export DYLD_FALLBACK_LIBRARY_PATH=${LIBTORCH}/lib  # for macOS

    For other platforms, see here to specify dynamic library path.

  4. Run the Qdrant container.

    docker run -d -p 6333:6333 -p 6334:6334 \
        -v $(pwd)/qdrant_storage:/qdrant/storage \
        qdrant/qdrant
  5. Run

    cargo run

About


Languages

Language:Rust 100.0%