Application Programming Interface#
Submission#
- aurora.foundry.client.api.submit(batch: Batch, model_name: str, num_steps: int, channel: CommunicationChannel, foundry_client: FoundryClient) Generator[Batch, None, None] [source]#
Submit a request to Azure AI Foundry and retrieve the predictions.
- Parameters:
batch (
aurora.Batch
) – Initial condition.model_name (str) – Name of the model. This name must be available in
aurora.foundry.common.model
. See the Aurora Foundry Python API documentation for which models are available.num_steps (int) – Number of prediction steps.
channel (
aurora.foundry.common.channel.CommunicationChannel
) – Channel to use for sending and receiving data.foundry_client (
aurora.foundry.client.foundry.FoundryClient
) – Client to communicate with Azure Foundry AI.
- Yields:
aurora.Batch
– Predictions.
Available Models#
These models need to be referred to by the value of their attribute name.
- class aurora.foundry.common.model.AuroraFineTuned[source]#
- name = 'aurora-0.25-finetuned'#
Name of the model.
- Type:
str
- class aurora.foundry.common.model.AuroraPretrained[source]#
- name = 'aurora-0.25-pretrained'#
Name of the model.
- Type:
str
- class aurora.foundry.common.model.AuroraSmallPretrained[source]#
- name = 'aurora-0.25-small-pretrained'#
Name of the model.
- Type:
str
- class aurora.foundry.common.model.Aurora12hPretrained[source]#
- name = 'aurora-0.25-12h-pretrained'#
Name of the model.
- Type:
str
- class aurora.foundry.common.model.AuroraHighRes[source]#
- name = 'aurora-0.1-finetuned'#
Name of the model.
- Type:
str