(docs) function calling on openai

This commit is contained in:
ishaan-jaff 2023-11-18 14:21:26 -08:00
parent 25d76cdc9d
commit 7a8fbb6da3

View file

@ -1,5 +1,5 @@
# Function Calling
Function calling is supported with the following models:
Function calling is supported with the following models on OpenAI, Azure OpenAI
- gpt-4
- gpt-4-1106-preview
@ -20,6 +20,7 @@ Parallel function calling is the model's ability to perform multiple function ca
<a target="_blank" href="https://colab.research.google.com/github/BerriAI/litellm/blob/main/cookbook/Parallel_function_calling.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
In this example we define a single function `get_current_weather`.
- Step 1: Send the model the `get_current_weather` with the user question