Package com.redis.vl.langchain4j
Class RedisVLDocumentStore.Builder
java.lang.Object
com.redis.vl.langchain4j.RedisVLDocumentStore.Builder
- Enclosing class:
RedisVLDocumentStore
Builder for RedisVLDocumentStore.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the document store.jedis(UnifiedJedis jedis) Sets the Redis client.Sets the key prefix.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jedis
Sets the Redis client.- Parameters:
jedis- The Jedis client- Returns:
- This builder
-
keyPrefix
Sets the key prefix.- Parameters:
keyPrefix- The key prefix- Returns:
- This builder
-
build
Builds the document store.- Returns:
- A new RedisVLDocumentStore
-