-
Download Protobuf.
brew install protobuf
Protobuf is needed for gRPC with the vector database.
-
Download libtorch v1.31.1 for macOS CPU from here. Then unzip it.
-
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.
-
Run the Qdrant container.
docker run -d -p 6333:6333 -p 6334:6334 \ -v $(pwd)/qdrant_storage:/qdrant/storage \ qdrant/qdrant
-
Run
cargo run