-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.yaml
57 lines (50 loc) · 1.53 KB
/
publish.yaml
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
Edition: 3.0.0
Type: Project
Name: cap-nim-aistory
Version: dev
Provider:
- 阿里云 # 取值内容参考:https://api.devsapp.cn/v3/common/args.html
Description: 部署 NIM AI Story 到阿里云云应用开发平台
Tags: #标签详情
- 部署函数
Category: 人工智能 # 取值内容参考:https://api.devsapp.cn/v3/common/args.html
Service: # 使用的服务
函数计算: # 取值内容参考:https://api.devsapp.cn/v3/common/args.html
Authorities: #权限描述
- AliyunFCFullAccess # 所需要的权限
专有网络:
Authorities:
- AliyunFCServerlessDevsRolePolicy
日志服务:
Authorities:
- AliyunFCServerlessDevsRolePolicy
Description: 收集函数日志
Organization: 阿里云函数计算(FC) # 所属组织
Effective: Public # 是否公开,取值:Public,Private,Organization
Parameters:
type: object
additionalProperties: false # 不允许增加其他属性
required: # 必填项
- region
- apiKey
- gpu
properties:
region:
title: 地域
type: string
default: cn-shanghai
description: 创建应用所在的地区
enum:
- cn-shanghai
apiKey:
title: 模型 API_KEY
type: string
pattern: "^[a-zA-Z_][a-zA-Z0-9-_]{0,127}$"
description: 模型的API_KEY,需要到 NV 控制台获取
gpu:
title: 显卡类型
type: string
default: fc.gpu.ada.1
description: 显卡类型(默认会为您选择对应规格最大配置的机器)
enum:
- fc.gpu.ada.1