Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .openpublishing.redirection.ai.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
"redirect_url": "/dotnet/ai/quickstarts/prompt-model",
"redirect_document_id": true
},
{
"source_path_from_root": "/docs/ai/semantic-kernel-dotnet-overview.md",
"redirect_url": "/semantic-kernel/overview"
},
{
"source_path_from_root": "/docs/ai/tutorials/llm-eval.md",
"redirect_url": "/dotnet/ai/evaluation/evaluate-ai-response"
Expand Down
6 changes: 3 additions & 3 deletions docs/ai/conceptual/prompt-engineering-dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ John Adams ...' ///Text truncated

An example is text that shows the model how to respond by providing sample user input and model output. The model uses examples to infer what to include in completions. Examples can come either before or after the instructions in an engineered prompt, but the two shouldn't be interspersed.

An example starts with a prompt and can optionally include a completion. A completion in an example doesn't have to include the verbatim response—it might just contain a formatted word, the first bullet in an unordered list, or something similar to indicate how each completion should start.
An example starts with a prompt and can optionally include a completion. A completion in an example doesn't have to include the verbatim response—it might just contain a formatted word, the first bullet in an unordered list, or something similar to indicate how each completion should start.

Examples are classified as [zero-shot learning](zero-shot-learning.md) or [few-shot learning](zero-shot-learning.md) based on whether they contain verbatim completions.

Expand All @@ -103,7 +103,7 @@ First president to be declared an honorary citizen of a foreign country, and an
John Adams ... /// Text truncated

DOMESTIC POLICY
- George Washington:
- George Washington:
- John Adams:
""";
```
Expand All @@ -114,7 +114,7 @@ DOMESTIC POLICY

## Example prompt using .NET

.NET provides various tools to prompt and chat with different AI models. Use [Semantic Kernel](../semantic-kernel-dotnet-overview.md) to connect to a wide variety of AI models and services, as well as other SDKs such as the official [OpenAI .NET library](https://www.nuget.org/packages/OpenAI-DotNet/). Semantic Kernel includes tools to create prompts with different roles and maintain chat history, as well as many other features.
.NET provides various tools to prompt and chat with different AI models. Use [Semantic Kernel](/semantic-kernel/overview/) to connect to a wide variety of AI models and services, as well as other SDKs such as the official [OpenAI .NET library](https://www.nuget.org/packages/OpenAI-DotNet/). Semantic Kernel includes tools to create prompts with different roles and maintain chat history, as well as many other features.

Consider the following code example:

Expand Down
2 changes: 1 addition & 1 deletion docs/ai/dotnet-ai-ecosystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The .NET ecosystem provides many powerful tools, libraries, and services to deve

## Semantic Kernel for .NET

If you just want to use the low-level services, such as <xref:Microsoft.Extensions.AI.IChatClient> and <xref:Microsoft.Extensions.AI.IEmbeddingGenerator`2>, you can reference the `Microsoft.Extensions.AI.Abstractions` package directly from your app. However, if you want to use higher-level, more opinionated approaches to AI, then you should use [Semantic Kernel](semantic-kernel-dotnet-overview.md).
If you just want to use the low-level services, such as <xref:Microsoft.Extensions.AI.IChatClient> and <xref:Microsoft.Extensions.AI.IEmbeddingGenerator`2>, you can reference the `Microsoft.Extensions.AI.Abstractions` package directly from your app. However, if you want to use higher-level, more opinionated approaches to AI, then you should use [Semantic Kernel](/semantic-kernel/overview/).

Semantic Kernel, which has a dependency on the `Microsoft.Extensions.AI.Abstractions` package, is an open-source library that enables AI integration and orchestration capabilities in your .NET apps. Its connectors provides concrete implementations of <xref:Microsoft.Extensions.AI.IChatClient> and <xref:Microsoft.Extensions.AI.IEmbeddingGenerator`2> for different services, including OpenAI, Amazon Bedrock, and Google Gemini.

Expand Down
1 change: 0 additions & 1 deletion docs/ai/get-started-mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,3 @@ Learn more about .NET and MCP using these resources:

- [Overview of the .NET + AI ecosystem](dotnet-ai-ecosystem.md)
- [Microsoft.Extensions.AI](/dotnet/ai/ai-extensions)
- [Semantic Kernel overview for .NET](semantic-kernel-dotnet-overview.md)
222 changes: 0 additions & 222 deletions docs/ai/semantic-kernel-dotnet-overview.md

This file was deleted.

2 changes: 2 additions & 0 deletions docs/navigate/devops-testing/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ items:
href: ../../core/deploying/single-file/overview.md
- name: ReadyToRun
href: ../../core/deploying/ready-to-run.md
- name: Publish .NET apps for macOS
href: ../../core/deploying/macos.md
- name: Trim self-contained deployments
items:
- name: Overview and how-to
Expand Down