Create a collection with custom parameters
The following example creates a collection with customm and ef_construct values inside HnswConfigDiff.
Higher parameter values improve accuracy at the cost of increased memory usage, slower index construction, and longer search times. Lower values prioritize speed and memory efficiency but can reduce recall.
Create a collection with default settings
When you omithnsw_config, VectorAI DB applies balanced default settings that work well for general-purpose vector search. Test with your data to determine if custom parameters provide improvements.