Giter Club home page Giter Club logo

Comments (12)

zRzRzRzRzRzRzR avatar zRzRzRzRzRzRzR commented on June 18, 2024 5

能提问正常回答就是向量化了,否则后台会报错

from langchain-chatchat.

dosubot avatar dosubot commented on June 18, 2024 3

To address the issues you're facing with the Langchain-Chatchat application, here are focused solutions:

  1. Adding Content to the Vector Knowledge Base Failing:

    • Verify that all necessary models and modules, such as sentence-transformers and modelscope, are correctly installed and accessible.
    • A workaround mentioned in similar issues suggests commenting out lines 202 and 203 in knowledge_base.py. This might help but proceed with caution and consider the implications on your setup.
    • Use the recreate_vector_store endpoint after uploading your documents to ensure they are vectorized and recognized by the system.
  2. Issues Retrieving Uploaded Documents:

    • Confirm that your documents are correctly uploaded by checking if the system recognizes the CSV file. The system should acknowledge the file's presence for it to be searchable.
    • Review the logs for any errors during the document upload process to ensure there were no failures or issues that might prevent document retrieval.
    • If retrieval issues persist, consider adjusting the distance_strategy to MAX_INNER_PRODUCT as it resolved similar issues for other users.

These steps are derived from solutions to similar problems reported in the repository. If these do not resolve your issues, providing more details about the documents (format, size, content) and any specific error messages or logs could help further diagnose the problem.

Details

Sources


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.

lceCre4m avatar lceCre4m commented on June 18, 2024

而且都启动和文档上传及添加向量数据库过程都没有报错

from langchain-chatchat.

HanqiaoZheng avatar HanqiaoZheng commented on June 18, 2024

能提问正常回答就是向量化了,否则后台会报错

不行,我也遇到同样问题了,回答知识库点开显示红色字体,未找到相关文档,该回答为大模型自身能力解答!

from langchain-chatchat.

HanqiaoZheng avatar HanqiaoZheng commented on June 18, 2024

楼主解决了吗,我也遇到这个问题了

from langchain-chatchat.

mrkingsun avatar mrkingsun commented on June 18, 2024

我也遇到了,0.2.10版本,上传后源文件和向量库都是x,这什么bug?

from langchain-chatchat.

lwh8915 avatar lwh8915 commented on June 18, 2024

我也遇到了,请问解决了吗

from langchain-chatchat.

ZG688 avatar ZG688 commented on June 18, 2024

我也遇到了 一点错误没有 就是找不到文档

from langchain-chatchat.

danny-zhu avatar danny-zhu commented on June 18, 2024

我这边也遇到相同的问题,可以试试把model_config中用的模型路径写完整就可以解决了。MODEL_ROOT_PATH这参数可能是有的地方没有自动拼接上,我还没来得及去逐行排查代码,你们遇到可以试试看。

from langchain-chatchat.

ZG688 avatar ZG688 commented on June 18, 2024

我这边也遇到相同的问题,可以试试把model_config中用的模型路径写完整就可以解决了。MODEL_ROOT_PATH这参数可能是有的地方没有自动拼接上,我还没来得及去逐行排查代码,你们遇到可以试试看。

model_config.py这个文件里面的模型路径绝对的相对的都能用,LLM问答里面没有问题,构建向量库也没有报错,就是知识库问答找不到相关文档,后台也没错误,成功加载向量库 麻了
微信图片_20240527001417

from langchain-chatchat.

linlangq avatar linlangq commented on June 18, 2024

我这边也遇到相同的问题,可以试试把model_config中用的模型路径写完整就可以解决了。MODEL_ROOT_PATH这参数可能是有的地方没有自动拼接上,我还没来得及去逐行排查代码,你们遇到可以试试看。

model_config.py这个文件里面的模型路径绝对的相对的都能用,LLM问答里面没有问题,构建向量库也没有报错,就是知识库问答找不到相关文档,后台也没错误,成功加载向量库 麻了 微信图片_20240527001417

问题解决了吗

from langchain-chatchat.

ReverseSystem001 avatar ReverseSystem001 commented on June 18, 2024

我这边也遇到相同的问题,可以试试把model_config中用的模型路径写完整就可以解决了。MODEL_ROOT_PATH这参数可能是有的地方没有自动拼接上,我还没来得及去逐行排查代码,你们遇到可以试试看。

model_config.py这个文件里面的模型路径绝对的相对的都能用,LLM问答里面没有问题,构建向量库也没有报错,就是知识库问答找不到相关文档,后台也没错误,成功加载向量库 麻了 微信图片_20240527001417

问题解决了吗

哥们,问题解决了吗?

from langchain-chatchat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.