Andrew Powell
08/26/2025, 4:54 PMdistance_threshold
with the automatic embeddings in a hybrid search?Fanis Tharropoulos
08/27/2025, 8:06 AMdistance_threshold
parameter in vector_query
to pick an appropriate threshold that works for your use case.
Some docsAndrew Powell
08/27/2025, 12:20 PMFanis Tharropoulos
08/27/2025, 12:21 PMAndrew Powell
08/27/2025, 12:23 PMFanis Tharropoulos
08/27/2025, 12:25 PMlet search_parameters = {
'q' : 'chair',
'query_by' : 'embedding,product_name',
'vector_query' : 'embedding:([], distance_threshold:0.30)'
}
client.collections('products').documents().search(search_parameters)
The example showcased in the docs passes no embeddings to the search query. It also queries by the embedding field, which is only available on automatic embedding generationAndrew Powell
08/27/2025, 12:27 PMAndrew Powell
08/27/2025, 12:27 PMFanis Tharropoulos
08/27/2025, 12:34 PMAndrew Powell
08/27/2025, 12:35 PM