Skip to main content

Module backend

Module backend 

Source
Expand description

Search-backend trait and associated types.

This module defines the uniform interface that every backend implementation must satisfy. Concrete implementations live in tinyquant-bruteforce (Phase 19) and tinyquant-pgvector (Phase 19).

§Quick start

use tinyquant_core::backend::{SearchBackend, SearchResult};

Structs§

SearchResult
A single item returned by SearchBackend::search.

Traits§

SearchBackend
The public contract every search backend must satisfy.