Skip to content

KernelSyntaxExample 18: Failed on using Azure OpenAI #3811

@TaoChenOSU

Description

@TaoChenOSU

Describe the bug
Azure OpenAI responded with 404 in example 18 where GenerateImageAsync was called on the IImageGeneration instance.
image
Model used: gpt-4
Endpoint is our internal endpoint, not sure if it supports image generation.
Also, would be nice to be able to configure different endpoints for text and image generation.

OpenAI service succeeded the tasks on generating an image and chatting with images.
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform

  • OS: [e.g. Windows, Mac]
  • IDE: [e.g. Visual Studio, VS Code]
  • Language: [e.g. C#, Python]
  • Source: [e.g. NuGet package version 0.1.0, pip package version 0.1.0, main branch of repository]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

.NETIssue or Pull requests regarding .NET codesk team issueA tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)

Type

No type

Projects

Status

Sprint: Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions