• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
返回主页

aibi1

  • 博客园
  • 首页
  • 新随笔
  • 联系
  • 订阅
  • 管理

langchain 功能和培训资料和官网的API

目录
  • 背景和价值
    • 解析器
    • chain

背景和价值

解析器

OPENAI tools概览
https://python.langchain.com/v0.1/docs/modules/model_io/output_parsers/types/openai_tools/

点击类的链接查看类的函数入参出参等
https://api.python.langchain.com/en/latest/output_parsers/langchain_core.output_parsers.openai_tools.JsonOutputKeyToolsParser.html#langchain_core.output_parsers.openai_tools.JsonOutputKeyToolsParser

chain

培训资料
https://e.naixuejiaoyu.com/p/t_pc/course_pc_detail/video/v_6647413ae4b023c0747a181e?product_id=p_66af20dde4b0694c9850a6ee&type=6

https://python.langchain.com/v0.1/docs/modules/chains/

用的最多的 function calling
create_openai_fn_runnable
https://api.python.langchain.com/en/latest/chains/langchain.chains.structured_output.base.create_openai_fn_runnable.html#langchain.chains.structured_output.base.create_openai_fn_runnable

LLM chain
https://api.python.langchain.com/en/latest/chains/langchain.chains.llm.LLMChain.html#langchain.chains.llm.LLMChain

posted @ 2025-03-27 11:53  向着朝阳  阅读(23)  评论(0)    收藏  举报
刷新页面返回顶部

公告

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3