LightRAG icon indicating copy to clipboard operation
LightRAG copied to clipboard

[Question]: RedisKVStorage is not compatible with DOC_STATUS_STORAGE

Open frederikhendrix opened this issue 9 months ago • 2 comments

Do you need to file an issue?

  • [ ] I have searched the existing issues and this bug is not already filed.
  • [ ] I believe this is a legitimate bug, not just a question or feature request.

Describe the bug

Im trying to run the "lightrag_openai_neo4j_milvus_redis_demo.py" file and it contains the RedisKVStorage as doc_status_storage variable.

rag = LightRAG( working_dir=WORKING_DIR, llm_model_func=llm_model_func, llm_model_max_token_size=32768, embedding_func=embedding_func, chunk_token_size=512, chunk_overlap_token_size=256, kv_storage="RedisKVStorage", graph_storage="Neo4JStorage", vector_storage="MilvusVectorDBStorage", doc_status_storage="RedisKVStorage", )

I know from the init file that RedisKVStorage isn't one from the doc_storage list, but why is it included here then? Is this something you are planning on adding in the future?

Steps to reproduce

No response

Expected Behavior

No response

LightRAG Config Used

Paste your config here

Logs and screenshots

No response

Additional Information

  • LightRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

frederikhendrix avatar Mar 14 '25 10:03 frederikhendrix

Verified. I tested the same example file, lightrag_openai_neo4j_milvus_redis_demo.py and found that doc_status_storage=RedisKVStorage. Installed LightRAG from source.

LightRAG Version: v1.2.5 Python Version: 3.10.16 Operating System: Ubuntu 24.04.1 LTS

husaynirfan1 avatar Mar 15 '25 16:03 husaynirfan1

so...

just tyring the example with milvus i found:

ValueError: Storage implementation 'RedisKVStorage' is not compatible with DOC_STATUS_STORAGE. Compatible implementations are: JsonDocStatusStorage, PGDocStatusStorage, PGDocStatusStorage, MongoDocStatusStorage

so.. RedisKVStorage does not exists ?

bzImage avatar Mar 18 '25 19:03 bzImage

Issue fixe in latest version.

danielaskdd avatar Jul 20 '25 01:07 danielaskdd