Skip to main content

Crate rig_surrealdb

Crate rig_surrealdb 

Source
Expand description

SurrealDB vector store integration for Rig.

This crate provides SurrealVectorStore, a Rig vector store backed by SurrealDB. It supports local in-memory and remote WebSocket connections through the re-exported SurrealDB engine types.

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

Structs§

CreateRecord
Mem
In-memory database
SearchResultOnlyId
SurrealSearchFilter
SurrealVectorStore
Ws
The WS scheme used to connect to ws:// endpoints
Wss
The WSS scheme used to connect to wss:// endpoints

Enums§

SurrealDistanceFunction
SurrealDB supported distances