This repository has been archived on 2024-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
server-personification/lib/openai/functs.py

31 lines
831 B
Python
Raw Normal View History

2024-01-20 15:01:25 -07:00
function_description = [
{
"name": "run_bash",
"description": "Send a string to the Bash interpreter. Sudo commands are not valid.",
"parameters": {
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "The string to execute in Bash"
}
},
"required": ["command"]
}
},
{
"name": "talk",
"description": "Send a message to the user",
"parameters": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The message to send"
}
},
"required": ["message"]
}
}
]