File tree Expand file tree Collapse file tree 3 files changed +58
-58
lines changed
tests/BotSharp.Plugin.PizzaBot/data/agents
c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/functions
fe8c60aa-b114-4ef3-93cb-a8efeac80f75/functions Expand file tree Collapse file tree 3 files changed +58
-58
lines changed Original file line number Diff line number Diff line change 1- // {
2- // "name": "get_pizza_price",
3- // "description": "call this function to get the pizza price",
4- // "parameters": {
5- // "type": "object",
6- // "properties": {
7- // "pizza_type": {
8- // "type": "string",
9- // "description": "The pizza type."
10- // },
11- // "quantity": {
12- // "type": "string",
13- // "description": "quantity of pizza."
14- // }
15- // },
16- // "required": [ "pizza_type", "quantity" ]
17- // }
18- // }
1+ {
2+ "name" : " get_pizza_price" ,
3+ "description" : " call this function to get the pizza price" ,
4+ "parameters" : {
5+ "type" : " object" ,
6+ "properties" : {
7+ "pizza_type" : {
8+ "type" : " string" ,
9+ "description" : " The pizza type."
10+ },
11+ "quantity" : {
12+ "type" : " string" ,
13+ "description" : " quantity of pizza."
14+ }
15+ },
16+ "required" : [ " pizza_type" , " quantity" ]
17+ }
18+ }
Original file line number Diff line number Diff line change 1- // {
2- // "name": "place_an_order",
3- // "description": "Place an order when user has confirmed the pizza type and quantity.",
4- // "parameters": {
5- // "type": "object",
6- // "properties": {
7- // "pizza_type": {
8- // "type": "string",
9- // "description": "The pizza type."
10- // },
11- // "quantity": {
12- // "type": "number",
13- // "description": "quantity of pizza."
14- // },
15- // "unit_price": {
16- // "type": "number",
17- // "description": "unit price"
18- // }
19- // },
20- // "required": [ "pizza_type", "quantity", "unit_price" ]
21- // }
22- // }
1+ {
2+ "name" : " place_an_order" ,
3+ "description" : " Place an order when user has confirmed the pizza type and quantity." ,
4+ "parameters" : {
5+ "type" : " object" ,
6+ "properties" : {
7+ "pizza_type" : {
8+ "type" : " string" ,
9+ "description" : " The pizza type."
10+ },
11+ "quantity" : {
12+ "type" : " number" ,
13+ "description" : " quantity of pizza."
14+ },
15+ "unit_price" : {
16+ "type" : " number" ,
17+ "description" : " unit price"
18+ }
19+ },
20+ "required" : [ " pizza_type" , " quantity" , " unit_price" ]
21+ }
22+ }
Original file line number Diff line number Diff line change 1- // {
2- // "name": "make_payment",
3- // "description": "call this function to make payment",
4- // "parameters": {
5- // "type": "object",
6- // "properties": {
7- // "order_number": {
8- // "type": "string",
9- // "description": "order number."
10- // },
11- // "total_amount": {
12- // "type": "string",
13- // "description": "total amount."
14- // }
15- // },
16- // "required": [ "order_number", "total_amount" ]
17- // }
18- // }
1+ {
2+ "name" : " make_payment" ,
3+ "description" : " call this function to make payment" ,
4+ "parameters" : {
5+ "type" : " object" ,
6+ "properties" : {
7+ "order_number" : {
8+ "type" : " string" ,
9+ "description" : " order number."
10+ },
11+ "total_amount" : {
12+ "type" : " string" ,
13+ "description" : " total amount."
14+ }
15+ },
16+ "required" : [ " order_number" , " total_amount" ]
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments