Skip to content

Conversation

@sebastienros
Copy link
Member

@sebastienros sebastienros commented Oct 31, 2024

Building over @SteveSandersonMS PR to demonstrate the end-to-end experience when ai models/deployments are configured at the host level only.

Microsoft Reviewers: Open in CodeFlow

@sebastienros sebastienros changed the title Sebros/hostmodels Configure OpenAI models in the app host Oct 31, 2024
@SteveSandersonMS
Copy link
Member

Overall looks great. @eerhardt's point about the breaking change is probably the main thing to consider. Besides that it looks pretty close to being ready.

@eerhardt eerhardt mentioned this pull request Nov 12, 2024
16 tasks
…ebros/hostmodels

# Conflicts:
#	playground/OpenAIEndToEnd/OpenAIEndToEnd.WebStory/Program.cs
#	src/Components/Aspire.Azure.AI.OpenAI/AspireAzureOpenAIClientBuilderChatClientExtensions.cs
#	src/Components/Aspire.Azure.AI.OpenAI/PublicAPI.Unshipped.txt
@sebastienros
Copy link
Member Author

I updated the PR. @SteveSandersonMS is this something we could merge in your PR as it's impacting how configuration is passed to the clients. Other option is I wait for your PR to be done and then react to the changes.

@eerhardt eerhardt added this to the 9.2 milestone Feb 25, 2025
@danmoseley danmoseley added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Mar 4, 2025
@eerhardt eerhardt added area-integrations Issues pertaining to Aspire Integrations packages azure Issues associated specifically with scenarios tied to using Azure and removed area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication labels Mar 10, 2025
@joperezr joperezr assigned eerhardt and unassigned sebastienros Mar 10, 2025
@eerhardt
Copy link
Member

@sebastienros @captainsafia - I pushed some changes to this branch. I still need to update tests. But can you take a look at the current approach?

@dotnet-policy-service dotnet-policy-service bot removed the needs-author-action An issue or pull request that requires more info or actions from the author. label Mar 31, 2025
- Obsolete the existing APIs
- Add unit tests
- Switch the deployment name to default to the resource name
@eerhardt eerhardt requested a review from captainsafia April 1, 2025 00:02
Change CreateDeployment to not take a ref and return the same thing.
@sebastienros
Copy link
Member Author

Note that since I created the PR, I can't approve it ✅

@eerhardt eerhardt merged commit 16246fb into main Apr 1, 2025
172 checks passed
@eerhardt eerhardt deleted the sebros/hostmodels branch April 1, 2025 17:26
radical pushed a commit to radical/aspire that referenced this pull request Apr 1, 2025
Configure OpenAI models in the app host as child resources. This allows for models/deployments to be WithReference'd directly and can easily be referenced from service apps.

Contributes to dotnet#7907

* Add OpenAI child deployment resource.

Use it in the OpenAI playground.

* PR feedback

- Obsolete the existing APIs
- Add unit tests
- Switch the deployment name to default to the resource name

* PR feedback

Change CreateDeployment to not take a ref and return the same thing.

---------

Co-authored-by: Steve Sanderson <[email protected]>
Co-authored-by: Eric Erhardt <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators May 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages azure Issues associated specifically with scenarios tied to using Azure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants