修复了migrate兼容性错误,python3.8正常使用 (#1837)
Co-authored-by: zR <zRzRzRzRzRzRzR>
This commit is contained in:
parent
38a48bc831
commit
e6382cacb1
|
|
@ -37,7 +37,6 @@ def folder2db(
|
||||||
kb_names: List[str],
|
kb_names: List[str],
|
||||||
mode: Literal["recreate_vs", "update_in_db", "increament"],
|
mode: Literal["recreate_vs", "update_in_db", "increament"],
|
||||||
vs_type: Literal["faiss", "milvus", "pg", "chromadb"] = DEFAULT_VS_TYPE,
|
vs_type: Literal["faiss", "milvus", "pg", "chromadb"] = DEFAULT_VS_TYPE,
|
||||||
kb_info: dict[str, Any] = {},
|
|
||||||
embed_model: str = EMBEDDING_MODEL,
|
embed_model: str = EMBEDDING_MODEL,
|
||||||
chunk_size: int = CHUNK_SIZE,
|
chunk_size: int = CHUNK_SIZE,
|
||||||
chunk_overlap: int = OVERLAP_SIZE,
|
chunk_overlap: int = OVERLAP_SIZE,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue