Relative Content

Tag Archive for azure-promptflow

How to use connections in function calling?

I’m building a flow with LLM node that should be able to call a function to retrieve data from a database. I’m able to run a prototype of the function, however, I’m not aware how to use connections within those functions. Together with @tools, I can inject them, however with function calling I get run_kusto_lookup() missing 2 required positional arguments: 'db_conn' and 'aoai_conn' as I don’t know how to pass the static arguments of those connections to the function.