Options are either users provide FunctionCallback
implementations in the application, or we split the current FunctionCallback
in such a way that the call()
method is separated from the other regular properties.
Comment From: ThomasVitale
Would it be acceptable to remove FunctionCallback
as something configurable via application.properties
and keep the option to register them as beans?
With the recent changes in the tool calling feature, I wonder how would this work considering the different ToolCallback
implementations.
@tzolov what do you think?
References: - https://github.com/spring-projects/spring-ai/pull/2064 - https://github.com/spring-projects/spring-ai/pull/2085 - https://github.com/spring-projects/spring-ai/pull/2121