-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtools.py
33 lines (30 loc) · 962 Bytes
/
tools.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
from AptosToolClient import account_balance, account_transactions, create_kit, use_moveGPT, use_gh
# from AptosGql import AptosGQLTool
# aQgl = AptosGQLTool()
tool_specs = [
{
'name': 'Account Balance',
'func': account_balance,
'use': 'find account balance',
'input':'account to find balance of'
},
{
'name': 'Account Transactions',
'func': account_transactions,
'use': 'find account transactions',
'input':'account to find transactions of'
},
{
'name': 'Move Agent',
'func': use_moveGPT,
'use': 'to give information about move or the aptos blockchain',
'input':'question user has about move or the aptos blockchain'
},
{
'name': 'Github Chat Agent',
'func': use_gh,
'use': 'to chat with github chat agent about generating move code, Feed output into Move Agent to refine the code',
'input':'question about how to create move code'
}
]
tool_kit = create_kit(tool_specs)