forked from phoenix/litellm-mirror
(docs) function calling on openai
This commit is contained in:
parent
25d76cdc9d
commit
7a8fbb6da3
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
# Function Calling
|
# 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
|
||||||
- gpt-4-1106-preview
|
- 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">
|
<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"/>
|
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
In this example we define a single function `get_current_weather`.
|
In this example we define a single function `get_current_weather`.
|
||||||
|
|
||||||
- Step 1: Send the model the `get_current_weather` with the user question
|
- Step 1: Send the model the `get_current_weather` with the user question
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue