Skip to content

Commit 78563fd

Browse files
committed
update
1 parent a3583c6 commit 78563fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

articles/ai-services/openai/how-to/function-calling.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ client = AzureOpenAI(
6363
from openai import OpenAI
6464
import json
6565

66-
client = OpenAI()
67-
68-
# Example dummy function hard coded to return the same weather
66+
# Example function hard coded to return the same weather
6967
# In production, this could be your backend API or an external API
7068
def get_current_weather(location, unit="fahrenheit"):
7169
"""Get the current weather in a given location"""

0 commit comments

Comments
 (0)