perf typing

This commit is contained in:
showmecodett 2024-01-21 21:00:12 +08:00
parent 3057c29e47
commit 71deed93df

View File

@ -7,7 +7,7 @@ from server.knowledge_base.kb_cache.faiss_cache import kb_faiss_pool, ThreadSafe
from server.knowledge_base.utils import KnowledgeFile, get_kb_path, get_vs_path
from server.utils import torch_gc
from langchain.docstore.document import Document
from typing import List, Dict, Optional
from typing import List, Dict, Optional, Tuple
class FaissKBService(KBService):