Comments (3)
确保你的文档已经被正确索引是解决这个问题的第一步。请检查以下几个方面:
-
文档索引确认:确保你添加到
knowledge_base/samples/content/test_files
目录中的文档已经被正确索引。你可以通过查看索引日志或使用提供的工具来验证索引状态。 -
配置检查:再次确认你的配置文件(如
config.json
或其他相关配置)是否正确设置,特别是与知识库路径、模型和向量库类型相关的配置。 -
知识库服务:确保知识库服务正在正确运行。如果你使用的是如faiss或milvus这样的向量库,确认服务是否启动并且可以被你的应用访问。
如果在检查这些方面后问题仍然存在,可能需要更深入地调查,包括查看应用的日志文件,以确定是否有错误或警告信息指示了问题的根源。
Details
Sources
- 如何提高知识库检索的正确性?
- 知识库更新中的各种问题
- [BUG] 上传json/jsonl文件且向量化后,网页端看不到划分后的知识库并且模型找不到相应的检索知识库
- 知识库未检索到文档,自己回复了
- v0.2.x版本基于知识库的回答无法匹配出知识库知识
- 为什么有的文档作为知识库的时候,会出现加载不成功的情况呢?
- 使用BaiChuan13B进行知识库问答,模型不回答或者答非所问
- startup.py
- init_database.py
- server/chat/knowledge_base_chat.py
- tests/api/test_kb_api_request.py
- tests/api/test_kb_api.py
- markdown_docs/server/reranker/reranker.md
- server/reranker/reranker.py
- knowledge_base/samples/content/test_files/langchain-ChatGLM_open.jsonl
- server/knowledge_base/kb_cache/faiss_cache.py
- server/knowledge_base/kb_service/faiss_kb_service.py
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from langchain-chatchat.
解决了吗楼主,我也是同样的问题,不报错,源文件和向量库显示×,知识库问答未找到相关文档
from langchain-chatchat.
解决了吗楼主,我也是同样的问题,不报错,源文件和向量库显示×,知识库问答未找到相关文档
同问
from langchain-chatchat.
Related Issues (20)
- cannot import name 'legacy' from 'llama_index'
- [BUG]httpcore.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)
- 配置好vllm配置之后启动startup.py时候遇到一个问题,似乎是缺少一个参数配置,具体报错如下
- 运行后卡柱不动
- 在初始化过程中,显存爆了 HOT 1
- 知识库匹配需要原文回答,而不是润色的内容
- 这个项目中的fastapi 怎么在vscode 调试时 重载代码? uvicorn --reload时报错
- 知识库问答调用add_message_to_db 无法保存response
- UnstructuredMarkdownLoader会丢失Markdown的结构标识
- 怎么使用splite
- [FEATURE] 搜索引擎支持百度api
- 请问怎么看最后传给大模型的历史对话和用户询问,我目前只跟踪到以下部分。
- http://127.0.0.1:7861/knowledge_base/kb_summary_api/summary_file_to_vector_store 进行文件总结 响应7分钟后出现一下报错,是超时了吗,这个逻辑是在哪啊,
- 上传文件不支持json格式的吗,似乎上传后解析不了
- 问答的第二个问题就会卡住中断
- cannot import name 'PDFResourceManag er' from 'pdfminer.converter'这是什么错误[BUG] 简洁阐述问题 / Concise description of the issue HOT 1
- 如何同时接入多个封装好的openai api格式大模型 HOT 2
- 请问怎么计算输出的token数量?这个框架有现成支持的方法吗
- 调用讯飞星火api,没有输出回答 HOT 2
- [BUG] 知识库问答匹配不到/ Concise description of the issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchain-chatchat.