Skip to content
This project is part of pgEdge Labs and is under active development. APIs and features may change without notice.

get_index_type

Get configured vector index type.

Signature

semantic_cache.get_index_type() RETURNS text

Returns

  • text: Current index type ('ivfflat' or 'hnsw')

Example

SELECT semantic_cache.get_index_type();
-- Returns: 'ivfflat'