Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

title: 'Chat route with DashScope'
description: "Configure a chat route using Alibaba Cloud's DashScope Qwen Plus model."

min_version:
gateway: '3.13'

weight: 900

requirements:
- Alibaba Cloud account

config:
targets:
- route_type: llm/v1/chat
auth:
header_name: Authorization
header_value: Bearer ${key}
model:
provider: dashscope
name: qwen-plus
options:
max_tokens: 512
temperature: 1.0

variables:
key:
value: $DASHSCOPE_API_KEY
description: The API key to use to connect to DashScope.

tools:
- deck
- admin-api
- konnect-api
- kic
- terraform
35 changes: 35 additions & 0 deletions app/_kong_plugins/ai-proxy/examples/dashscope-chat-route.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

title: 'Chat route with DashScope'
description: "Configure a chat route using Alibaba Cloud's DashScope Qwen Plus model."

min_version:
gateway: '3.13'

weight: 900

requirements:
- Alibaba Cloud account

config:
route_type: llm/v1/chat
auth:
header_name: Authorization
header_value: Bearer ${key}
model:
provider: dashscope
name: qwen-plus
options:
max_tokens: 512
temperature: 1.0

variables:
key:
value: $DASHSCOPE_API_KEY
description: The API key to use to connect to DashScope.

tools:
- deck
- admin-api
- konnect-api
- kic
- terraform
48 changes: 48 additions & 0 deletions app/_landing_pages/ai-gateway/ai-providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ rows:
icon: /assets/icons/mistral.svg
cta:
url: ./#mistral
- column_count: 3
columns:
- blocks:
- type: icon_card
config:
title: Alibaba Cloud DashScope
icon: /assets/icons/dashscope.svg
cta:
url: ./#alibaba-cloud-dashscope
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a column_count: 3 here, otherwise rows where there's only one card look like this:

Screenshot 2025-12-01 at 15 19 04



- header:
Expand Down Expand Up @@ -463,3 +472,42 @@ rows:
# quantity: 3
# allow_empty: true

- header:
type: h3
text: "Alibaba Cloud DashScope"
columns:
- blocks:
- type: card
config:
title: AI Proxy with DashScope
description:
Configure the AI Proxy plugin to proxy requests to a DashScope model
cta:
url: /plugins/ai-proxy/examples/dashscope-chat-route/
align: end
text: Configuration example
- blocks:
- type: card
config:
title: AI Proxy Advanced with DashScope
description:
Configure the AI Proxy Advanced plugin to proxy requests to a DashScope model
cta:
url: /plugins/ai-proxy-advanced/examples/dashscope-chat-route/
align: end
text: Configuration example
# - header:
# type: h4
# text: How-to Guides
# columns:
# - blocks:
# - type: how_to_list
# config:
# plugins:
# - ai-proxy
# - ai-proxy-advanced
# tags:
# - dashscope
# quantity: 3
# allow_empty: true

4 changes: 4 additions & 0 deletions app/assets/icons/dashscope.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading