Repository navigation
Expand file tree
/
Copy pathassistant.json
More file actions
141 lines (141 loc) · 4.91 KB
/
Copy pathassistant.json
File metadata and controls
141 lines (141 loc) · 4.91 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"test_list": {
"object": "list",
"data": [
{
"id": "asst_1",
"object": "assistant",
"created_at": 1709716540139,
"model": "xxx",
"name": "Assistant",
"description": "",
"instructions": "你是一个智能小助手,你可以根据用户的需求去调用不同的工具,进而给出回答。请酌情使用工具。",
"tools": [
{
"type": "code_interpreter"
},
{
"type": "area_to_weather_date"
}
],
"file_ids": [],
"metadata": {},
"account_id": "sk-xxxx",
"gmt_crete": "2024-03-06 17:15:40",
"gmt_update": "2024-03-06 17:15:40",
"is_deleted": false
},
{
"id": "asst_2",
"object": "assistant",
"created_at": 1709714043262,
"model": "xxx",
"name": "智能小助手",
"description": "这是一个智能小助手,可以查天气、检索信息、写代码解决问题",
"instructions": "你是一个智能小助手,你可以根据用户的需求去调用不同的工具,进而给出回答。请酌情使用工具。",
"tools": [
{
"type": "search"
},
{
"type": "area_to_weather_date"
},
{
"type": "code_interpreter"
}
],
"file_ids": [],
"metadata": {},
"account_id": "sk-xxxx",
"gmt_crete": "2024-03-06 16:34:03",
"gmt_update": "2024-03-06 16:34:03",
"is_deleted": false
}
],
"first_id": "asst_c324b6b1-bee2-4eb2-a514-e5d89042b92c",
"last_id": "asst_a4be266e-2402-44ec-9647-a98c0f712078",
"has_more": true,
"request_id": "b1bd90d2-bf02-909c-815b-0a17eb579076"
},
"test_function_call_request": {
"instructions": "You are a helpful assistant. When asked a question, use tools wherever possible.",
"name": "smart assistant",
"tools": [
{
"type": "code_interpreter"
},
{
"type": "search"
},
{
"type": "function",
"function": {
"name": "big_add",
"description": "Add to number",
"parameters": {
"type": "object",
"properties": {
"left": {
"type": "integer",
"description": "The left operator"
},
"right": {
"type": "integer",
"description": "The right operator."
}
},
"required": [
"left",
"right"
]
}
}
}
],
"model": "qwen"
},
"test_function_call_response": {
"created_at": 1709540000,
"description": null,
"file_ids": [],
"id": "asst_test",
"instructions": "You are a helpful assistant. When asked a question, use tools wherever possible.",
"metadata": {},
"model": "qwen",
"name": "smart assistant",
"object": "assistant",
"tools": [
{
"type": "code_interpreter"
},
{
"type": "search"
},
{
"function": {
"description": "Add to number",
"name": "big_add",
"parameters": {
"properties": {
"left": {
"description": "The left operator",
"type": "integer"
},
"right": {
"description": "The right operator.",
"type": "integer"
}
},
"required": [
"left",
"right"
],
"type": "object"
}
},
"type": "function"
}
],
"request_id": "b1bd90d2-bf02-909c-815b-0a17eb579076"
}
}