From a892ea961f432b88178c6b5960ee6d760badb5fb Mon Sep 17 00:00:00 2001 From: mithunsinghtocode Date: Tue, 2 Jan 2024 23:30:50 +0530 Subject: [PATCH] Update redis.adoc (#201) * Update redis.adoc - dependency for redis is not correct. - updated typo --- .../main/antora/modules/ROOT/pages/api/vectordbs/redis.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/redis.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/redis.adoc index a92e9ad9a..d198385e5 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/redis.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/redis.adoc @@ -68,7 +68,7 @@ export SPRING_AI_OPENAI_API_KEY='Your_OpenAI_API_Key' ---- org.springframework.ai - spring-ai-redis-store + spring-ai-redis 0.8.0-SNAPSHOT @@ -120,7 +120,7 @@ Now add the documents to your vector store: [source,java] ---- -vectorStore.add(List.of(document)); +vectorStore.add(documents); ---- And finally, retrieve documents similar to a query: