Support more application context types with function calling #1892
dominik5566
started this conversation in
General
Replies: 0 comments
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.
-
I try to get "function calling" running with the OpenAi model, but currently this seems impossible, because I cannot create a FunctionCallbackContext which is part of spring-ai-core. The "FunctionCallbackContext" is ApplicationContextAware but explicitly casts the applicationContext to a "GenericApplicationContext".
Any plans to make the library more flexible? We use XmlWebApplicationContext so we get a ClassCastException here
Beta Was this translation helpful? Give feedback.
All reactions