Skip to content

Commit c747b8a

Browse files
committed
adding note
1 parent e81f2a2 commit c747b8a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/ai-services/agents/how-to/tools/function-calling.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Azure AI Agents supports function calling, which allows you to describe the stru
3131

3232
## Define a function for your agent to call
3333
Start by defining a function for your agent to call. When you create a function for an agent to call, you describe its structure with any required parameters in a docstring.
34+
3435
```python
3536
import json
3637
import datetime
@@ -59,6 +60,11 @@ In the sample below we create a client and define a `toolset` which will be used
5960
6061
`toolset`: When using the toolset parameter, you provide not only the function definitions and descriptions but also their implementations. The SDK will execute these functions within `create_and_run_process` or streaming. These functions will be invoked based on their definitions.
6162
-->
63+
64+
> [!NOTE]
65+
> You can find a streaming example on [GitHub](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-agents/samples/agents_streaming/sample_agents_stream_eventhandler_with_functions.py).
66+
67+
6268
```python
6369
import os, time
6470
from azure.identity import DefaultAzureCredential
@@ -138,6 +144,9 @@ print("Deleted agent")
138144

139145
::: zone pivot="csharp"
140146

147+
> [!NOTE]
148+
> You can find a streaming example on [GitHub](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/ai/Azure.AI.Agents.Persistent/samples/Sample8_PersistentAgents_FunctionsWithStreaming.md).
149+
141150
## Configure client and define functions
142151

143152
First, set up the configuration using `appsettings.json` and create a `PersistentAgentsClient`.

0 commit comments

Comments
 (0)