Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3588

Hybrid Search near_text distance filtering

$
0
0

Hi,

it is not yet part of the docs, but there is a new parameter to filter all results based on the vector distance - so any result that has a distance higher than the max vector distance is filtered out:

    objs_hy_cutoff = collection.query.hybrid(
        query,
        max_vector_distance=max_vector_distance,
        return_metadata=wvc.query.MetadataQuery.full(),
    ).objects

not totally sure why the distance is not working for the NT search, but I think it should not be used at all


Viewing all articles
Browse latest Browse all 3588

Trending Articles