使用SpringAi 整合MaxKb 404

这里对接的接口地址确认是正确的吗?404是标准的没有这个路径。

对比一下,是SpringAi调用的接口中多了一个v1

是正确的,从Maxkb本地安装的页面上面拷贝的BaseUrl

添加配置spring.ai.openai.chat.completions-path=/chat/completions 解决

1 个赞

大佬有相关调用demo不,参考一下