You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by bz...@apache.org on 2025/04/09 06:39:40 UTC
(apisix-website) branch master updated: fix: add truncate in introducing-apisix-ai-gateway (#1890)
This is an automated email from the ASF dual-hosted git repository.
bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5d2f33f532f fix: add truncate in introducing-apisix-ai-gateway (#1890)
5d2f33f532f is described below
commit 5d2f33f532f65f35a818b311fe7825f7b7c45745
Author: Yilia Lin <11...@users.noreply.github.com>
AuthorDate: Wed Apr 9 14:39:34 2025 +0800
fix: add truncate in introducing-apisix-ai-gateway (#1890)
---
blog/en/blog/2025/04/08/introducing-apisix-ai-gateway.md | 14 ++++++++------
blog/zh/blog/2025/04/08/introducing-apisix-ai-gateway.md | 14 ++++++++------
2 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/blog/en/blog/2025/04/08/introducing-apisix-ai-gateway.md b/blog/en/blog/2025/04/08/introducing-apisix-ai-gateway.md
index e4ff6e76dd2..5dabcda76aa 100644
--- a/blog/en/blog/2025/04/08/introducing-apisix-ai-gateway.md
+++ b/blog/en/blog/2025/04/08/introducing-apisix-ai-gateway.md
@@ -17,7 +17,9 @@ tags: [Ecosystem]
image: https://static.api7.ai/uploads/2025/03/07/Qs4WrU0I_apisix-ai-gateway.webp
---
-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.
+>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.
+
+<!--truncate-->
This article delves into APISIX's innovative practices in the AI gateway domain from the following perspectives.
@@ -150,17 +152,17 @@ Example response:
{
"content": "Client information from customer service calls",
"role": "system"
- },
+ },
{
# highlight-next-line
"content": "John said his debit card number is **** **** **** 1111 and SIN is ***-**-****."
"role": "user"
}
- ],
+ ],
"model": "openai"
- },
- "method": "POST",
- "origin": "192.168.97.1, 103.97.2.170",
+ },
+ "method": "POST",
+ "origin": "192.168.97.1, 103.97.2.170",
"url": "http://127.0.0.1/anything"
}
```
diff --git a/blog/zh/blog/2025/04/08/introducing-apisix-ai-gateway.md b/blog/zh/blog/2025/04/08/introducing-apisix-ai-gateway.md
index ff84713635c..46b5493093c 100644
--- a/blog/zh/blog/2025/04/08/introducing-apisix-ai-gateway.md
+++ b/blog/zh/blog/2025/04/08/introducing-apisix-ai-gateway.md
@@ -17,7 +17,9 @@ tags: [Ecosystem]
image: https://static.api7.ai/uploads/2025/03/07/Qs4WrU0I_apisix-ai-gateway.webp
---
-在 Apache APISIX 3.12.0 版本中,我们进一步强化了其作为现代 API 网关的 AI 支持能力。通过丰富的插件生态和灵活的架构设计,为开发者提供了完整的 AI 网关产品。
+>在 Apache APISIX 3.12.0 版本中,我们进一步强化了其作为现代 API 网关的 AI 支持能力。通过丰富的插件生态和灵活的架构设计,为开发者提供了完整的 AI 网关产品。
+
+<!--truncate-->
本文将从以下几个维度解析 APISIX 在 AI 网关领域的创新实践。
@@ -153,17 +155,17 @@ curl "http://127.0.0.1:9080/anything" -X POST \
{
"content": "Client information from customer service calls",
"role": "system"
- },
+ },
{
# highlight-next-line
"content": "John said his debit card number is **** **** **** 1111 and SIN is ***-**-****."
"role": "user"
}
- ],
+ ],
"model": "openai"
- },
- "method": "POST",
- "origin": "192.168.97.1, 103.97.2.170",
+ },
+ "method": "POST",
+ "origin": "192.168.97.1, 103.97.2.170",
"url": "http://127.0.0.1/anything"
}
```