Skip to content

Commit 631207b

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-376: docs: fix some issues
1 parent f24b61b commit 631207b

20 files changed

Lines changed: 142 additions & 142 deletions

docs/api-references/text-models-llm/OpenAI/o1-mini.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A cost-efficient reasoning model optimized for STEM tasks (science, technology,
1919

2020
###  :digit\_two: Copy the code example
2121

22-
Below, you'll find [a code example](o1-mini.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
22+
At the bottom of this page, you'll find [a code example](o1-mini.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2323

2424
### :digit\_three: Modify the code example
2525

docs/api-references/text-models-llm/OpenAI/o1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A state-of-the-art language model designed to excel in complex reasoning tasks,
2323

2424
###  :digit\_two: Copy the code example
2525

26-
Below, you'll find [a code example](o1.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
26+
At the bottom of this page, you'll find [a code example](o1.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2727

2828
### :digit\_three: Modify the code example
2929

docs/api-references/text-models-llm/OpenAI/o3-mini.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A model designed to excel in complex reasoning tasks, including mathematical pro
1919

2020
###  :digit\_two: Copy the code example
2121

22-
Below, you'll find [a code example](o3-mini.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
22+
At the bottom of this page, you'll find [a code example](o3-mini.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2323

2424
### :digit\_three: Modify the code example
2525

docs/api-references/text-models-llm/openai/gpt-4.1-mini.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This model, **GPT-4.1 mini**, is an impressive improvement in small model capabi
2121

2222
###  :digit\_two: Copy the code example
2323

24-
Below, you'll find [a code example](gpt-4.1-mini.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
24+
At the bottom of this page, you'll find [a code example](gpt-4.1-mini.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2525

2626
### :digit\_three: Modify the code example
2727

docs/api-references/text-models-llm/openai/gpt-4.1-nano.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This model, **GPT-4.1 nano**, is fast, affordable, and powerful. It handles long
2121

2222
###  :digit\_two: Copy the code example
2323

24-
Below, you'll find [a code example](gpt-4.1-nano.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
24+
At the bottom of this page, you'll find [a code example](gpt-4.1-nano.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2525

2626
### :digit\_three: Modify the code example
2727

docs/api-references/text-models-llm/openai/gpt-4.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ All models of the GPT-4.1 family outperform [GPT‑4o](../OpenAI/gpt-4o.md) and
1919

2020
###  :digit\_two: Copy the code example
2121

22-
Below, you'll find [a code example](gpt-4.1.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
22+
At the bottom of this page, you'll find [a code example](gpt-4.1.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2323

2424
### :digit\_three: Modify the code example
2525

docs/api-references/text-models-llm/openai/gpt-5-chat.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The non-reasoning version of [GPT‑5](gpt-5.md).
2121

2222
###  :digit\_two: Copy the code example
2323

24-
Below, you'll find [a code example](gpt-5-chat.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
24+
At the bottom of this page, you'll find [a code example](gpt-5-chat.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2525

2626
### :digit\_three: Modify the code example
2727

@@ -42,6 +42,20 @@ If you need a more detailed walkthrough for setting up your development environm
4242

4343
</details>
4444

45+
## API Schema
46+
47+
{% openapi-operation spec="gpt-5-chat" path="/v1/chat/completions" method="post" %}
48+
[OpenAPI gpt-5-chat](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5-chat.json)
49+
{% endopenapi-operation %}
50+
51+
### Responses Endpoint
52+
53+
This endpoint is currently used _only_ with OpenAI models. Some models support both the `/chat/completions` and `/responses` endpoints, while others support only one of them. OpenAI has announced plans to expand the capabilities of the `/responses` endpoint in the future.
54+
55+
{% openapi-operation spec="responses-all-models" path="/v1/responses" method="post" %}
56+
[OpenAPI responses-all-models](https://api.aimlapi.com/docs-public-yaml)
57+
{% endopenapi-operation %}
58+
4559
## Code Example
4660

4761
{% tabs %}
@@ -169,20 +183,6 @@ main();
169183

170184
</details>
171185

172-
## API Schema
173-
174-
{% openapi-operation spec="gpt-5-chat" path="/v1/chat/completions" method="post" %}
175-
[OpenAPI gpt-5-chat](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5-chat.json)
176-
{% endopenapi-operation %}
177-
178-
### Responses Endpoint
179-
180-
This endpoint is currently used _only_ with OpenAI models. Some models support both the `/chat/completions` and `/responses` endpoints, while others support only one of them. OpenAI has announced plans to expand the capabilities of the `/responses` endpoint in the future.
181-
182-
{% openapi-operation spec="responses-all-models" path="/v1/responses" method="post" %}
183-
[OpenAPI responses-all-models](https://api.aimlapi.com/docs-public-yaml)
184-
{% endopenapi-operation %}
185-
186186
## Code Example #2: Using /responses Endpoint
187187

188188
{% tabs %}

docs/api-references/text-models-llm/openai/gpt-5-mini.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ OA quicker, more budget-friendly variant of [GPT-5](gpt-5.md), ideal for clear t
2323

2424
### &#x20;:digit\_two: Copy the code example
2525

26-
Below, you'll find [a code example](gpt-5-mini.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
26+
At the bottom of this page, you'll find [a code example](gpt-5-mini.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2727

2828
### :digit\_three: Modify the code example
2929

@@ -44,6 +44,20 @@ If you need a more detailed walkthrough for setting up your development environm
4444

4545
</details>
4646

47+
## API Schema
48+
49+
{% openapi-operation spec="gpt-5-mini" path="/v1/chat/completions" method="post" %}
50+
[OpenAPI gpt-5-mini](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5-mini.json)
51+
{% endopenapi-operation %}
52+
53+
### Responses Endpoint
54+
55+
This endpoint is currently used _only_ with OpenAI models. Some models support both the `/chat/completions` and `/responses` endpoints, while others support only one of them. OpenAI has announced plans to expand the capabilities of the `/responses` endpoint in the future.
56+
57+
{% openapi-operation spec="responses-all-models" path="/v1/responses" method="post" %}
58+
[OpenAPI responses-all-models](https://api.aimlapi.com/docs-public-yaml)
59+
{% endopenapi-operation %}
60+
4761
## Code Example
4862

4963
{% tabs %}
@@ -170,20 +184,6 @@ main();
170184

171185
</details>
172186

173-
## API Schema
174-
175-
{% openapi-operation spec="gpt-5-mini" path="/v1/chat/completions" method="post" %}
176-
[OpenAPI gpt-5-mini](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5-mini.json)
177-
{% endopenapi-operation %}
178-
179-
### Responses Endpoint
180-
181-
This endpoint is currently used _only_ with OpenAI models. Some models support both the `/chat/completions` and `/responses` endpoints, while others support only one of them. OpenAI has announced plans to expand the capabilities of the `/responses` endpoint in the future.
182-
183-
{% openapi-operation spec="responses-all-models" path="/v1/responses" method="post" %}
184-
[OpenAPI responses-all-models](https://api.aimlapi.com/docs-public-yaml)
185-
{% endopenapi-operation %}
186-
187187
## Code Example #2: Using /responses Endpoint
188188

189189
{% tabs %}

docs/api-references/text-models-llm/openai/gpt-5-nano.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The smallest, fastest, and most affordable model in the GPT-5 lineup. While it
1919

2020
### &#x20;:digit\_two: Copy the code example
2121

22-
Below, you'll find [a code example](gpt-5-nano.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
22+
At the bottom of this page, you'll find [a code example](gpt-5-nano.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2323

2424
### :digit\_three: Modify the code example
2525

@@ -40,6 +40,20 @@ If you need a more detailed walkthrough for setting up your development environm
4040

4141
</details>
4242

43+
## API Schema
44+
45+
{% openapi-operation spec="gpt-5-nano" path="/v1/chat/completions" method="post" %}
46+
[OpenAPI gpt-5-nano](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5-nano.json)
47+
{% endopenapi-operation %}
48+
49+
### Responses Endpoint
50+
51+
This endpoint is currently used _only_ with OpenAI models. Some models support both the `/chat/completions` and `/responses` endpoints, while others support only one of them. OpenAI has announced plans to expand the capabilities of the `/responses` endpoint in the future.
52+
53+
{% openapi-operation spec="responses-all-models" path="/v1/responses" method="post" %}
54+
[OpenAPI responses-all-models](https://api.aimlapi.com/docs-public-yaml)
55+
{% endopenapi-operation %}
56+
4357
## Code Example
4458

4559
{% tabs %}
@@ -166,20 +180,6 @@ main();
166180

167181
</details>
168182

169-
## API Schema
170-
171-
{% openapi-operation spec="gpt-5-nano" path="/v1/chat/completions" method="post" %}
172-
[OpenAPI gpt-5-nano](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5-nano.json)
173-
{% endopenapi-operation %}
174-
175-
### Responses Endpoint
176-
177-
This endpoint is currently used _only_ with OpenAI models. Some models support both the `/chat/completions` and `/responses` endpoints, while others support only one of them. OpenAI has announced plans to expand the capabilities of the `/responses` endpoint in the future.
178-
179-
{% openapi-operation spec="responses-all-models" path="/v1/responses" method="post" %}
180-
[OpenAPI responses-all-models](https://api.aimlapi.com/docs-public-yaml)
181-
{% endopenapi-operation %}
182-
183183
## Code Example #2: Using /responses Endpoint
184184

185185
{% tabs %}

docs/api-references/text-models-llm/openai/gpt-5.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ OpenAI’s most advanced (and the most capable coding) model as of **August 2025
2323

2424
### &#x20;:digit\_two: Copy the code example
2525

26-
Below, you'll find [a code example](gpt-5.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
26+
At the bottom of this page, you'll find [a code example](gpt-5.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2727

2828
### :digit\_three: Modify the code example
2929

@@ -44,6 +44,20 @@ If you need a more detailed walkthrough for setting up your development environm
4444

4545
</details>
4646

47+
## API Schema
48+
49+
{% openapi-operation spec="gpt-5-test" path="/v1/chat/completions" method="post" %}
50+
[OpenAPI gpt-5-test](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5.json)
51+
{% endopenapi-operation %}
52+
53+
### Responses Endpoint
54+
55+
This endpoint is currently used _only_ with OpenAI models. Some models support both the `/chat/completions` and `/responses` endpoints, while others support only one of them. OpenAI has announced plans to expand the capabilities of the `/responses` endpoint in the future.
56+
57+
{% openapi-operation spec="responses-all-models" path="/v1/responses" method="post" %}
58+
[OpenAPI responses-all-models](https://api.aimlapi.com/docs-public-yaml)
59+
{% endopenapi-operation %}
60+
4761
## Code Example
4862

4963
{% tabs %}
@@ -170,20 +184,6 @@ main();
170184

171185
</details>
172186

173-
## API Schema
174-
175-
{% openapi-operation spec="gpt-5-test" path="/v1/chat/completions" method="post" %}
176-
[OpenAPI gpt-5-test](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/OpenAI/gpt-5.json)
177-
{% endopenapi-operation %}
178-
179-
### Responses Endpoint
180-
181-
This endpoint is currently used _only_ with OpenAI models. Some models support both the `/chat/completions` and `/responses` endpoints, while others support only one of them. OpenAI has announced plans to expand the capabilities of the `/responses` endpoint in the future.
182-
183-
{% openapi-operation spec="responses-all-models" path="/v1/responses" method="post" %}
184-
[OpenAPI responses-all-models](https://api.aimlapi.com/docs-public-yaml)
185-
{% endopenapi-operation %}
186-
187187
## Code Example #2: Using /responses Endpoint
188188

189189
{% tabs %}

0 commit comments

Comments
 (0)