mirror of
https://github.com/mudler/LocalAI.git
synced 2025-01-12 16:02:49 +00:00
2a3427e533
* Refer to the OpenAI documentation to update the openai-functions documentation I saw the openai official website, apIn the description: The parameters `function_call` and `functions` have been replaced by `tool_choice` and `tools`.So I submitted this update;But I haven't read the code of localai, so I'm not sure if it also applies to localai. Signed-off-by: 四少爷 <sex@jermey.cn> * Update Usage Example The original usage example was too outdated, and calling with the new version of the openai python package would result in errors. Therefore, the curl example was rewritten (as curl examples are also used elsewhere). Signed-off-by: 四少爷 <sex@jermey.cn> * add python example Signed-off-by: 四少爷 <sex@jermey.cn> --------- Signed-off-by: 四少爷 <sex@jermey.cn> |
||
---|---|---|
.. | ||
docs |