V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
wwulfric
V2EX  ›  OpenAI

有没有用过 spring ai 的,感觉怎么样

  •  1
     
  •   wwulfric · Oct 7, 2024 · 2024 views
    This topic created in 572 days ago, the information mentioned may be changed or developed.

    最近照着 https://spring.io/blog/2024/09/26/ai-meets-spring-petclinic-implementing-an-ai-assistant-with-spring-ai-part-i 教程试了一下,感觉 spring ai 有点太「 spring 」了,很多细节隐藏的比较深,尤其是 http 调用的地方。在用到 function calling 的时候,一开始用的是 gpt4 ,每次都是长时间 sleep ,最终 debug http 的几个 response 才发现是 azure 的 gpt4 tpm 比较低,响应的内容就是等待 1 天重试。换成 gpt35 又不工作,也是 debug 一段时间才意识到 gpt35 不支持 function calling 。提供的 SimpleLoggerAdvisor 不能把所有的 http req 和 resp 都打出来。其他语言的类似框架都是怎么样的

    1 replies    2025-04-17 10:01:03 +08:00
    yjaal
        1
    yjaal  
       Apr 17, 2025
    确实,每次有问题的时候想排查是不是哪个参数没有正确设置时很难找到最终发送的那个 url 和参数,不知掉为啥搞得那么深,试试 langchain4j 看看
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2598 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 14:10 · PVG 22:10 · LAX 07:10 · JFK 10:10
    ♥ Do have faith in what you're doing.