Skip to content

Commit 5d2f33f

Browse files
authored
fix: add truncate in introducing-apisix-ai-gateway (#1890)
1 parent 5fb702c commit 5d2f33f

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

blog/en/blog/2025/04/08/introducing-apisix-ai-gateway.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ tags: [Ecosystem]
1717
image: https://static.api7.ai/uploads/2025/03/07/Qs4WrU0I_apisix-ai-gateway.webp
1818
---
1919

20-
In Apache APISIX version 3.12.0, we have further enhanced its AI support capabilities as a modern API gateway. Through a rich plugin ecosystem and flexible architectural design, we provide developers with a complete AI gateway product.
20+
>In Apache APISIX version 3.12.0, we have further enhanced its AI support capabilities as a modern API gateway. Through a rich plugin ecosystem and flexible architectural design, we provide developers with a complete AI gateway product.
21+
22+
<!--truncate-->
2123

2224
This article delves into APISIX's innovative practices in the AI gateway domain from the following perspectives.
2325

@@ -150,17 +152,17 @@ Example response:
150152
{
151153
"content": "Client information from customer service calls",
152154
"role": "system"
153-
},
155+
},
154156
{
155157
# highlight-next-line
156158
"content": "John said his debit card number is **** **** **** 1111 and SIN is ***-**-****."
157159
"role": "user"
158160
}
159-
],
161+
],
160162
"model": "openai"
161-
},
162-
"method": "POST",
163-
"origin": "192.168.97.1, 103.97.2.170",
163+
},
164+
"method": "POST",
165+
"origin": "192.168.97.1, 103.97.2.170",
164166
"url": "http://127.0.0.1/anything"
165167
}
166168
```

blog/zh/blog/2025/04/08/introducing-apisix-ai-gateway.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ tags: [Ecosystem]
1717
image: https://static.api7.ai/uploads/2025/03/07/Qs4WrU0I_apisix-ai-gateway.webp
1818
---
1919

20-
在 Apache APISIX 3.12.0 版本中,我们进一步强化了其作为现代 API 网关的 AI 支持能力。通过丰富的插件生态和灵活的架构设计,为开发者提供了完整的 AI 网关产品。
20+
>在 Apache APISIX 3.12.0 版本中,我们进一步强化了其作为现代 API 网关的 AI 支持能力。通过丰富的插件生态和灵活的架构设计,为开发者提供了完整的 AI 网关产品。
21+
22+
<!--truncate-->
2123

2224
本文将从以下几个维度解析 APISIX 在 AI 网关领域的创新实践。
2325

@@ -153,17 +155,17 @@ curl "http://127.0.0.1:9080/anything" -X POST \
153155
{
154156
"content": "Client information from customer service calls",
155157
"role": "system"
156-
},
158+
},
157159
{
158160
# highlight-next-line
159161
"content": "John said his debit card number is **** **** **** 1111 and SIN is ***-**-****."
160162
"role": "user"
161163
}
162-
],
164+
],
163165
"model": "openai"
164-
},
165-
"method": "POST",
166-
"origin": "192.168.97.1, 103.97.2.170",
166+
},
167+
"method": "POST",
168+
"origin": "192.168.97.1, 103.97.2.170",
167169
"url": "http://127.0.0.1/anything"
168170
}
169171
```

0 commit comments

Comments
 (0)