wangold ревизий этого фрагмента . К ревизии
1 file changed, 16 insertions
Swarm-readme-19.js(файл создан)
@@ -0,0 +1,16 @@ | |||
1 | + | { | |
2 | + | "type": "function", | |
3 | + | "function": { | |
4 | + | "name": "greet", | |
5 | + | "description": "Greets the user. Make sure to get their name and age before calling.\n\nArgs:\n name: Name of the user.\n age: Age of the user.\n location: Best place on earth.", | |
6 | + | "parameters": { | |
7 | + | "type": "object", | |
8 | + | "properties": { | |
9 | + | "name": {"type": "string"}, | |
10 | + | "age": {"type": "integer"}, | |
11 | + | "location": {"type": "string"} | |
12 | + | }, | |
13 | + | "required": ["name", "age"] | |
14 | + | } | |
15 | + | } | |
16 | + | } |
Новее
Позже