Skip to content

Show how to use hosting for AddAzureOpenAIClient and AddImageGenerator #49445

@gewarren

Description

@gewarren

Add a section to the end of the https://github.com/dotnet/docs/blob/main/docs/ai/quickstarts/text-to-image.md article that shows how to use this stuff with hosting, by using things like AddAzureOpenAIClient and AddImageGenerator (similar to https://github.com/ericstj/imageGeneratorSample/blob/8a976997f5a762885c2fa3e76c206723263c3ded/imageGeneratorSample.Web/Program.cs#L16-L26.)

Originally posted by @ericstj in #49391 (comment)


Associated WorkItem - 508903

Metadata

Metadata

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions