-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json.tent
107 lines (107 loc) · 1.77 KB
/
manifest.json.tent
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"type": "extension",
"name": "{{package_name}}",
"version": "0.1.0",
"dependencies": [
{
"type": "system",
"name": "ten_ai_base",
"version": "0.1"
}
],
"package": {
"include": [
"manifest.json",
"property.json",
"requirements.txt",
"**.tent",
"**.py",
"README.md"
]
},
"api": {
"property": {
"model": {
"type": "string"
}
},
"cmd_in": [
{
"name": "tool_register",
"property": {
"tool": {
"type": "string"
}
},
"required": [
"tool"
]
},
{
"name": "call_chat_completion",
"property": {
"messages": {
"type": "string"
},
"stream": {
"type": "bool"
}
},
"required": [
"messages"
],
"result": {
"property": {
"text": {
"type": "string"
}
},
"required": [
"text"
]
}
},
{
"name": "flush"
}
],
"cmd_out": [
{
"name": "flush"
}
],
"data_in": [
{
"name": "text_data",
"property": {
"text": {
"type": "string"
},
"is_final": {
"type": "bool"
}
},
"required": [
"text"
]
}
],
"data_out": [
{
"name": "text_data",
"property": {
"text": {
"type": "string"
},
"end_of_segment": {
"type": "bool"
}
},
"required": [
"text",
"end_of_segment"
]
}
]
}
}