chatchat-space / Langchain-Chatchat

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain
Apache License 2.0
32.05k stars 5.58k forks source link

[BUG] 0.3.1.3版本,源码安装缺少环境,需要 pip install xinference-client #5010

Open zhuzongjian1 opened 1 month ago

zhuzongjian1 commented 1 month ago

python cli.py kb --recreate-vs 2024-10-16 18:48:52.575 | WARNING | chatchat.server.utils:detect_xf_models:104 - auto_detect_model needs xinference-client installed. Please try "pip install xinference-client". 2024-10-16 18:48:52.598 | WARNING | chatchat.server.utils:get_default_embedding:214 - default embedding model bge-base-zh-v1.5 is not found in available embeddings, using quentinz/bge-large-zh-v1.5 instead 2024-10-16 18:48:52.611 | WARNING | chatchat.server.utils:get_default_embedding:214 - default embedding model bge-base-zh-v1.5 is not found in available embeddings, using quentinz/bge-large-zh-v1.5 instead 2024-10-16 18:48:52.624 | WARNING | chatchat.server.utils:get_default_embedding:214 - default embedding model bge-base-zh-v1.5 is not found in available embeddings, using quentinz/bge-large-zh-v1.5 instead 2024-10-16 18:48:52.636 | WARNING | chatchat.server.utils:get_default_embedding:214 - default embedding model bge-base-zh-v1.5 is not found in available embeddings, using quentinz/bge-large-zh-v1.5 instead recreating all vector stores /home/zhuzongjian/.conda/envs/chatchat03/lib/python3.11/site-packages/langchain/_api/module_import.py:87: LangChainDeprecationWarning: Importing GuardrailsOutputParser from langchain.output_parsers is deprecated. Please replace the import with the following: from langchain_community.output_parsers.rail_parser import GuardrailsOutputParser warnings.warn( 2024-10-16 18:48:53.051 | WARNING | chatchat.server.utils:get_default_embedding:214 - default embedding model bge-base-zh-v1.5 is not found in available embeddings, using quentinz/bge-large-zh-v1.5 instead 2024-10-16 18:48:53.052 | WARNING | chatchat.server.utils:get_default_embedding:214 - default embedding model bge-base-zh-v1.5 is not found in available embeddings, using quentinz/bge-large-zh-v1.5 instead 2024-10-16 18:48:53.052 | WARNING | chatchat.server.utils:get_default_embedding:214 - default embedding model bge-base-zh-v1.5 is not found in available embeddings, using quentinz/bge-large-zh-v1.5 instead 2024-10-16 18:48:53.052 | WARNING | chatchat.server.utils:get_default_embedding:214 - default embedding model bge-base-zh-v1.5 is not found in available embeddings, using quentinz/bge-large-zh-v1.5 instead 2024-10-16 18:48:53.072 | INFO | chatchat.server.knowledge_base.kb_cache.faiss_cache:load_vector_store:109 - loading vector store in 'samples/vector_store/quentinz/bge-large-zh-v1.5' from disk. 2024-10-16 18:48:53.092 | ERROR | chatchat.server.knowledge_base.kb_cache.faiss_cache:load_vector_store:140 - Error raised by inference API HTTP code: 404, {"error":"model 'quentinz/bge-large-zh-v1.5' not found, try pulling it first"} 2024-10-16 18:48:53.092 | ERROR | chatchat.init_database:worker:61 - 向量库 samples 加载失败。

github-actions[bot] commented 17 hours ago

这个问题已经被标记为 stale ,因为它已经超过 30 天没有任何活动。