File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
content/integrate/redisvl Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -645,18 +645,18 @@ from redisvl.index import SearchIndex
645645index = SearchIndex.from_yaml(" path/to/index.yaml" )
646646
647647query = HybridQuery(
648- text = " example text" ,
649- text_field_name = " text_field" ,
650- vector = [0.1 , 0.2 , 0.3 ],
651- vector_field_name = " vector_field" ,
652- text_scorer = " BM25STD" ,
653- filter_expression = None ,
654- alpha = 0.7 ,
655- dtype = " float32" ,
656- num_results = 10 ,
657- return_fields = [" field1" , " field2" ],
658- stopwords = " english" ,
659- dialect = 2 ,
648+ text = " example text" ,
649+ text_field_name = " text_field" ,
650+ vector = [0.1 , 0.2 , 0.3 ],
651+ vector_field_name = " vector_field" ,
652+ text_scorer = " BM25STD" ,
653+ filter_expression = None ,
654+ alpha = 0.7 ,
655+ dtype = " float32" ,
656+ num_results = 10 ,
657+ return_fields = [" field1" , " field2" ],
658+ stopwords = " english" ,
659+ dialect = 2 ,
660660)
661661
662662results = index.query(query)
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Before running this notebook, be sure to
1919! rvl version
2020```
2121
22- 16:19:10 [RedisVL] INFO RedisVL version 0.4.0
22+ 09:58:03 [RedisVL] INFO RedisVL version 0.5.2
2323
2424
2525## Commands
You can’t perform that action at this time.
0 commit comments