langchain-wenxin icon indicating copy to clipboard operation
langchain-wenxin copied to clipboard

langchain baidu wenxinworkshop wrapper

Results 8 langchain-wenxin issues
Sort by recently updated
recently updated
newest added

Wenxin(LLM, BaiduCommon)会报以下错误: TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

请问现在支持 ERNIE-Bot-4 吗? 如果不支持,有没有计划何时支持?

![image](https://github.com/ninehills/langchain-wenxin/assets/22748550/8248b68c-5f34-401d-8ca8-8042f190efe9) ![image](https://github.com/ninehills/langchain-wenxin/assets/22748550/11c5cdd5-a904-4307-b5b3-160920b7d34d) 我正在尝试想接入openai一样接入文心一言,但是在使用conversationchain时,无法传入用户消息,我尝试了多种方式仍报错

当wenxin与memory结合使用时,代码中有一步校验:It must be in the order of user, assistant. 截图如下: 要求第一位是human。 但是在langchain中,会将system放在第一位,截图如下:

Wenxin Baseclass 修改为 BaseLLM 实现 _generate ,从而返回更多信息 ChatWenxin 增加 llm_output 信息