qnguyen3 commited on
Commit
b5bbea9
1 Parent(s): 1778146

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -1
README.md CHANGED
@@ -81,4 +81,45 @@ Output:
81
  "bus_features": "An advertisement",
82
  "bus_location": "driving"
83
  }
84
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  "bus_features": "An advertisement",
82
  "bus_location": "driving"
83
  }
84
+ ```
85
+
86
+ ## Example
87
+
88
+ ### Chat
89
+ ![image/png](https://i.ibb.co/tMg8h2t/Screenshot-from-2023-12-04-00-13-59.png)
90
+
91
+ ### Function Calling
92
+ Input image:
93
+
94
+ ![image/png](https://www.slcmenu.com/wp-content/uploads/2017/11/In-N-Out-Burger-menu-2020-982x1024.jpg)
95
+
96
+ Input message:
97
+ ```json
98
+ <fn_call>{
99
+ "type": "object",
100
+ "properties": {
101
+ "food_list": {
102
+ "type": "array",
103
+ "description": "List of all the food",
104
+ "items": {
105
+ "type": "string",
106
+ }
107
+ },
108
+ }
109
+ }
110
+ ```
111
+
112
+ Output:
113
+ ```json
114
+ {
115
+ "food_list": [
116
+ "Double Burger",
117
+ "Cheeseburger",
118
+ "French Fries",
119
+ "Shakes",
120
+ "Frozen Yogurt",
121
+ "Chocolate Frozen Yogurt",
122
+ "Coffee"
123
+ ]
124
+ }
125
+ ```