From 5567ff2b1ce5ae734f36af4f91376a9d9aefa91e Mon Sep 17 00:00:00 2001 From: dyma solovei <53943884+bevzzz@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:06:23 +0200 Subject: [PATCH] fix: rearrange search.hybrid-v3.py example maxVectorDistance is a higher-level parameter and should be placed under hybrid: { maxVectorDistance: 3 } Source: https://github.com/weaviate/weaviate/blob/b053ca564c0ade810dfe660743b1b8011bc8ef42/adapters/handlers/graphql/local/aggregate/hybrid_search.go#L57-L60 --- _includes/code/howto/search.hybrid-v3.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/code/howto/search.hybrid-v3.py b/_includes/code/howto/search.hybrid-v3.py index bbf5e588f..444fd2c28 100644 --- a/_includes/code/howto/search.hybrid-v3.py +++ b/_includes/code/howto/search.hybrid-v3.py @@ -907,10 +907,10 @@ def test_gqlresponse(response_in, gqlresponse_in): nearText: { concepts: [ "large animal" ] } - maxVectorDistance: 0.5 - # highlight-end } - alpha: 0.75, + maxVectorDistance: 0.5 + # highlight-end + alpha: 0.75 query: "California" } )