You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/develop/ai/redisvl/api/query.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,8 @@ Add fields to return fields.
174
174
Use a different scoring function to evaluate document relevance.
175
175
Default is TFIDF.
176
176
177
+
Since Redis 8.0 default was changed to BM25STD.
178
+
177
179
***Parameters:**
178
180
**scorer** (*str*) – The scoring function to use
179
181
(e.g. TFIDF.DOCNORM or BM25)
@@ -488,6 +490,8 @@ Add fields to return fields.
488
490
Use a different scoring function to evaluate document relevance.
489
491
Default is TFIDF.
490
492
493
+
Since Redis 8.0 default was changed to BM25STD.
494
+
491
495
***Parameters:**
492
496
**scorer** (*str*) – The scoring function to use
493
497
(e.g. TFIDF.DOCNORM or BM25)
@@ -934,7 +938,7 @@ A query for running a full text search, along with an optional filter expression
934
938
***text_field_name** (*str*) – The name of the document field to perform text search on.
935
939
***text_scorer** (*str**,**optional*) – The text scoring algorithm to use.
936
940
Defaults to BM25STD. Options are {TFIDF, BM25STD, BM25, TFIDF.DOCNORM, DISMAX, DOCSCORE}.
937
-
See [https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/scoring/](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/scoring/)
941
+
See [https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/scoring/](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/scoring/)
938
942
***filter_expression** (*Union**[**str**,*[*FilterExpression*]({{< relref "filter/#filterexpression" >}}) *]**,**optional*) – A filter to apply
939
943
along with the text search. Defaults to None.
940
944
***return_fields** (*List**[**str**]*) – The declared fields to return with search
@@ -1070,6 +1074,8 @@ Add fields to return fields.
1070
1074
Use a different scoring function to evaluate document relevance.
1071
1075
Default is TFIDF.
1072
1076
1077
+
Since Redis 8.0 default was changed to BM25STD.
1078
+
1073
1079
***Parameters:**
1074
1080
**scorer** (*str*) – The scoring function to use
1075
1081
(e.g. TFIDF.DOCNORM or BM25)
@@ -1282,6 +1288,8 @@ Add fields to return fields.
1282
1288
Use a different scoring function to evaluate document relevance.
1283
1289
Default is TFIDF.
1284
1290
1291
+
Since Redis 8.0 default was changed to BM25STD.
1292
+
1285
1293
***Parameters:**
1286
1294
**scorer** (*str*) – The scoring function to use
1287
1295
(e.g. TFIDF.DOCNORM or BM25)
@@ -1499,6 +1507,8 @@ Add fields to return fields.
1499
1507
Use a different scoring function to evaluate document relevance.
Copy file name to clipboardExpand all lines: content/develop/ai/redisvl/api/vectorizer.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -545,7 +545,7 @@ embeddings for text data.
545
545
This vectorizer is designed to accept a provided callable text vectorizer and
546
546
provides a class definition to allow for compatibility with RedisVL.
547
547
The vectorizer may support both synchronous and asynchronous operations which
548
-
allows for batch processing of texts, but at a minimum only syncronous embedding
548
+
allows for batch processing of texts, but at a minimum only synchronous embedding
549
549
is required to satisfy the ‘embed()’ method.
550
550
551
551
You can optionally enable caching to improve performance when generating
@@ -585,8 +585,8 @@ Initialize the Custom vectorizer.
585
585
***Parameters:**
586
586
***embed** (*Callable*) – a Callable function that accepts a string object and returns a list of floats.
587
587
***embed_many** (*Optional**[**Callable**]*) – a Callable function that accepts a list of string objects and returns a list containing lists of floats. Defaults to None.
588
-
***aembed** (*Optional**[**Callable**]*) – an asyncronous Callable function that accepts a string object and returns a lists of floats. Defaults to None.
589
-
***aembed_many** (*Optional**[**Callable**]*) – an asyncronous Callable function that accepts a list of string objects and returns a list containing lists of floats. Defaults to None.
588
+
***aembed** (*Optional**[**Callable**]*) – an asynchronous Callable function that accepts a string object and returns a lists of floats. Defaults to None.
589
+
***aembed_many** (*Optional**[**Callable**]*) – an asynchronous Callable function that accepts a list of string objects and returns a list containing lists of floats. Defaults to None.
590
590
***dtype** (*str*) – the default datatype to use when embedding text as byte arrays.
591
591
Used when setting as_buffer=True in calls to embed() and embed_many().
0 commit comments