Skip to content

Commit 91b7124

Browse files
committed
Merge branch 'main' into mstest-sdk-profile
2 parents fc0b926 + 3208829 commit 91b7124

File tree

408 files changed

+1564
-1289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

408 files changed

+1564
-1289
lines changed

.github/dependabot.yml

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,50 @@ updates:
778778
dotnet:
779779
patterns:
780780
- "*" # Prefer a single PR per project update.
781+
- package-ecosystem: "nuget"
782+
directory: "/docs/ai/quickstarts/snippets/build-chat-app/azure-openai" #ChatAppAI.csproj
783+
schedule:
784+
interval: "weekly"
785+
day: "wednesday"
786+
open-pull-requests-limit: 5
787+
groups:
788+
# Group .NET updates together for projects.
789+
dotnet:
790+
patterns:
791+
- "*" # Prefer a single PR per project update.
792+
- package-ecosystem: "nuget"
793+
directory: "/docs/ai/quickstarts/snippets/build-chat-app/openai" #ExtensionsOpenAI.csproj
794+
schedule:
795+
interval: "weekly"
796+
day: "wednesday"
797+
open-pull-requests-limit: 5
798+
groups:
799+
# Group .NET updates together for projects.
800+
dotnet:
801+
patterns:
802+
- "*" # Prefer a single PR per project update.
803+
- package-ecosystem: "nuget"
804+
directory: "/docs/ai/quickstarts/snippets/function-calling/azure-openai" #FunctionCallingAI.csproj
805+
schedule:
806+
interval: "weekly"
807+
day: "wednesday"
808+
open-pull-requests-limit: 5
809+
groups:
810+
# Group .NET updates together for projects.
811+
dotnet:
812+
patterns:
813+
- "*" # Prefer a single PR per project update.
814+
- package-ecosystem: "nuget"
815+
directory: "/docs/ai/quickstarts/snippets/function-calling/openai" #FunctionCallingAI.csproj
816+
schedule:
817+
interval: "weekly"
818+
day: "wednesday"
819+
open-pull-requests-limit: 5
820+
groups:
821+
# Group .NET updates together for projects.
822+
dotnet:
823+
patterns:
824+
- "*" # Prefer a single PR per project update.
781825
- package-ecosystem: "nuget"
782826
directory: "/docs/ai/quickstarts/snippets/local-ai" #ollama.csproj
783827
schedule:
@@ -789,6 +833,28 @@ updates:
789833
dotnet:
790834
patterns:
791835
- "*" # Prefer a single PR per project update.
836+
- package-ecosystem: "nuget"
837+
directory: "/docs/ai/quickstarts/snippets/prompt-completion/azure-openai" #ExtensionsAzureOpenAI.csproj
838+
schedule:
839+
interval: "weekly"
840+
day: "wednesday"
841+
open-pull-requests-limit: 5
842+
groups:
843+
# Group .NET updates together for projects.
844+
dotnet:
845+
patterns:
846+
- "*" # Prefer a single PR per project update.
847+
- package-ecosystem: "nuget"
848+
directory: "/docs/ai/quickstarts/snippets/prompt-completion/openai" #ExtensionsOpenAI.csproj
849+
schedule:
850+
interval: "weekly"
851+
day: "wednesday"
852+
open-pull-requests-limit: 5
853+
groups:
854+
# Group .NET updates together for projects.
855+
dotnet:
856+
patterns:
857+
- "*" # Prefer a single PR per project update.
792858
- package-ecosystem: "nuget"
793859
directory: "/docs/ai/tutorials/snippets/llm-eval" #llm-eval.csproj
794860
schedule:
@@ -822,6 +888,17 @@ updates:
822888
dotnet:
823889
patterns:
824890
- "*" # Prefer a single PR per project update.
891+
- package-ecosystem: "nuget"
892+
directory: "/docs/azure/sdk/snippets/configure-proxy" #ProxyServerConfiguration.csproj
893+
schedule:
894+
interval: "weekly"
895+
day: "wednesday"
896+
open-pull-requests-limit: 5
897+
groups:
898+
# Group .NET updates together for projects.
899+
dotnet:
900+
patterns:
901+
- "*" # Prefer a single PR per project update.
825902
- package-ecosystem: "nuget"
826903
directory: "/docs/azure/sdk/snippets/logging" #LoggingSampleApp.csproj
827904
schedule:
@@ -2120,80 +2197,3 @@ updates:
21202197
dotnet:
21212198
patterns:
21222199
- "*" # Prefer a single PR per project update.
2123-
- package-ecosystem: "nuget"
2124-
directory: "/docs/machine-learning/tutorials/snippets/iris-clustering/csharp" #IrisFlowerClustering.csproj
2125-
schedule:
2126-
interval: "weekly"
2127-
day: "wednesday"
2128-
open-pull-requests-limit: 5
2129-
groups:
2130-
# Group .NET updates together for projects.
2131-
dotnet:
2132-
patterns:
2133-
- "*" # Prefer a single PR per project update.
2134-
- package-ecosystem: "nuget"
2135-
directory: "/docs/machine-learning/tutorials/snippets/movie-recommendation/csharp" #MovieRecommendation.csproj
2136-
schedule:
2137-
interval: "weekly"
2138-
day: "wednesday"
2139-
open-pull-requests-limit: 5
2140-
groups:
2141-
# Group .NET updates together for projects.
2142-
dotnet:
2143-
patterns:
2144-
- "*" # Prefer a single PR per project update.
2145-
- package-ecosystem: "nuget"
2146-
directory: "/docs/machine-learning/tutorials/snippets/phone-calls-anomaly-detection/csharp" #PhoneCallsAnomalyDetection.csproj
2147-
schedule:
2148-
interval: "weekly"
2149-
day: "wednesday"
2150-
open-pull-requests-limit: 5
2151-
groups:
2152-
# Group .NET updates together for projects.
2153-
dotnet:
2154-
patterns:
2155-
- "*" # Prefer a single PR per project update.
2156-
- package-ecosystem: "nuget"
2157-
directory: "/docs/machine-learning/tutorials/snippets/predict-prices/csharp" #TaxiFarePrediction.csproj
2158-
schedule:
2159-
interval: "weekly"
2160-
day: "wednesday"
2161-
open-pull-requests-limit: 5
2162-
groups:
2163-
# Group .NET updates together for projects.
2164-
dotnet:
2165-
patterns:
2166-
- "*" # Prefer a single PR per project update.
2167-
- package-ecosystem: "nuget"
2168-
directory: "/docs/machine-learning/tutorials/snippets/sales-anomaly-detection/csharp" #ProductSalesAnomalyDetection.csproj
2169-
schedule:
2170-
interval: "weekly"
2171-
day: "wednesday"
2172-
open-pull-requests-limit: 5
2173-
groups:
2174-
# Group .NET updates together for projects.
2175-
dotnet:
2176-
patterns:
2177-
- "*" # Prefer a single PR per project update.
2178-
- package-ecosystem: "nuget"
2179-
directory: "/docs/machine-learning/tutorials/snippets/sentiment-analysis/csharp" #SentimentAnalysis.csproj
2180-
schedule:
2181-
interval: "weekly"
2182-
day: "wednesday"
2183-
open-pull-requests-limit: 5
2184-
groups:
2185-
# Group .NET updates together for projects.
2186-
dotnet:
2187-
patterns:
2188-
- "*" # Prefer a single PR per project update.
2189-
- package-ecosystem: "nuget"
2190-
directory: "/docs/machine-learning/tutorials/snippets/text-classification-tf/csharp" #TextClassificationTF.csproj
2191-
schedule:
2192-
interval: "weekly"
2193-
day: "wednesday"
2194-
open-pull-requests-limit: 5
2195-
groups:
2196-
# Group .NET updates together for projects.
2197-
dotnet:
2198-
patterns:
2199-
- "*" # Prefer a single PR per project update.

.github/policies/close-issues.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,12 @@ configuration:
1919
- addReply:
2020
reply: This issue has been automatically closed due to no response from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further.
2121
- closeIssue
22+
23+
eventResponderTasks:
24+
- description: Close issues labeled 'code-of-conduct'
25+
if:
26+
- payloadType: Issues
27+
- hasLabel:
28+
label: code-of-conduct
29+
then:
30+
- closeIssue

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
- name: 'Checkout Repository'
2525
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
- name: 'Dependency Review'
27-
uses: actions/dependency-review-action@4081bf99e2866ebe428fc0477b69eb4fcda7220a # v4.4.0
27+
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ jobs:
7171

7272
# Upload the results to GitHub's code scanning dashboard.
7373
- name: "Upload to code-scanning"
74-
uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4
74+
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
7575
with:
7676
sarif_file: results.sarif

.openpublishing.redirection.fsharp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
},
152152
{
153153
"source_path_from_root": "/docs/fsharp/whats-new/index.md",
154-
"redirect_url": "/dotnet/fsharp/whats-new/fsharp-6",
154+
"redirect_url": "/dotnet/fsharp/whats-new/fsharp-9",
155155
"ms.custom": "updateeachrelease"
156156
},
157157
{

api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Explore Microsoft's comprehensive .NET API browser. Your ultimate r
33
layout: ApiBrowserPage
44
hide_bc: true
55
title: .NET API browser
6-
quickFilterColumn1: net-9.0,netframework-4.8,netstandard-2.1
6+
quickFilterColumn1: net-9.0,netframework-4.8.1,netstandard-2.1
77
quickFilterColumn2: aspnetcore-9.0,efcore-8.0,net-maui-9.0
88
quickFilterColumn3: azure-dotnet,ml-dotnet,spark-dotnet
99
ms.topic: landing-page

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: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,17 @@ title: "Chain of Thought Prompting - .NET"
33
description: "Learn how chain of thought prompting can simplify prompt engineering."
44
author: catbutler
55
ms.topic: concept-article #Don't change.
6-
ms.date: 04/10/2024
6+
ms.date: 11/24/2024
77

88
#customer intent: As a .NET developer, I want to understand what chain-of-thought prompting is and how it can help me save time and get better completions out of prompt engineering.
99

1010
---
1111

1212
# Chain of thought prompting
1313

14-
This article explains the use of chain of thought prompting in .NET.
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

16-
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.
17-
18-
*Chain of thought prompting* is the practice of prompting a GPT 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.
16+
*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.
1917

2018
It's generally simpler to just instruct the model to include its chain of thought, but you can use examples to show the model how to break down tasks. The following sections show both ways.
2119

@@ -24,7 +22,8 @@ It's generally simpler to just instruct the model to include its chain of though
2422
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.
2523

2624
```csharp
27-
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.""";
2827
```
2928

3029
## Use chain of thought prompting in examples

docs/ai/conceptual/how-genai-and-llms-work.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "How Generative AI and LLMs work"
33
description: "Understand how Generative AI and large language models (LLMs) work and how they might be useful in your .NET projects."
44
author: haywoodsloan
55
ms.topic: concept-article
6-
ms.date: 04/04/2024
6+
ms.date: 11/24/2024
77

88
#customer intent: As a .NET developer, I want to understand how Generative AI and large language models (LLMs) work and how they may be useful in my .NET projects.
99

docs/ai/conceptual/rag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Integrate Your Data into AI Apps with Retrieval-Augmented Generation"
33
description: "Learn how retrieval-augmented generation lets you use your data with LLMs to generate better completions 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 retrieval-augmented generation works in .NET so that LLMs can use my data sources to provide more valuable completions.
99

0 commit comments

Comments
 (0)