You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chain:链接调用LLM 及其他各种功能;
-- In chains, a sequences of actions of hardcoded( in code).
-- 比如采用 同步/异步方式解析 input message 等,按照指定的 sequence 指定 LLM 执行一系列操作等;
Agent 代理的管理,agent 使得 LLM 有决策的能力,确定执行哪些步骤,是否截止等;
-- In agents, LLMl is used as a reasoning engine to determine which actions to take and in which order.
Langchain 的定位
Langchain 的功能分类
细分了 Model I/O 的3个大模块:Format(用 Prompts 封装),Predict(采用 LLM 推理预测),Parse(解析结果输出)
-- In chains, a sequences of actions of hardcoded( in code).
-- 比如采用 同步/异步方式解析 input message 等,按照指定的 sequence 指定 LLM 执行一系列操作等;
-- In agents, LLMl is used as a reasoning engine to determine which actions to take and in which order.
Langchain 调用的两种 LLM:
Langchain 提供的组合表达式:
References
The text was updated successfully, but these errors were encountered: