Replies: 1 comment
-
To use Redis as a Vector Store in Langflow, follow these steps:
Example: # Initialize the component
redis_component = RedisVectorStoreComponent(
redis_server_url="your_redis_server_url",
redis_index_name="your_index_name",
ingest_data=[Data(...)] # Your documents here
)
# Build the vector store
vector_store = redis_component.build_vector_store()
# Search for documents
results = redis_component.search_documents() Dependencies include |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Redis Vector Store component is undocumented, and I have no idea how to setup Redis and the component to store and retrieve documents.
Has anyone used the component successfully?
Beta Was this translation helpful? Give feedback.
All reactions