text: = "What did the president say about Ketanji Brown Jackson"results = rds.similarity_search(query)print(results[0].page_content)Redis as Retrieverâ€‹Here we go over different options for using the vector store as a retriever.There are three different search methods we can use to do retrieval. By default, it will use semantic similarity.retriever = rds.as_retriever()docs = retriever.get_relevant_documents(query)We can also use similarity_limit as a search method. This is only return documents if they are similar enoughretriever = rds.as_retriever(search_type="similarity_limit")# Here we can see it doesn't return any results because there are no relevant documentsretriever.get_relevant_documents("where did ankush go to college?")Delete keysTo delete your entries you have to address them by their keys.Redis.delete(keys, redis_url="redis://localhost:6379")Redis connection Url examplesâ€‹Valid Redis Url scheme are:redis://  - Connection to Redis standalone, unencryptedrediss:// - Connection to Redis standalone, with TLS encryptionredis+sentinel://  - Connection to Redis server via Redis Sentinel, unencryptedrediss+sentinel:// - Connection to Redis server via Redis Sentinel, booth connections with TLS encryptionMore information about additional connection parameter can be found in the redis-py documentation at https://redis-py.readthedocs.io/en/stable/connections.html# connection to redis standalone at localhost, db 0, no passwordredis_url = "redis://localhost:6379"# connection to host "redis" port 7379 with db 2 and password "secret" (old style authentication scheme without username / pre 6.x)redis_url = "redis://:secret@redis:7379/2"# connection to host redis on default port with user "joe", pass "secret" using redis version 6+