六、LangChain——StrOutputParser和JsonOutputParser以第一次模型的输出结果,拿去第二次询问模型现在需要:chain = prompt | model | model,参与链的构建的组件完全符合要求,但运行会报错 ValueError: Invalid input type <class 'langchain_core.messages.ai.AIMessageChunk'>. Must be a PromptValue, str, or list of BaseMessages.