LLM|使用 LangChain 构建多模型后端服务
了解如何使用 LangChain 来统一管理后端 LLM 服务。
LangChain 是一个开源框架,主要用于简化将 LLMs 与数据源、工具及其他软件工作流集成的过程,使开发者创建具备上下文感知能力的 AI 应用更加快捷。
LangChain 提供了对不同大语言模型(LLM)后端服务商的支持,通过统一的接口封装,允许你在不同的模型/服务商之间无缝切换。

只需配置 API Key,就能按需调用不同的大模型。
LangChain 支持模型列表
Chat models | 🦜️🔗 Langchain
Chat models are language models that use a sequence of messages as inputs and return messages as outputs (as opposed to using plain text). These are generally newer models.
