im using the azureopenai and getting this error: 'AzureOpenAI' object has no attribute 'achat_with_tools'. Code is below:
# INDEXING_SERVICE.llm is AzureOpenAI gpt-35-turbo-16k
# data_tool is a QueryEngineTool
worker = FunctionCallingAgentWorker.from_tools(
[data_tool], verbose=True, llm=INDEXING_SERVICE.llm
)
agent = StructuredPlannerAgent(worker, tools=[data_tool], verbose=True, llm=INDEXING_SERVICE.llm)
r = agent.chat('Whats the ip information for customer0?')
I dont see the function achat_with_tools on the class AzureOpenAI. Is the StructuredPlannerAgent not available at all for the AzureOpenAI?