Skip to main content
Configure indexing using the Hierarchical Navigable Small World (HNSW) algorithm, which is known for fast and accurate approximate nearest neighbor search. HNSW is suitable for in-memory datasets and scenarios where query speed is crucial.

Samples

Arguments

Returns

A JSON configuration object that you can use in ai.create_vectorizer.