CISCai commited on
Commit
0e8e952
·
verified ·
1 Parent(s): 36b22a6

Corrected tool_choice parameter in llama-cpp-python example

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -188,12 +188,12 @@ print(llm.create_chat_completion(
188
  }
189
  }
190
  }],
191
- tool_choice=[{
192
  "type": "function",
193
  "function": {
194
  "name": "get_current_weather"
195
  }
196
- }]
197
  ))
198
  ```
199
 
 
188
  }
189
  }
190
  }],
191
+ tool_choice={
192
  "type": "function",
193
  "function": {
194
  "name": "get_current_weather"
195
  }
196
+ }
197
  ))
198
  ```
199