feat: 增加redis KV存储,增加openai+neo4j+milvus+redis的demo测试,新增lightrag.py: RedisKVStorage,新增requirements.txt:aioredis依赖
Browse files
examples/lightrag_openai_neo4j_milvus_redis_demo.py
CHANGED
@@ -66,4 +66,5 @@ file = "../book.txt"
|
|
66 |
with open(file, "r", encoding="utf-8") as f:
|
67 |
rag.insert(f.read())
|
68 |
|
|
|
69 |
print(rag.query("谁会3D建模 ?", param=QueryParam(mode="mix")))
|
|
|
66 |
with open(file, "r", encoding="utf-8") as f:
|
67 |
rag.insert(f.read())
|
68 |
|
69 |
+
|
70 |
print(rag.query("谁会3D建模 ?", param=QueryParam(mode="mix")))
|