Skip to content

Commit 0e3a6b5

Browse files
committed
Merge branch 'main' into release-rs-tba
2 parents 048f218 + ce180c1 commit 0e3a6b5

File tree

81 files changed

+2140
-1250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2140
-1250
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,10 @@ jobs:
193193
bucket_path=`echo "version/${{ github.ref_name }}" | sed 's/-build$//'`
194194
else
195195
bucket_path=staging/${{ github.ref_name }}
196-
fi \
197-
&& gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path
196+
fi
197+
198+
gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/$bucket_path
199+
gsutil -m rsync -r -c -j html -d ${{ github.workspace }}/public gs://$BUCKET/docs/$bucket_path
198200
199201
if [[ "${{ github.ref_name }}" == "latest" ]]
200202
then
@@ -203,8 +205,10 @@ jobs:
203205
product=$(awk 'BEGIN{FS=OFS="-"}{NF--; print}' <<< $versioned_build)
204206
if [[ "${product}" == "redis-data-integration" ]]; then
205207
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/${versioned_build}/integrate/${product}"
208+
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/docs/${versioned_build}/integrate/${product}"
206209
else
207210
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/${versioned_build}/operate/${product}"
211+
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/docs/${versioned_build}/operate/${product}"
208212
fi
209213
done
210214
fi
@@ -216,8 +220,10 @@ jobs:
216220
product=$(awk 'BEGIN{FS=OFS="-"}{NF--; print}' <<< $versioned_build)
217221
if [[ "${product}" == "redis-data-integration" ]]; then
218222
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/integrate/${product}"
223+
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/integrate/${product}" "gs://${BUCKET}/docs/${bucket_path}/${versioned_build}/integrate/${product}"
219224
else
220225
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/${bucket_path}/${versioned_build}/operate/${product}"
226+
gsutil -m rsync -r -c -j html -d "${{ github.workspace }}/${versioned_build}/operate/${product}" "gs://${BUCKET}/docs/${bucket_path}/${versioned_build}/operate/${product}"
221227
fi
222228
done
223229
fi

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ rdi_redis_gears_version = "1.2.6"
5555
rdi_debezium_server_version = "2.3.0.Final"
5656
rdi_db_types = "cassandra|mysql|oracle|postgresql|sqlserver"
5757
rdi_cli_latest = "latest"
58-
rdi_current_version = "1.12.2"
58+
rdi_current_version = "1.12.3"
5959

6060
[params.clientsConfig]
6161
"Python"={quickstartSlug="redis-py"}

content/commands/ts.range.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,13 @@ Next, aggregate without using `ALIGN`, defaulting to alignment 0.
343343
2) 100
344344
2) 1) (integer) 1020
345345
2) 120
346-
3) 1) (integer) 1040
347-
2) 210
348-
4) 1) (integer) 1060
346+
3) 1) (integer) 2000
347+
2) 200
348+
4) 1) (integer) 2020
349+
2) 220
350+
5) 1) (integer) 3000
349351
2) 300
350-
5) 1) (integer) 1080
352+
6) 1) (integer) 3020
351353
2) 320
352354
{{< / highlight >}}
353355

content/develop/ai/redisvl/api/_index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
linkTitle: RedisVL API
33
title: RedisVL API
4-
weight: 5
5-
hideListLinks: true
64
aliases:
75
- /integrate/redisvl/api
6+
weight: 5
7+
hideListLinks: true
88
---
99

1010

@@ -59,6 +59,3 @@ Reference documentation for the RedisVL API.
5959
* [Route](router/#route)
6060
* [Route Match](router/#route-match)
6161
* [Distance Aggregation Method](router/#distance-aggregation-method)
62-
* [Threshold Optimizers](threshold_optimizer/)
63-
* [CacheThresholdOptimizer](threshold_optimizer/#cachethresholdoptimizer)
64-
* [RouterThresholdOptimizer](threshold_optimizer/#routerthresholdoptimizer)

content/develop/ai/redisvl/api/cache.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ LLM responses.
7979

8080
```python
8181
response = await cache.acheck(
82-
prompt="What is the captial city of France?"
82+
prompt="What is the capital city of France?"
8383
)
8484
```
8585

@@ -169,7 +169,7 @@ Async stores the specified key-value pair in the cache along with metadata.
169169

170170
```python
171171
key = await cache.astore(
172-
prompt="What is the captial city of France?",
172+
prompt="What is the capital city of France?",
173173
response="Paris",
174174
metadata={"city": "Paris", "country": "France"}
175175
)
@@ -233,7 +233,7 @@ LLM responses.
233233

234234
```python
235235
response = cache.check(
236-
prompt="What is the captial city of France?"
236+
prompt="What is the capital city of France?"
237237
)
238238
```
239239

@@ -347,7 +347,7 @@ Stores the specified key-value pair in the cache along with metadata.
347347

348348
```python
349349
key = cache.store(
350-
prompt="What is the captial city of France?",
350+
prompt="What is the capital city of France?",
351351
response="Paris",
352352
metadata={"city": "Paris", "country": "France"}
353353
)
@@ -408,7 +408,7 @@ The default TTL, in seconds, for entries in the cache.
408408

409409
<a id="embeddings-cache-api"></a>
410410

411-
### `class EmbeddingsCache(name='embedcache', ttl=None, redis_client=None, redis_url='redis://localhost:6379', connection_kwargs={})`
411+
### `class EmbeddingsCache(name='embedcache', ttl=None, redis_client=None, async_redis_client=None, redis_url='redis://localhost:6379', connection_kwargs={})`
412412

413413
Bases: `BaseCache`
414414

@@ -419,9 +419,10 @@ Initialize an embeddings cache.
419419
* **Parameters:**
420420
* **name** (*str*) – The name of the cache. Defaults to “embedcache”.
421421
* **ttl** (*Optional* *[* *int* *]*) – The time-to-live for cached embeddings. Defaults to None.
422-
* **redis_client** (*Optional* *[* *Redis* *]*) – Redis client instance. Defaults to None.
422+
* **redis_client** (*Optional* *[* *SyncRedisClient* *]*) – Redis client instance. Defaults to None.
423423
* **redis_url** (*str*) – Redis URL for connection. Defaults to “redis://localhost:6379”.
424424
* **connection_kwargs** (*Dict* *[* *str* *,* *Any* *]*) – Redis connection arguments. Defaults to {}.
425+
* **async_redis_client** (*Redis* *|* *RedisCluster* *|* *None*)
425426
* **Raises:**
426427
**ValueError** – If vector dimensions are invalid
427428

content/develop/ai/redisvl/api/message_history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Remove a specific exchange from the message history.
9393

9494
#### `get_recent(top_k=5, as_text=False, raw=False, session_tag=None)`
9595

96-
Retreive the recent message history in sequential order.
96+
Retrieve the recent message history in sequential order.
9797

9898
* **Parameters:**
9999
* **top_k** (*int*) – The number of previous exchanges to return. Default is 5.

content/develop/ai/redisvl/api/query.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ Add fields to return fields.
174174
Use a different scoring function to evaluate document relevance.
175175
Default is TFIDF.
176176

177+
Since Redis 8.0 default was changed to BM25STD.
178+
177179
* **Parameters:**
178180
**scorer** (*str*) – The scoring function to use
179181
(e.g. TFIDF.DOCNORM or BM25)
@@ -488,6 +490,8 @@ Add fields to return fields.
488490
Use a different scoring function to evaluate document relevance.
489491
Default is TFIDF.
490492

493+
Since Redis 8.0 default was changed to BM25STD.
494+
491495
* **Parameters:**
492496
**scorer** (*str*) – The scoring function to use
493497
(e.g. TFIDF.DOCNORM or BM25)
@@ -934,7 +938,7 @@ A query for running a full text search, along with an optional filter expression
934938
* **text_field_name** (*str*) – The name of the document field to perform text search on.
935939
* **text_scorer** (*str* *,* *optional*) – The text scoring algorithm to use.
936940
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/)
938942
* **filter_expression** (*Union* *[* *str* *,* [*FilterExpression*]({{< relref "filter/#filterexpression" >}}) *]* *,* *optional*) – A filter to apply
939943
along with the text search. Defaults to None.
940944
* **return_fields** (*List* *[* *str* *]*) – The declared fields to return with search
@@ -1070,6 +1074,8 @@ Add fields to return fields.
10701074
Use a different scoring function to evaluate document relevance.
10711075
Default is TFIDF.
10721076

1077+
Since Redis 8.0 default was changed to BM25STD.
1078+
10731079
* **Parameters:**
10741080
**scorer** (*str*) – The scoring function to use
10751081
(e.g. TFIDF.DOCNORM or BM25)
@@ -1282,6 +1288,8 @@ Add fields to return fields.
12821288
Use a different scoring function to evaluate document relevance.
12831289
Default is TFIDF.
12841290

1291+
Since Redis 8.0 default was changed to BM25STD.
1292+
12851293
* **Parameters:**
12861294
**scorer** (*str*) – The scoring function to use
12871295
(e.g. TFIDF.DOCNORM or BM25)
@@ -1499,6 +1507,8 @@ Add fields to return fields.
14991507
Use a different scoring function to evaluate document relevance.
15001508
Default is TFIDF.
15011509

1510+
Since Redis 8.0 default was changed to BM25STD.
1511+
15021512
* **Parameters:**
15031513
**scorer** (*str*) – The scoring function to use
15041514
(e.g. TFIDF.DOCNORM or BM25)

content/develop/ai/redisvl/api/router.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Initialize the SemanticRouter.
2121
* **routes** (*List* *[*[Route](#route) *]*) – List of Route objects.
2222
* **vectorizer** (*BaseVectorizer* *,* *optional*) – The vectorizer used to embed route references. Defaults to default HFTextVectorizer.
2323
* **routing_config** ([RoutingConfig](#routingconfig) *,* *optional*) – Configuration for routing behavior. Defaults to the default RoutingConfig.
24-
* **redis_client** (*Optional* *[* *Redis* *]* *,* *optional*) – Redis client for connection. Defaults to None.
24+
* **redis_client** (*Optional* *[* *SyncRedisClient* *]* *,* *optional*) – Redis client for connection. Defaults to None.
2525
* **redis_url** (*str* *,* *optional*) – The redis url. Defaults to redis://localhost:6379.
2626
* **overwrite** (*bool* *,* *optional*) – Whether to overwrite existing index. Defaults to False.
2727
* **connection_kwargs** (*Dict* *[* *str* *,* *Any* *]*) – The connection arguments
@@ -99,7 +99,7 @@ Return SemanticRouter instance from existing index.
9999

100100
* **Parameters:**
101101
* **name** (*str*)
102-
* **redis_client** (*Redis* *|* *None*)
102+
* **redis_client** (*Redis* *|* *RedisCluster* *|* *None*)
103103
* **redis_url** (*str*)
104104
* **Return type:**
105105
[SemanticRouter](#semanticrouter)

0 commit comments

Comments
 (0)