mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-07 07:23:29 +08:00
perf delete unused import
This commit is contained in:
parent
c94938bc83
commit
0c465faf8b
@ -1,17 +1,13 @@
|
|||||||
import uuid
|
import uuid
|
||||||
from typing import Any, Dict, List, Optional, Tuple
|
from typing import Any, Dict, List, Tuple
|
||||||
|
|
||||||
import chromadb
|
import chromadb
|
||||||
from chromadb.api.types import (ID, CollectionMetadata, Embedding,
|
from chromadb.api.types import (GetResult, QueryResult)
|
||||||
EmbeddingFunction, GetResult, IDs, Include,
|
|
||||||
Metadata, OneOrMany, QueryResult, Where)
|
|
||||||
from langchain.docstore.document import Document
|
from langchain.docstore.document import Document
|
||||||
from langchain_community.vectorstores.chroma import Chroma
|
|
||||||
|
|
||||||
from configs import SCORE_THRESHOLD, logger
|
from configs import SCORE_THRESHOLD
|
||||||
from server.knowledge_base.kb_service.base import (EmbeddingsFunAdapter,
|
from server.knowledge_base.kb_service.base import (EmbeddingsFunAdapter,
|
||||||
KBService, SupportedVSType,
|
KBService, SupportedVSType)
|
||||||
score_threshold_process)
|
|
||||||
from server.knowledge_base.utils import KnowledgeFile, get_kb_path, get_vs_path
|
from server.knowledge_base.utils import KnowledgeFile, get_kb_path, get_vs_path
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user