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

Azure Image Dall-e-3 setup #118

Merged
merged 1 commit into from
Jan 27, 2024
Merged

Conversation

IRooc
Copy link
Contributor

@IRooc IRooc commented Jan 27, 2024

Same basic setup as OpenAIModel.Images.cs partial class,

Usage example:

var model = new AzureOpenAIModel("AZURE_OPEN_AI_KEY", "ENDPOINT", "DALLE_DEPLOYMENT_NAME");

var imageUrl = await model.GenerateImageAsUrlAsync("a blue horse called Azure");

Console.WriteLine(model.RevisedPromptResult);
Console.WriteLine(imageUrl);

@HavenDV HavenDV merged commit 27e268b into tryAGI:main Jan 27, 2024
2 checks passed
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.

2 participants