langchain/vectorstores/redis.py/Redis/as_retriever
class Redis:    def as_retriever(self, **kwargs: Any) -> RedisVectorStoreRetriever:
        return RedisVectorStoreRetriever(vectorstore=self, **kwargs)