Using @Tool annotation for Function beans? #2581
Replies: 1 comment 1 reply
-
Thanks, interesting idea. Let me link to this in a new issue and see if we can get it in for RC1 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a bunch of tools implemented as Functions and instantiated as Spring Beans (with a custom annotation), e.g.:
To register the tools, we've implemented a custom ToolCallbackProvider that looks for this custom annotation:
We're wondering if there's a better way...
Can the Spring AI tool annotation somehow be used instead of our custom annotation for our Function beans?
Beta Was this translation helpful? Give feedback.
All reactions