[Discovery] Azure.AI.Discovery 1.0.0-beta.1 preview release for API version 2026-02-01-preview#59320
[Discovery] Azure.AI.Discovery 1.0.0-beta.1 preview release for API version 2026-02-01-preview#59320ahall-msft wants to merge 1 commit into
Conversation
f87dd27 to
8fea2f4
Compare
8fea2f4 to
be19477
Compare
New client library for the Azure AI Discovery service (API version 2026-02-01-preview). Provides two clients under the Azure.AI.Discovery namespace: - WorkspaceClient: investigations, conversations, tasks, and tools - BookshelfClient: knowledge bases and knowledge base versions Generated from TypeSpec specifications: - specification/discovery/Discovery.Workspace - specification/discovery/Discovery.Bookshelf Spec PR: Azure/azure-rest-api-specs#39746 Release plan: 2032 - Public Preview - Microsoft Discovery
be19477 to
52bd915
Compare
jsquire
left a comment
There was a problem hiding this comment.
Please remove _bookshelf and _workspace. These are not the standard hierarchy used by Azure SDK libraries and are likely to cause issues in the repository engineering systems.
| /// </summary> | ||
| public async Task CreateAndManageInvestigation() | ||
| { | ||
| #region Snippet:CreateAndManageInvestigation |
There was a problem hiding this comment.
Please name snippets with an association to your library. They are global in scope and something generic like this runs a high risk of collisions.
Example: Discovery_CreateAndManageInvestigation
| @@ -0,0 +1,16 @@ | |||
| <Project Sdk="Microsoft.NET.Sdk"> | |||
|
|
|||
| <PropertyGroup> | |||
There was a problem hiding this comment.
Please move your snippets to your test project to follow standard repository patterns.
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <OutputType>Library</OutputType> | ||
| <NoWarn>$(NoWarn);CS1998</NoWarn> <!-- Suppress async method without await --> |
There was a problem hiding this comment.
This should not be suppressed, and certainly not globally.
| @@ -0,0 +1,48 @@ | |||
| # Azure AI Discovery samples for .NET | |||
|
|
|||
| This directory contains sample code demonstrating common scenarios for the [Azure AI Discovery client library for .NET](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/discovery/Azure.AI.Discovery/README.md). | |||
There was a problem hiding this comment.
This is not how the Azure SDK for .NET represents samples. These should be markdown-based samples with snippets injected, per the Azure SDK guidelines.
| @@ -0,0 +1,14 @@ | |||
| <Project> | |||
There was a problem hiding this comment.
Please remove props, targets, and csproj files from the samples area.
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Azure.Core" /> | ||
| <PackageReference Include="System.Text.Json" /> |
There was a problem hiding this comment.
Remove; this comes in transitively via Core.
| Both clients use Microsoft Entra ID (Azure Active Directory) token authentication. Use the [Azure.Identity][azure_identity] library to obtain credentials: | ||
|
|
||
| ```dotnetcli | ||
| dotnet add package Azure.Identity |
There was a problem hiding this comment.
This is no longer needed and should be removed. Credentials are now bundled into Core.
| - **`KnowledgeBases`** — list available knowledge bases. | ||
| - **`KnowledgeBaseVersions`** — create, update, index, and manage versions of knowledge bases backed by storage assets. | ||
|
|
||
| ```C# |
There was a problem hiding this comment.
All code in samples and README files should be snippets.
|
|
||
| This library uses the standard Azure.Core diagnostics pipeline. Enable detailed HTTP request/response logging by adding an `AzureEventSourceListener` to your application: | ||
|
|
||
| ```C# |
|
|
||
| ### Features Added | ||
|
|
||
| - Added `WorkspaceClient` for managing Discovery workspace resources, with sub-clients for: |
There was a problem hiding this comment.
This isn't the right level of detail; we want to keep change logs focused on high-level features.
Description
Initial preview release of
Azure.AI.Discovery1.0.0-beta.1.This pull request introduces a new client library for the Azure AI Discovery
service. It provides two clients under the
Azure.AI.Discoverynamespace:WorkspaceClient— exposing sub-clients for investigations, conversations,tasks, and tools.
BookshelfClient— exposing sub-clients for knowledge bases and knowledgebase versions.
Generated from TypeSpec at:
specification/discovery/Discovery.Workspacespecification/discovery/Discovery.Bookshelfin
Azure/azure-rest-api-specsat commit7089f3d2a4ed7e765d66f5f5e3be0b8b1eed6c1a.Spec PR: Azure/azure-rest-api-specs#39746 (merged 2026-05-05)
Release plan: 2032 - Public Preview - Microsoft Discovery
Sibling SDK PR: Azure/azure-sdk-for-python#46940 (Python data-plane release)
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines
Release Plan Details