Azure Open AI Function Calling/Giving GPT-4 Python bot Tools (like search)


I am looking into Function Calling for my Python based chatbot.
It works fine with Open AI Assistants then using Tavily web search. However, cannot make it work with Azure Open AI. I am looking for example code or the best/better approach (using LangChain or other …?). Note: I have other functions like to create a WordPress blog with picture etc which I would like to feed as function later on too.

Kind regards,