Skip to content

Commit c157a51

Browse files
committed
slight tweak on aggregations
1 parent ead5974 commit c157a51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python-recipes/vector-search/02_hybrid_search.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,9 @@
449449
"source": [
450450
"## 1. Linear Combination using Aggregation API\n",
451451
"\n",
452-
"The goal of this technique is to calculate a weighted sum of the BM25 score for our provided text search and the cosine distance between vectors calculated via a KNN vector query. This is possible in Redis using the [aggregations API](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/aggregations/), as of `Redis 7.4.x` (search version `2.10.5`), within a single database call.\n"
452+
"The goal of this technique is to calculate a weighted sum of the BM25 score for our provided text search and the cosine distance between vectors calculated via a KNN vector query. This is possible in Redis using the [aggregations API](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/aggregations/), as of `Redis 7.4.x` (search version `2.10.5`), within a single database call.\n",
453+
"\n",
454+
"In Redis, the aggregations api allow you the ability to group, sort, and transform your result data in the ways you might expect to be able to do with groupby and sums in other database paradigms. \n"
453455
]
454456
},
455457
{

0 commit comments

Comments
 (0)