CapabilityHostBuilder
Class net8.0
A fluent builder for configuring a capability host on a Microsoft Foundry project.
namespace Aspire.Hosting.Foundry;
public class CapabilityHostBuilder{ // ...} 6 members
Constructors1
Section titled ConstructorsProperties1
Section titled PropertiesMethods4
Section titled MethodsWithAzureOpenAI(IResourceBuilder<FoundryResource>) Configures an Azure OpenAI-type Microsoft Foundry account for AI model calls.
WithCosmosDB(IResourceBuilder<AzureCosmosDBResource>) Configures the Cosmos DB resource for metadata and conversation state storage.
WithSearch(IResourceBuilder<AzureSearchResource>) Configures the Azure Search resource for vector search capabilities.
WithStorage(IResourceBuilder<AzureStorageResource>) Configures the Storage resource for file storage.