Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何分批进行数万个文件知识库初始化? #4052

Closed
KevinFanng opened this issue May 21, 2024 · 1 comment
Closed

如何分批进行数万个文件知识库初始化? #4052

KevinFanng opened this issue May 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@KevinFanng
Copy link

我现在有7万多个文件,需要进行知识库的初始化。由于机器性能限制,只能分批进行。第一批,把一个文件夹,5千个文件,执行python init_database.py --recreate-vs或是在webui界面,“知识库管理”中,点击“依据源文件重建向量库”。第一批是可以成功的。但第二批,该如何进行呢?python init_database.py --recreate-vs会把第一批的文件,也再次初始化。

@KevinFanng KevinFanng added the enhancement New feature or request label May 21, 2024
@KevinFanng
Copy link
Author

python init_database.py -i #增量,继续上传单个目录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant