Function Calling API

在 AI 模型中(例如 ChatGPT)集成函数支持允许模型请求执行客户端函数,从而在需要时访问必要的信息或动态执行任务。

The integration of function support in AI models, such as ChatGPT, permits the model to request the execution of client-side functions, thereby accessing necessary information or performing tasks dynamically as required.

Spring AI 目前支持以下 AI 模型的函数调用

Spring AI currently supports Function invocation for the following AI Models