Skip to content

Commit 4f296db

Browse files
committed
agents
1 parent 086932c commit 4f296db

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/ai/conceptual/agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Agents and Copilots Bring Automation and Interactive Assistance to Your
33
description: "Learn how agents and copilots intelligently extend the functionality of LLMs to automatically meet user goals in .NET."
44
author: catbutler
55
ms.topic: concept-article #Don't change.
6-
ms.date: 04/15/2024
6+
ms.date: 11/24/2024
77

88
#customer intent: As a .NET developer, I want to understand how agents and copilots extend the functionality of LLMs, so that my apps can handle any type of content and automatically meet user goals.
99

docs/ai/conceptual/chain-of-thought-prompting.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 11/24/2024
1111

1212
# Chain of thought prompting
1313

14-
GPT model performance benefits from *prompt engineering*, which is the practice of providing instructions and examples to a model to prime or refine its output. As they process instructions, models make more reasoning errors when they try to answer right away rather than taking time to work out an answer. You can help the model reason its way toward correct answers more reliably by asking for the model to include its chain of thought—that is, the steps it took to follow an instruction, along with the results of each step.
14+
GPT model performance and response quality benefits from *prompt engineering*, which is the practice of providing instructions and examples to a model to prime or refine its output. As they process instructions, models make more reasoning errors when they try to answer right away rather than taking time to work out an answer. You can help the model reason its way toward correct answers more reliably by asking for the model to include its chain of thought—that is, the steps it took to follow an instruction, along with the results of each step.
1515

1616
*Chain of thought prompting* is the practice of prompting a model to perform a task step-by-step and to present each step and its result in order in the output. This simplifies prompt engineering by offloading some execution planning to the model, and makes it easier to connect any problem to a specific step so you know where to focus further efforts.
1717

@@ -22,7 +22,8 @@ It's generally simpler to just instruct the model to include its chain of though
2222
To use an instruction for chain of thought prompting, include a directive that tells the model to perform the task step-by-step and to output the result of each step.
2323

2424
```csharp
25-
prompt= "Instructions: Compare the pros and cons of EVs and petroleum-fueled vehicles. Break the task into steps, and output the result of each step as you perform it.";
25+
prompt= """Instructions: Compare the pros and cons of EVs and petroleum-fueled vehicles.
26+
Break the task into steps, and output the result of each step as you perform it.""";
2627
```
2728

2829
## Use chain of thought prompting in examples

0 commit comments

Comments
 (0)