Open GOWTHAM-DORA opened 1 month ago
Hmm, I don't think the AzureOpenAIMultiModal can be used directly in most query engines (except the multi modal query engine)
You can use AzureOpenAI and set the model to be gpt-4o instead
In general, we need to merge these multimodal classes into the main LLM class, too much code duplication, hard to maintain. Its on the roadmap
@logan-markewich , okay got it, so you suggested to use AzureOpenAI and set the model to be gpt-4o instead, how can I do this
@logan-markewich , I used gpt-4o model with AzureOpenAI , did't get any errors but the subquestion query engine failed to run the subquestions and gave an empty response.
Bug Description
I am using subquestion query engine with gpt-40 model which I initialized using AzureOpenAIMultiModal class and when I query using subquestion query engine , the attribute error is coming AttributeError: 'AzureOpenAIMultiModal' object has no attribute 'predict'
Version
0.10.42
Steps to Reproduce
Define gpt-4o LLM using AzureOpenAIMultiModal Define the query engine tools list pass these query engine tools to subquestion query engine and start querying.
Relevant Logs/Tracbacks