Skip to content

Commit e7430c9

Browse files
committed
edits, review
1 parent ec5a35a commit e7430c9

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

7.87 KB
Loading

articles/api-management/openai-compatible-google-gemini-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.custom: template-how-to
1515

1616
[!INCLUDE [api-management-availability-all-tiers](../../includes/api-management-availability-all-tiers.md)]
1717

18-
This article shows you how to import an OpenAI-compatible Google Gemini API to access models such as `gemini-2.5 -flash`. For these models, Azure API Management can manage an OpenAI-compatible chat completions endpoint.
18+
This article shows you how to import an OpenAI-compatible Google Gemini API to access models such as `gemini-2.5-flash-lite`. For these models, Azure API Management can manage an OpenAI-compatible chat completions endpoint.
1919

2020
Learn more about managing AI APIs in API Management:
2121

@@ -65,11 +65,11 @@ After importing the API, you can test the chat completions endpoint for the API.
6565
1. Select the API that you created in the previous step.
6666
1. Select the **Test** tab.
6767
1. Select the `POST Creates a model response for the given chat conversation` operation, which is a `POST` request to the `/chat/completions` endpoint.
68-
1. In the **Request body** section, enter the following JSON to specify the model and an example prompt. In this example, the `gemini-2.5-flash` model is used.
68+
1. In the **Request body** section, enter the following JSON to specify the model and an example prompt. In this example, the `gemini-2.5-flash-lite` model is used.
6969

7070
```json
7171
{
72-
"model": "gemini-2.5-flash",
72+
"model": "gemini-2.5-flash-lite",
7373
"messages": [
7474
{
7575
"role": "system",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ ms.custom: template-how-to
1515

1616
[!INCLUDE [api-management-availability-all-tiers](../../includes/api-management-availability-all-tiers.md)]
1717

18-
You can import OpenAI-compatible language model endpoints or non-compatible models as passthrough APIs to your API Management instance. For example, manage self-hosted LLMs or those hosted on inference providers other than Azure AI services. Use AI gateway policies and other API Management capabilities to simplify integration, improve observability, and enhance control over model endpoints.
18+
You can import OpenAI-compatible language model endpoints to your API Management instance, or import non-compatible models as passthrough APIs. For example, manage self-hosted LLMs or those hosted on inference providers other than Azure AI services. Use AI gateway policies and other API Management capabilities to simplify integration, improve observability, and enhance control over model endpoints.
1919

2020
Learn more about managing AI APIs in API Management:
2121

2222
* [AI gateway capabilities in Azure API Management](genai-gateway-capabilities.md)
2323

2424
## Language model API types
2525

26-
API Management supports two language model API types. Choose the option that matches your model deployment, which determines how clients call the API and how requests route to the AI service.
26+
API Management supports two language model API types. Choose the option that matches your model deployment, which determines how clients call the API and how requests get route to the AI service.
2727

2828
* **OpenAI-compatible** - Language model endpoints compatible with OpenAI's API. Examples include [Hugging Face Text Generation Inference (TGI)](https://huggingface.co/docs/text-generation-inference/en/index) and [Google Gemini API](openai-compatible-google-gemini-api.md).
2929

0 commit comments

Comments
 (0)