langchain-wenxin
langchain-wenxin copied to clipboard
langchain baidu wenxinworkshop wrapper
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 吗? 如果不支持,有没有计划何时支持?
  我正在尝试想接入openai一样接入文心一言,但是在使用conversationchain时,无法传入用户消息,我尝试了多种方式仍报错
当wenxin与memory结合使用时,代码中有一步校验:It must be in the order of user, assistant. 截图如下: 要求第一位是human。 但是在langchain中,会将system放在第一位,截图如下:
Wenxin Baseclass 修改为 BaseLLM 实现 _generate ,从而返回更多信息 ChatWenxin 增加 llm_output 信息