Add support for folder path as input
This commit is contained in:
parent
ffbf239e1b
commit
196904872c
|
|
@ -106,7 +106,6 @@ if __name__ == "__main__":
|
||||||
vector_store = None
|
vector_store = None
|
||||||
while not vector_store:
|
while not vector_store:
|
||||||
filepath = input("Input your local knowledge file path 请输入本地知识文件路径:")
|
filepath = input("Input your local knowledge file path 请输入本地知识文件路径:")
|
||||||
print(filepath)
|
|
||||||
vector_store = init_knowledge_vector_store(filepath)
|
vector_store = init_knowledge_vector_store(filepath)
|
||||||
history = []
|
history = []
|
||||||
while True:
|
while True:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue