Skip to content
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

.Net: Remove experimental flag from VectorStore implementations. #9624

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

westey-m
Copy link
Contributor

@westey-m westey-m commented Nov 8, 2024

Motivation and Context

As part of graduating vector stores we want to remove the experimental flag from the implementations and only keep them on memory store implementations.

#8539

Description

  • Remove experimental flag from packages with vector store implementations.
  • Add experimental flag to any memory store files in the same package.
  • Clean up warning suppressions in vector store projects.

Contribution Checklist

@westey-m westey-m requested a review from a team as a code owner November 8, 2024 16:25
@@ -21,6 +21,7 @@ namespace Microsoft.SemanticKernel.Diagnostics;
/// `SEMANTICKERNEL_EXPERIMENTAL_GENAI_ENABLE_OTEL_DIAGNOSTICS`
/// `SEMANTICKERNEL_EXPERIMENTAL_GENAI_ENABLE_OTEL_DIAGNOSTICS_SENSITIVE`
/// </summary>
[Experimental("SKEXP0001")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This class is using experimental features and is included in the vector store projects via internal utilities.
Since the projects are not experimental anymore, this class showed up with a warning saying that this is using experimental features in a non-experimental project.
Adding experimental here to remove the warning, without having to suppress the warning at project level.

@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel memory labels Nov 8, 2024
@github-actions github-actions bot changed the title Remove experimental flag from VectorStore implementations. .Net: Remove experimental flag from VectorStore implementations. Nov 8, 2024
@@ -12,6 +13,7 @@ namespace Microsoft.SemanticKernel.Connectors.AzureCosmosDBMongoDB;
/// <summary>
/// A MongoDB memory record.
/// </summary>
[Experimental("SKEXP0020")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm adding experimental to internal classes as well, since I don't want them accidentally used by us.

@@ -11,6 +12,7 @@ namespace Microsoft.SemanticKernel.Connectors.AzureAISearch;
/// Azure AI Search record and index definition.
/// Note: once defined, index cannot be modified.
/// </summary>
[Experimental("SKEXP0020")]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to do this for internal classes?

@stephentoub
Copy link
Member

What does it mean to remove [Experimental] here when the abstractions themselves are still preview?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel memory .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants