Skip to content

Conversation

ernop
Copy link

@ernop ernop commented Feb 21, 2024

The OpenAI image generation endpoint returns a field called revised_prompt. When you submit a prompt for image generation, before sending it to Dalle3, GPT revises it. This field contains the actual text that Dalle3 used.

As of now, this C# API does not correctly deserialize this field because there is no JsonProperty to match the names in the Response model.

This pull request is a one-line fix. I've tested it and it works locally.

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

Successfully merging this pull request may close these issues.

1 participant