Corrected tool_choice parameter in llama-cpp-python example
Browse files
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 |
|