File tree Expand file tree Collapse file tree 4 files changed +116
-0
lines changed
ai-proxy-advanced/examples
_landing_pages/ai-gateway Expand file tree Collapse file tree 4 files changed +116
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ title : ' Chat route with DashScope'
3+ description : ' Configure a chat route using the OpenAI GPT-4 model.'
4+
5+ weight : 900
6+
7+ requirements :
8+ - Alibaba Cloud account
9+
10+ config :
11+ targets :
12+ - route_type : llm/v1/chat
13+ auth :
14+ header_name : Authorization
15+ header_value : Bearer ${key}
16+ model :
17+ provider : dashscope
18+ name : qwen-plus
19+ options :
20+ max_tokens : 512
21+ temperature : 1.0
22+
23+ variables :
24+ key :
25+ value : $DASHSCOPE_API_KEY
26+ description : The API key to use to connect to DashScope.
27+
28+ tools :
29+ - deck
30+ - admin-api
31+ - konnect-api
32+ - kic
33+ - terraform
Original file line number Diff line number Diff line change 1+
2+ title : ' Chat route with DashScope'
3+ description : ' Configure a chat route using the OpenAI GPT-4 model.'
4+
5+ weight : 900
6+
7+ requirements :
8+ - Alibaba Cloud account
9+
10+ config :
11+ route_type : llm/v1/chat
12+ auth :
13+ header_name : Authorization
14+ header_value : Bearer ${key}
15+ model :
16+ provider : dashscope
17+ name : qwen-plus
18+ options :
19+ max_tokens : 512
20+ temperature : 1.0
21+
22+ variables :
23+ key :
24+ value : $DASHSCOPE_API_KEY
25+ description : The API key to use to connect to DashScope.
26+
27+ tools :
28+ - deck
29+ - admin-api
30+ - konnect-api
31+ - kic
32+ - terraform
Original file line number Diff line number Diff line change 9797 icon : /assets/icons/mistral.svg
9898 cta :
9999 url : ./#mistral
100+ - columns :
101+ - blocks :
102+ - type : icon_card
103+ config :
104+ title : Alibaba Cloud DashScope
105+ icon : /assets/icons/dashscope.svg
106+ cta :
107+ url : ./#alibaba-cloud-dashscope
100108
101109
102110 - header :
@@ -463,3 +471,42 @@ rows:
463471 # quantity: 3
464472 # allow_empty: true
465473
474+ - header :
475+ type : h3
476+ text : " Alibaba Cloud DashScope"
477+ columns :
478+ - blocks :
479+ - type : card
480+ config :
481+ title : AI Proxy with DashScope
482+ description :
483+ Configure the AI Proxy plugin to proxy requests to a DashScope model
484+ cta :
485+ url : /plugins/ai-proxy/examples/dashscope-chat-route/
486+ align : end
487+ text : Configuration example
488+ - blocks :
489+ - type : card
490+ config :
491+ title : AI Proxy Advanced with DashScope
492+ description :
493+ Configure the AI Proxy Advanced plugin to proxy requests to a DashScope model
494+ cta :
495+ url : /plugins/ai-proxy-advanced/examples/dashscope-chat-route/
496+ align : end
497+ text : Configuration example
498+ # - header:
499+ # type: h4
500+ # text: How-to Guides
501+ # columns:
502+ # - blocks:
503+ # - type: how_to_list
504+ # config:
505+ # plugins:
506+ # - ai-proxy
507+ # - ai-proxy-advanced
508+ # tags:
509+ # - dashscope
510+ # quantity: 3
511+ # allow_empty: true
512+
You can’t perform that action at this time.
0 commit comments