giux78 commited on
Commit
d6434e0
1 Parent(s): 1d765ae

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -23
README.md CHANGED
@@ -141,30 +141,15 @@ openai_response = {
141
 
142
 
143
  '''
144
- Output OpenAI compatible
145
- {
146
- "index": 0,
147
- "message": {
148
- "role": "assistant",
149
- "content": "get_current_weather(location='Boston, MA'), get_current_weather(location='San Francisco, CA')",
150
- "function_call": [
151
- {
152
- "name": "get_current_weather",
153
- "arguments": {
154
- "location": "Boston, MA"
155
- }
156
- },
157
- {
158
- "name": "get_current_weather",
159
- "arguments": {
160
- "location": "San Francisco, CA"
161
- }
162
- }
163
- ]
164
- },
165
- "finish_reason": "stop"
166
  }
167
-
168
  '''
169
  ```
170
 
 
141
 
142
 
143
  '''
144
+ Output OpenAI compatible Dictionary
145
+ {'index': 0,
146
+ 'message': {
147
+ 'role': 'assistant',
148
+ 'content': 'create_product(product_name="AIR",size="L",price="100")',
149
+ 'function_call': [{'name': 'create_product', 'arguments': {'product_name': 'AIR', 'size': 'L', 'price': 100}}]
150
+ },
151
+ 'finish_reason': 'stop'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  }
 
153
  '''
154
  ```
155