Find answers from the community

s
F
Y
a
P
Updated last month

Asure

NotFoundError: Error code: 404 - {'error': {'message': 'Unrecognized request argument supplied:
tools', 'type': 'invalid_request_error', 'param': None, 'code': None}}

When trying to use the default open AI agent with azure gpt-4-1106-preview
L
m
12 comments
What api version are you using?
Let me look when I get back in in the am
@Logan M hey what do youean by this, I don't see a version on my azure deploy, and I'm using the most recent version of llama index Azure class
There should be some kind of azure api version right?

For example, here its using api_version = "2023-07-01-preview"
https://docs.llamaindex.ai/en/stable/examples/customization/llms/AzureOpenAI.html
usually that error happens either with an older api version, or an older llm (but since you are using gpt-4 1106-preview, that shouldn't be the issue πŸ€” )
I see I'm using 2023-03-15-preview
ah, that would be the issue yea
The one above is the oldest I've confirmed that works lol
Add a reply
Sign up and join the conversation on Discord