Skip to content

Commit f6343ca

Browse files
committed
Fix line numbers
1 parent c131b95 commit f6343ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ai/quickstarts/quickstart-azure-openai-tool.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ The app uses the [`Microsoft.Extensions.AI`](https://www.nuget.org/packages/Micr
126126
127127
1. Create a new `ChatOptions` object that contains an inline function the AI model can call to get the current weather. The function declaration include a delegate to run logic and name and description parameters to describe the purpose of the function to the AI model.
128128
129-
:::code language="csharp" source="snippets/function-calling/openai/program.cs" range="18-28":::
129+
:::code language="csharp" source="snippets/function-calling/openai/program.cs" range="16-26":::
130130
131131
1. Add a system prompt to the chat history to provide context and instructions to the model. Send a user prompt with a question that requires the AI model to call the registered function to properly answer the question.
132132
133-
:::code language="csharp" source="snippets/function-calling/openai/program.cs" range="32-50":::
133+
:::code language="csharp" source="snippets/function-calling/openai/program.cs" range="28-40":::
134134
135135
1. Use the `dotnet run` command to run the app:
136136

0 commit comments

Comments
 (0)