mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
docs(function_call.md): cleanup
This commit is contained in:
parent
e1c54c4c2b
commit
f225174024
1 changed files with 2 additions and 2 deletions
|
|
@ -502,10 +502,10 @@ response = completion(model="gpt-3.5-turbo-0613", messages=messages, functions=f
|
|||
print(response)
|
||||
```
|
||||
|
||||
## Function calling for Non-OpenAI LLMs
|
||||
## Function calling for Models w/out function-calling support
|
||||
|
||||
### Adding Function to prompt
|
||||
For Non OpenAI LLMs LiteLLM allows you to add the function to the prompt set: `litellm.add_function_to_prompt = True`
|
||||
For Models/providers without function calling support, LiteLLM allows you to add the function to the prompt set: `litellm.add_function_to_prompt = True`
|
||||
|
||||
#### Usage
|
||||
```python
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue