-
Notifications
You must be signed in to change notification settings - Fork 6.1k
General freshness update for AI docs #50541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR performs a general freshness update for the AI documentation, with the main focus on breaking out the IChatClient and IEmbeddingGenerator interfaces into separate dedicated articles. This reorganization improves the documentation structure by making it easier for developers to find specific interface documentation.
Key changes include:
- Creation of two new standalone articles (
ichatclient.mdandiembeddinggenerator.md) with comprehensive usage examples and implementation guidance - Updated TOC structure to reflect the new organization under Microsoft.Extensions.AI
- Package version updates removing prerelease flags for several stable packages
- Addition of sample implementation code files for both interfaces
- Redirection configuration for the removed
sample-implementations.mdfile
Reviewed changes
Copilot reviewed 17 out of 21 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/ai/toc.yml | Restructures Microsoft.Extensions.AI section to include separate entries for IChatClient and IEmbeddingGenerator interfaces; reorders API reference section; removes Advanced section |
| docs/ai/ichatclient.md | New standalone article providing comprehensive coverage of the IChatClient interface with examples for responses, streaming, tool calling, caching, telemetry, options, pipelines, middleware, dependency injection, stateless/stateful clients, and implementation examples |
| docs/ai/iembeddinggenerator.md | New standalone article covering the IEmbeddingGenerator interface with examples for creating embeddings, pipelines, and implementation guidance |
| docs/ai/snippets/sample-implementations/SampleChatClient.cs | New sample implementation of IChatClient demonstrating basic structure with metadata, response generation, and streaming |
| docs/ai/snippets/sample-implementations/SampleEmbeddingGenerator.cs | New sample implementation of IEmbeddingGenerator showing basic embedding generation structure |
| docs/ai/snippets/sample-implementations/Implementations.csproj | Project file for sample implementations targeting .NET 9.0 with Microsoft.Extensions.AI.Abstractions reference |
| docs/ai/microsoft-extensions-ai.md | Refactored to provide overview and links to dedicated interface articles; removes detailed examples now covered in separate articles |
| docs/ai/index.yml | Updates landing page with refreshed content links in Essential Concepts and Training sections; updates date to 12/10/2025 |
| docs/ai/overview.md | Updates date to 12/10/2025 |
| docs/ai/quickstarts/create-assistant.md | Removes --prerelease flag from OpenAI package installation |
| docs/ai/quickstarts/build-vector-search-app.md | Removes --prerelease flag from Microsoft.Extensions.VectorData.Abstractions package; removes preview note |
| docs/ai/evaluation/evaluate-safety.md | Removes --prerelease flags from Microsoft.Extensions.AI packages that are now stable |
| docs/ai/dotnet-ai-ecosystem.md | Adds section about other AI-related Microsoft.Extensions libraries (VectorData and DataIngestion); removes vector databases section; updates date |
| docs/ai/conceptual/vector-databases.md | Renames section heading to "Semantic Kernel vector database solutions"; updates include reference to sk-connectors.md |
| docs/ai/conceptual/rag.md | Updates section heading from "Related content" to "See also"; changes link to data-ingestion.md; updates date and removes customer intent comment |
| docs/ai/conceptual/embeddings.md | Updates internal link reference to match renamed section in vector-databases.md |
| docs/ai/conceptual/data-ingestion.md | Fixes typo in line 113 changing "Vectore stores" to "Vector stores" |
| docs/ai/conceptual/agents.md | Adds "Magentic" orchestration pattern to the list; updates date; reformats final paragraph |
| docs/ai/includes/sk-connectors.md | New include file containing table of Semantic Kernel vector database connectors |
| docs/ai/advanced/sample-implementations.md | File removed (content moved to separate interface articles) |
| .openpublishing.redirection.ai.json | Adds redirection from removed sample-implementations.md to ichatclient.md |
Fixes #50540
Internal previews
Toggle expand/collapse