Skip to main content

Crate rig_sqlite

Crate rig_sqlite 

Source
Expand description

SQLite vector store integration for Rig.

This crate provides SqliteVectorStore and SqliteVectorIndex for storing embedded documents in SQLite with the sqlite-vec extension. Define document table schemas by implementing SqliteVectorStoreTable.

The root rig facade re-exports this crate as rig::sqlite when the sqlite feature is enabled.

Structs§

Column
SqliteSearchFilter
Search filter for SQLite vector searches.
SqliteVectorIndex
SQLite vector store implementation for Rig.
SqliteVectorStore

Enums§

SqliteDistanceMetric
Distance metric used by SQLite vector searches.
SqliteError

Traits§

ColumnValue
Value that can be stored in a SQLite vector store document column.
SqliteVectorStoreTable
Example of a document type that can be used with SqliteVectorStore