• 请不要在回答技术问题时复制粘贴 AI 生成的内容
LuckyLauncher
V2EX  ›  程序员

有没有觉得 langchain 不大好用?

  •  
  •   LuckyLauncher ·
    DeskAI · Jun 21, 2024 · 4469 views
    This topic created in 875 days ago, the information mentioned may be changed or developed.
    各种概念比如 agents tools chain graph 等等...

    有没有概念上简单一点的框架?
    10 replies  •  2024-06-22 16:12:06 +08:00
    R4rvZ6agNVWr56V0
    R4rvZ6agNVWr56V0
    Jun 21, 2024
    1
    LlamaIndex
    dafen7
    dafen7
    Jun 21, 2024
    2
    llama-index?
    0o0O0o0O0o
    0o0O0o0O0o
    Jun 21, 2024
    3
    感觉过度抽象了
    iyaozhen
    iyaozhen
    Jun 21, 2024
    4
    额 看你要干啥呀
    说下需求看看?
    darksword21
    darksword21
    Jun 21, 2024 via iPhone
    5
    确实,而且拆了很多包,互相之间还有重合的功能,也在找能替代他的框架
    beyondex
    beyondex
    Jun 21, 2024
    6
    我自己写。。
    LuckyLauncher
    LuckyLauncher
    OP
    Jun 21, 2024
    7
    @iyaozhen #4 就是可以调用本地的函数,编写自己的 agent ,以及实现 RAG
    ladeo
    ladeo
    Jun 21, 2024
    8
    推荐 dify
    tothegump
    tothegump
    Jun 22, 2024
    9
    雀食,目前没有找到更好的选择
    langchain 不好用主要是上手不容易,大模型对「模糊」友好,我们写的代码对输入、输出要求「精确」,因此带来了复杂性
    大模型请求耗时都很长,面向用户时一般使用 sse 返回,交互方面会对用户友好一点,但是编排 chain 时,很多组件又打断了「流式」

    但,langchain 最蛋疼的在于他版本之间的不兼容
    lysShub
    lysShub
    Jun 22, 2024
    10
    大模型根本不适合像 langchain 这样串起来,本来准确率就低,串联最后的结果可以说离谱大了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2105 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 01:52 · PVG 09:52 · LAX 17:52 · JFK 20:52
    ♥ Do have faith in what you're doing.