-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublish.yaml
More file actions
88 lines (87 loc) · 2.43 KB
/
Copy pathpublish.yaml
File metadata and controls
88 lines (87 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Edition: 3.0.0
Type: Project
Name: start-agentrun-langgraph
Provider:
- 阿里云
Version: 0.0.15
Description: 基于阿里云 AgentRun + LangGraph 的智能体应用模板,支持 ReAct 与自定义 StateGraph 双示例,模型可在 AgentRun 平台与 OpenAI 兼容接口之间切换。
HomePage: https://github.com/devsapp/start-agentrun-langgraph
Tags:
- AgentRun
- LangGraph
- 智能体
- 人工智能
- Python
Category: 人工智能
Service:
函数计算:
Authorities:
- AliyunFCFullAccess
日志服务:
Authorities:
- AliyunLogFullAccess
Effective: Public
Parameters:
type: object
additionalProperties: false
required:
- agentName
- region
- modelBackend
properties:
agentName:
type: string
title: 智能体名称
description: AgentRun 运行时实例名称,字母开头,支持字母/数字/下划线/中划线,1-128 字符。
pattern: '^[A-Za-z][A-Za-z0-9_-]{0,127}$'
default: my-langgraph-agent
region:
type: string
title: 地域
description: 部署地域。
default: cn-hangzhou
enum:
- cn-hangzhou
- cn-shanghai
- cn-beijing
- cn-shenzhen
accessAlias:
type: string
title: 访问凭证别名
description: 在本地通过 `s config add` 配置的密钥别名。
default: default
modelBackend:
type: string
title: 模型后端
description: openai 走 OpenAI 兼容接口(如百炼 DashScope),最快跑通;agentrun 使用 AgentRun 平台托管模型,发挥平台模型治理能力。
default: openai
enum:
- openai
- agentrun
defaultGraphType:
type: string
title: 默认图类型
description: react 使用 langgraph.prebuilt.create_react_agent(推荐入门);graph 使用模板内自定义的 StateGraph。
default: react
enum:
- react
- graph
roleArn:
type: string
title: RAM 角色 ARN
description: AgentRun 运行时绑定的 RAM 角色 ARN,例如 acs:ram::<account-id>:role/AliyunAgentRunDefaultRole。留空则不绑定。
default: ''
cpu:
type: number
title: CPU 核数
description: 范围 0.05 - 16。
default: 1
minimum: 0.05
maximum: 16
memory:
type: number
title: 内存(MB)
description: 范围 128 - 32768。
default: 2048
minimum: 128
maximum: 32768