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

向量库 samples 加载失败 #5201

Open
BlueCatFlord opened this issue Jan 22, 2025 · 3 comments
Open

向量库 samples 加载失败 #5201

BlueCatFlord opened this issue Jan 22, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@BlueCatFlord
Copy link

执行命令: python chatchat/cli.py kb --recreate-vs

2025-01-22 17:56:03.187 | ERROR | chatchat.server.knowledge_base.kb_cache.faiss_cache:load_vector_store:140 - input not a numpy array 2025-01-22 17:56:03.188 | ERROR | chatchat.init_database:worker:61 - 向量库 samples 加载失败。

@BlueCatFlord BlueCatFlord added the bug Something isn't working label Jan 22, 2025
@BlueCatFlord
Copy link
Author

Image

Copy link

dosubot bot commented Jan 22, 2025

Hey @BlueCatFlord! I'm here to help you with any bugs, questions, or becoming a contributor. Just waiting for the human maintainers to join the fun. Let's squash those bugs together! 🤖

I found a similar open issue regarding the failure to load a vector store, which might be related to your problem. You can view the issue here [1]. However, no solution has been found in the comments of that issue.

Regarding the error "input not a numpy array," this could be due to the input data not being properly formatted as a NumPy array when loading the vector store. Ensure that the data being passed to the vector store is correctly formatted as a NumPy array.

Additionally, the warning about the default embedding model not being found suggests that the application is falling back to another model. This is handled by the get_default_embedding function, which logs a warning and uses the first available embedding model if the specified default is not found [2].

For the deprecation warning related to GuardrailsOutputParser, I couldn't find specific details in the repository, but it might be worth checking if there are any updates or changes in the library that require modifications to your code.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@jikuanyu
Copy link

正在将 samples/大模型应用技术原理.md 添加到向量库,共包含7条文档
正在将 samples/大模型推理优化策略.md 添加到向量库,共包含6条文档
正在将 samples/大模型指令对齐训练原理.md 添加到向量库,共包含3条文档
正在将 samples/分布式训练技术原理.md 添加到向量库,共包含8条文档
正在将 samples/大模型技术栈-实战与应用.md 添加到向量库,共包含1条文档
卡在不动怎么解决?大神们

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants