Refa: Clean the folders. (#12890)

### Type of change

- [x] Refactoring
This commit is contained in:
Kevin Hu
2026-01-29 14:23:26 +08:00
committed by GitHub
parent d86b7f9721
commit 32c0161ff1
42 changed files with 50 additions and 52 deletions

View File

@ -492,7 +492,7 @@ async def gen_meta_filter(chat_mdl, meta_data: dict, query: str) -> dict:
async def gen_json(system_prompt: str, user_prompt: str, chat_mdl, gen_conf={}, max_retry=2):
from graphrag.utils import get_llm_cache, set_llm_cache
from rag.graphrag.utils import get_llm_cache, set_llm_cache
cached = get_llm_cache(chat_mdl.llm_name, system_prompt, user_prompt, gen_conf)
if cached:
return json_repair.loads(cached)
@ -928,4 +928,4 @@ async def multi_queries_gen(chat_mdl, question: str, query:str, missing_infos:li
)
except Exception as e:
logging.exception(e)
return {}
return {}