Skip to content

Commit 51f7d9d

Browse files
committed
edits
1 parent 2b3067c commit 51f7d9d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Binary file not shown.

articles/api-management/openai-compatible-llm-api.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ When you import the API, API Management automatically configures:
4646

4747
## Import language model API using the portal
4848

49+
When you import the LLM API in the portal, API Management automatically configures:
50+
51+
* A [backend](backends.md) resource and a [set-backend-service](set-backend-service-policy.md) policy that direct API requests to the LLM endpoint.
52+
* (optionally) Access to the LLM backend using an access key you provide. The key is protected as a secret [named value](api-management-howto-properties.md) in API Management.
53+
* (optionally) Policies to help you monitor and manage the API.
4954

5055
To import a language model API to API Management:
5156

@@ -120,7 +125,7 @@ To import an OpenAI-compatible Gemini model:
120125

121126
### Test Gemini model
122127

123-
After importing the API, you can test it using the test console in the Azure portal. Choose an OpenAI-compatible model and endpoint for the test
128+
After importing the API, you can test it using the test console in the Azure portal. Choose an OpenAI-compatible model and endpoint for the test.
124129

125130
1. Select the API you created in the previous step.
126131
1. Select the **Test** tab.
@@ -133,7 +138,7 @@ After importing the API, you can test it using the test console in the Azure por
133138

134139
When the test is successful, the backend responds with a successful HTTP response code and some data. Appended to the response is token usage data to help you monitor and manage your language model token consumption.
135140

136-
:::image type="content" source="media/openai-compatible-llm-api/gemini-test-small.png" lightbox="media/openai-compatible-llm-api/gemini-test.png" alt-text="Screenshot of testing a Gemini LLM API in the portal.":::
141+
:::image type="content" source="media/openai-compatible-llm-api/gemini-test.png" alt-text="Screenshot of testing a Gemini LLM API in the portal.":::
137142

138143

139144

0 commit comments

Comments
 (0)