Cuir in eagar

Comhroinn trí


Connect AI services to your hub in Azure AI Studio

You can try out AI services for free in Azure AI Studio via model catalog cards and playground experiences. This article describes how to use AI services connections to do more via Azure AI Studio, SDKs, and APIs.

After you create a hub with AI services, you can use the AI services connection via the AI Studio UI, APIs, and SDKs. For example, you can try out AI services via Home > AI Services in the AI Studio UI as shown here.

Screenshot of the AI Services page in Azure AI Studio.

Create a hub

You need a hub to connect to AI services in Azure AI Studio. When you create a hub, a connection to AI services is automatically created.

To create a hub in Azure AI Studio, follow these steps:

  1. Go to the Home page in Azure AI Studio and sign in with your Azure account.

  2. Select All hubs from the left pane and then select + New hub.

    Screenshot of the button to create a new hub.

  3. In the Create a new hub dialog, enter a name for your hub (such as contoso-hub) and select Next. Leave the default Connect Azure AI Services option selected. A new AI services connection is created for the hub.

    Screenshot of the dialog to connect services while creating a new hub.

  4. Review the information and select Create.

    Screenshot of the dialog to review the settings for the new hub.

  5. You can view the progress of the hub creation in the wizard.

    Screenshot of the dialog to review the progress of hub resources creation.

Connect to AI services

Your hub is now created and you can connect to AI services. From the Hub overview page, you can see the AI services connection that was created with the hub.

Screenshot of the hub's AI services connections.

You can use the AI services connection via the AI Studio UI, APIs, and SDKs.

Use the AI services connection in the AI Studio UI

No further configuration is needed to use the AI services connection in the AI Studio UI. You can try out AI services via Home > AI Services in the AI Studio UI.

Here are examples of more ways to use AI services in the AI Studio UI.

Use the AI services connection in APIs and SDKs

You can use the AI services connection via the APIs and SDKs for a subset of AI services: Azure OpenAI, Speech, Language, Translator, Vision, Document Intelligence, and Content Safety.

To use the AI services connection via the APIs and SDKs, you need to get the key and endpoint for the connection.

  1. From the Home page in AI Studio, select All hubs from the left pane. Then select the hub you created.

  2. Select the AI Services connection from the Hub overview page.

  3. You can find the key and endpoint for the AI services connection on the Connection details page.

    Screenshot of the AI services connection details.

The AI services key and endpoint are used to authenticate and connect to AI services via the APIs and SDKs.

For more information about AI services APIs and SDKs, see the Azure AI services SDK reference documentation and Azure AI services REST API reference documentation.