通过豆包API接口实现LangChian
输出conversation_chain memory
import os
from langchain.llms.base import LLM
from langchain.chains import LLMChain, ConversationChain
from langchain.prompts import PromptTemplate
from openai import OpenAI
from pydantic import BaseModel, Extra
from langchain.memory import ConversationBufferMemory


发布评论