semantic_router.index.postgres#

Functions

clean_route_name(route_name)

Cleans and formats the route name by stripping spaces and replacing them with hyphens.

parse_vector(vector_str)

Parses a vector from a string or other representation.

Classes

MetricPgVecOperatorMap(value[, names, ...])

Enum to map the metric to PostgreSQL vector operators.

PostgresIndex([connection_string, ...])

Postgres implementation of Index.

PostgresIndexRecord(*[, id])

Model to represent a record in the Postgres index.