ContentSafetyServiceConfiguration.hubBased constructor
const
ContentSafetyServiceConfiguration.hubBased({})
Creates a configuration for a Hub-based Azure AI Foundry project.
Implementation
const ContentSafetyServiceConfiguration.hubBased({
required this.subscriptionId,
required this.resourceGroupName,
required this.projectName,
required this.apiKey,
this.endpoint,
this.timeoutInSeconds = 120,
});