mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-01 01:04:43 +00:00
feat: support multiple knowledge file path and skip some error in knowledge embedding (#379)
Close #353 Additional, I created DB-GPT command line tool scripts which currently supports initialization of the knowledge documents. And we can support more command line in the future.
This commit is contained in:
@@ -31,6 +31,8 @@ python tools/knowledge_init.py
|
||||
|
||||
```
|
||||
|
||||
Optionally, you can run `python tools/knowledge_init.py -h` command to see more usage.
|
||||
|
||||
3.Add the knowledge repository in the interface by entering the name of your knowledge repository (if not specified, enter "default") so you can use it for Q&A based on your knowledge base.
|
||||
|
||||
Note that the default vector model used is text2vec-large-chinese (which is a large model, so if your personal computer configuration is not enough, it is recommended to use text2vec-base-chinese). Therefore, ensure that you download the model and place it in the models directory.
|
Reference in New Issue
Block a user