-
Notifications
You must be signed in to change notification settings - Fork 5k
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
向量化数据库使用中的一些问题 #3991
Comments
It looks like you're facing two distinct issues with your vector database setup: the source files and vector library not being correctly recognized in the management interface, and a For the first issue regarding the source files and vector library not being recognized (marked with × instead of √), this problem might be due to incorrect file handling, configuration errors, or missing dependencies. Ensure that all required models and modules are correctly installed, including any specific sentence-transformers model and the Regarding the If these suggestions don't resolve your issues, providing more specific error messages or details about where exactly the error occurs could help in offering more targeted advice.
|
It seems you've made progress by addressing the display issue related to file addition in the vector database by modifying lines 202 and 203. However, the challenge of the vector database not matching queries as expected, with scores appearing unusually high, remains. To tackle the issue of high scores and ensure your vector database matches queries correctly, consider these steps:
These steps should help you address the issue of high scores and improve the matching accuracy of your vector database. If you continue to encounter problems, providing more detailed information about your setup and the specific challenges you're facing could help in offering more targeted advice.
|
同样问题,一直不知道大家说的202.203行在哪里,找不到knowledge_base.py文件,求大佬们指点 |
大佬解决了吗?同样显示×知识库问答检索不到文档 |
|
同样有这个问题,想问问vs.similarity_search_with_score_by_vector(embeddings, k=top_k, score_threshold=score_threshold)为docs=vs.similarity_search_with_score(query) 这行代码是在哪个文件下面呀,谢谢! |
请问一下我再初始化向量数据库的时候成功了,
脚本如下:python init_database.py --recreate-vs
其中使用了默认配置,只在model_config.py中修改了MODEL_ROOT_PATH = "/public/RAG/model"为我的本地模型路径,以及bge-large-zh-v1.5为我对应的保存路径
"bge-large-zh-v1.5": "AI-ModelScope/bge-large-zh"
初始化向量数据库显示成功:
LLM模型问答服务正常,但是在使用知识库的时候一直查询不到知识库。
对比官方的展示图片发现问题,在管理页面中虽然可以看到初始化的数据文件,但是源文件和向量库 都是 × 而不是 √。不知道是哪里出了问题?
并且选中其中一个文件以后报如下错误:
请问大家在使用中是否遇到同样的问题,是怎么解决的
The text was updated successfully, but these errors were encountered: