The community member is trying to use AzureOpenAI with function calling, but it is not working, while using OpenAI is working fine. The community member provides a code snippet that shows how they are trying to use AzureOpenAI. Another community member comments that the community member needs to use a newer API version, as 2023-12-01-preview is quite old and may not support function calling.
How to use AzureOpenAI with function calling? Using OpenAI, it is working fine, but It is not working with AzureOpenAI func_response = getGPT35Client(True).complete(func_prompt, tools=[relevance_fn])