Back to Rig

README

rig-integrations/rig-lancedb/README.md

latest1.7 KB
Original Source
<!-- <div style="display: flex; align-items: center; justify-content: center;"> <picture> <source media="(prefers-color-scheme: dark)" srcset="../img/rig_logo_dark.svg"> <source media="(prefers-color-scheme: light)" srcset="../img/rig_logo.svg"> </picture> <span style="font-size: 48px; margin: 0 20px; font-weight: regular; font-family: Open Sans, sans-serif;"> + </span> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://companieslogo.com/img/orig/MDB_BIG.D-96d632a9.png?t=1720244492"> <source media="(prefers-color-scheme: light)" srcset="https://cdn.iconscout.com/icon/free/png-256/free-mongodb-logo-icon-download-in-svg-png-gif-file-formats--wordmark-programming-langugae-freebies-pack-logos-icons-1175140.png?f=webp&w=256"> </picture> </div> -->

Rig-Lancedb

This companion crate implements a Rig vector store based on Lancedb.

Pre-requisites

If you are using rig-lancedb locally, you must ensure you have protoc (the Protobuf Compiler) installed.

Usage

Add the companion crate to your Cargo.toml, along with the rig-core crate:

toml
[dependencies]
rig-lancedb = "0.1.0"
rig-core = "0.4.0"

You can also run cargo add rig-lancedb rig-core to add the most recent versions of the dependencies to your project.

See the /examples folder for usage examples.