-
Notifications
You must be signed in to change notification settings - Fork 1
/
functions_config.py
99 lines (98 loc) · 2.86 KB
/
functions_config.py
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
functions = [
{
# 関数の名称
"name": "set_UserName",
# 関数の機能説明
"description": "You can set the name of the conversation partner.",
# 関数のパラメータ
"parameters": {
"type": "object",
# 各引数
"properties": {
"username": {
"type": "string",
# 引数の説明
"description": "ユーザーの名前"
}
}
}
},
{
# 関数の名称
"name": "clock",
# 関数の機能説明
"description": "useful for when you need to know what time it is.",
},
{
# 関数の名称
"name": "generate_image",
# 関数の機能説明
"description": "When a topic comes up about places or emotions, it generates your emotions and scenery from a single sentence.",
# 関数のパラメータ
"parameters": {
"type": "object",
# 各引数
"properties": {
"prompt": {
"type": "string",
# 引数の説明
"description": "景色や感情"
}
}
}
},
{
# 関数の名称
"name": "search_wikipedia",
# 関数の機能説明
"description": "useful for when you need to Read dictionary page by specifying the word. ",
# 関数のパラメータ
"parameters": {
"type": "object",
# 各引数
"properties": {
"prompt": {
"type": "string",
# 引数の説明
"description": "検索ワード"
}
}
}
},
{
# 関数の名称
"name": "scraping",
# 関数の機能説明
"description": "useful for when you need to read a web page by specifying the URL.",
# 関数のパラメータ
"parameters": {
"type": "object",
# 各引数
"properties": {
"link": {
"type": "string",
# 引数の説明
"description": "読みたいページのURL"
}
}
}
},
{
# 関数の名称
"name": "get_googlesearch",
# 関数の機能説明
"description": "useful for when you need to answer questions about current events.",
# 関数のパラメータ
"parameters": {
"type": "object",
# 各引数
"properties": {
"words": {
"type": "string",
# 引数の説明
"description": "検索ワード"
}
}
}
}
]