MCPcopy Create free account
hub / github.com/NanGePlus/LightRAGTest / compute_args_hash

Function compute_args_hash

LightRAG/lightrag/utils.py:85–86  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

83
84
85def compute_args_hash(*args):
86 return md5(str(args).encode()).hexdigest()
87
88
89def compute_mdhash_id(content, prefix: str = ""):

Callers 6

openai_complete_if_cacheFunction · 0.85
hf_model_if_cacheFunction · 0.85
ollama_model_if_cacheFunction · 0.85
lmdeploy_model_if_cacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected