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

Microsoft.Extensions.AI - Error when using Azure Open AI by sending image. #5734

Open
GustavoFiacador opened this issue Dec 11, 2024 · 2 comments
Labels
area-AI bug This issue describes a behavior which is not expected - a bug. untriaged waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue.

Comments

@GustavoFiacador
Copy link

Description

HI!

I'm encountering an error when using GPT-4 from Azure OpenAI with the Microsoft.Extensions.AI library. When I send an image, it returns saying that the model is not supported, regardless of which model I use (e.g., GPT-4, 3.5-turbo, etc.).

I used this tutorial:
introducing-microsoft-extensions-ai-preview

Reproduction Steps

Example of code:

Image

Expected behavior

The expected return is the analysis of the image.

Actual behavior

Example of error:

Image

Regression?

No response

Known Workarounds

No response

Configuration

.net 8 lts
windows

Other information

No response

@GustavoFiacador GustavoFiacador added bug This issue describes a behavior which is not expected - a bug. untriaged labels Dec 11, 2024
@SteveSandersonMS
Copy link
Member

Can you state the exact model name of the model you think should work but doesn't?

We have integration tests (example) showing this works. By default our integration tests for OpenAI run on gpt-4o-mini. Can you try gpt-4o-mini?

@SteveSandersonMS SteveSandersonMS added the waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue. label Dec 17, 2024
Copy link
Contributor

This submission has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 14 days.

It will be closed if no further activity occurs within 7 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-AI bug This issue describes a behavior which is not expected - a bug. untriaged waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue.
Projects
None yet
Development

No branches or pull requests

4 participants