Add LLM response cache to registered RagServer components

This commit is contained in:
yangdx
2025-02-13 01:30:21 +08:00
parent 7a89916bab
commit 9a77d91023

View File

@@ -1115,6 +1115,7 @@ def create_app(args):
("relationships_vdb", rag.relationships_vdb), ("relationships_vdb", rag.relationships_vdb),
("chunks_vdb", rag.chunks_vdb), ("chunks_vdb", rag.chunks_vdb),
("doc_status", rag.doc_status), ("doc_status", rag.doc_status),
("llm_response_cache", rag.llm_response_cache),
] ]
async def index_file(file_path: Union[str, Path]) -> None: async def index_file(file_path: Union[str, Path]) -> None: