Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erro 404 - QuickStart Rag #136

Open
AdemirPacheco opened this issue Dec 26, 2024 · 1 comment
Open

erro 404 - QuickStart Rag #136

AdemirPacheco opened this issue Dec 26, 2024 · 1 comment

Comments

@AdemirPacheco
Copy link

I am having this error, but I am already logged with az login, I checked my permissions, and everything seems fine. Does anyone have any idea what it could be?
image

@AdemirPacheco AdemirPacheco changed the title erro 404 - response = openai_client.chat.completions.create erro 404 - QuickStart Rag Dec 26, 2024
@HeidiSteen
Copy link
Collaborator

HeidiSteen commented Jan 8, 2025

404 is resource not found -- can you check your URIs for the AOAI endpoint and also the model deployment name? Also, check the API version. I've gotten 404 when changing api_version from 2024_06_01 to 2024_11_20, which should have been valid but didn't work for a reason I don't understand yet.

openai_client = AzureOpenAI(
api_version="2024-06-01",
azure_endpoint=AZURE_OPENAI_ACCOUNT,
azure_ad_token_provider=token_provider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants