Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM 等语言模型的本地知识库问答 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM) QA app with la...

Results 929 Langchain-Chatchat issues
Sort by recently updated
recently updated
newest added

**问题描述 / Problem Description** 知识库问答,出现API通信错误,检索条目3变成1条也出错 **复现问题的步骤 / Steps to Reproduce** 1. 执行 '$ python startup.py -a' 2. 点击 '知识库问答' 3. 输入问题 4. 问题出现 / Problem occurs **预期的结果 / Expected Result**...

bug

**问题描述 / Problem Description** ### 本地启动报错,报错日志如下: 2024-05-14 18:11:17 | INFO | model_worker | Register to controller 2024-05-14 18:11:17 | ERROR | stderr | INFO: Started server process [86837] 2024-05-14 18:11:17...

bug

自定义Agent问答模式下,调用search_knowledgebase_complex搜索知识库,始终返回'BaseResponse' object has no attribute 'body_iterator' ``` 工具名称: search_knowledgebase_complex 工具状态: 调用成功 工具输入: MacbookAir M1 8+256 颜色 工具输出: 输入的信息有误或不存在知识库,错误信息如下: 'BaseResponse' object has no attribute 'body_iterator' ``` 我把包含上述信息的文档存为.txt,添加到了我新建的知识库test1中,直接使用知识库问答是可以查到信息的,但是在Agent下查不到任何信息

bug

有点好奇Langchain-chatchat 的向量检索方式。 方法上,在程序中是采用倒排召回还是向量召回? 过程中,使用的是单路召回还是多路召回?

bug

**功能描述 / Feature Description** 希望增加一个环节,借助LLM模型,对FAQ文档中的问题Q部分进行增强。 FAQ文档中知识如下: Q:原产地证书自助打印流程 A:XXX 增强为: Q: 原产地证书如何自助打印?打印原产地证书的步骤? **解决的问题 / Problem Solved** 因为实际提问中,用户提出的Q和知识库中的Q不一样,在后面的向量检索中,用户的Q容易匹配出其他问题的答案。 **实现建议 / Implementation Suggestions** 增加一个环节,使用LLM,将原知识库的问题进行优化,扩充多几个问题。 **其他信息 / Additional Information** @zRzRzRzRzRzRzR 维护者你好,这个建议可以考虑增加到0.3版本的更新中吗?

enhancement

![image](https://github.com/chatchat-space/Langchain-Chatchat/assets/19178835/d53368d4-d87e-4d2d-897f-cada4e5a4b84) 应该由`1024`改为`max_length`,否则会造成rerank模型predict长度过长的文本时出错。

bug

**问题描述 / Problem Description** 在langchain-chatchat里得到的回答,和大模型直接推理得到的回答,不一样 **复现问题的步骤 / Steps to Reproduce** 1.使用LLaMA-Factory的推理程序CUDA_VISIBLE_DEVICES=0 llamafactory-cli chat examples/inference/llama3.yaml 2.在langchain-chatchat的LLM对话界面 输入同样的问题,得到不一样的答案 **预期的结果 / Expected Result** 应该得到同样的回答 **实际结果 / Actual Result** 回答不一样 **环境信息 / Environment Information**...

bug

比如,在输入框输入“打开百度首页”,然后自动新开一个浏览器页面,并且打开百度的首页。 这是我的实现: ```python from langchain.prompts import PromptTemplate from langchain.chains import LLMMathChain from server.agent import model_container from pydantic import BaseModel, Field PROMPT = PromptTemplate( input_variables=["url"], template="新开一个谷歌浏览器窗口,打开{url}这个url对应的网站" ) def myfunc(url: str): webbrowser.open("https://www.baidu.com")...

enhancement

运行startup.py时找不到'langchain_core' **复现问题的步骤 / Steps to Reproduce** 1. 执行python startup.py -a 2. 问题出现 / Problem occurs Traceback (most recent call last): File "/Users/*****/Langchain-Chatchat/startup.py", line 9, in from langchain_core._api import deprecated ModuleNotFoundError:...

bug