[Bug]: SubQuestion Query Engine not working with Azure Open AI GPT #8564
Replies: 3 comments
-
🤖 Hello @Shubham-Sahay, I'm here to assist you with your issue. I'm an AI bot designed to help solve bugs, answer questions, and guide you in contributing to the LlamaIndex project. From your description, it seems like you're encountering an error with the SubQuestion Query Engine when working with Azure Open AI GPT. The error message you're receiving is "unrecognized request argument supplied: funtions". I found a similar issue that was resolved in the past: openai.Getting error.InvalidRequestError on SubQuestionQueryEngine. This issue might provide some insights into your problem. The SubQuestion Query Engine in the LlamaIndex codebase is designed to break down a complex query into many sub-questions and their target query engine for execution. After executing all sub-questions, all responses are gathered and sent to a response synthesizer to produce the final response. The error message you're receiving suggests that there might be an unrecognized request argument. It's possible that there's a typo or an incorrect argument in your code. The argument "funtions" seems to be misspelled. Could it be "functions" instead? Please double-check your code for any typos or incorrect arguments. If the problem persists, could you please provide more details about the exact line of code where the error occurs? This will help in diagnosing the issue more accurately. I hope this helps! If you have any more questions or need further clarification, feel free to ask. Best, Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
-
You need API 2023-07-01-preview or later to use function calling ability. |
Beta Was this translation helpful? Give feedback.
-
Hi @Disiok, i have been using the same api version. Still facing the issue. |
Beta Was this translation helpful? Give feedback.
-
Bug Description
Getting error unrecognized request argument supplied: funtions
I have used below exact code shared by @jerryjliu in one of his sessions:
Please note that query engine is working fine individually on uber and lyft but while using sub query engine i am encountering this error.
Please refer to this discord thread for discussion on this where one developer have pointed to exact place in code where the bug is present. Please help me get this running as i am working on some urgent requirement for document comparison.
Version
0.8.54
Steps to Reproduce
Follow screenshot of code in sequence with azure open ai models.
Relevant Logs/Tracbacks
No response
Beta Was this translation helpful? Give feedback.
All reactions