-
I have a use case where the list of functions that could be used by the Assistant is dynamic (I get the list programmatically from an external API). I could use something like the following:
But the actual function name here is of course always the same. Maybe I am not that adept with Python, I thought about using lambda functions, but there does not seem to be a way to realize my use case of dynamic functions. If this is the case, then it would be nice to be able to support it via e.g. providing a proxy function that receivers the name of the function first and arguments. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, lambda functions were working after all. :) Here is a little snippet in case someone tries to do something like this:
and
|
Beta Was this translation helpful? Give feedback.
Ok, lambda functions were working after all. :) Here is a little snippet in case someone tries to do something like this:
and