(docs) function calling for non openai llms

This commit is contained in:
ishaan-jaff 2023-10-31 16:34:40 -07:00
parent 4d95756432
commit b32cedeb28

View file

@ -128,7 +128,6 @@ print(response)
``` ```
## Function calling for Non-OpenAI LLMs ## Function calling for Non-OpenAI LLMs
**For Non OpenAI LLMs - LiteLLM raises an exception if you try using it for function calling**
### Adding Function to prompt ### 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 Non OpenAI LLMs LiteLLM allows you to add the function to the prompt set: `litellm.add_function_to_prompt = True`