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

ContainerProperties: Refactors Vector Embedding and Indexing Policy Interfaces to Mark Them as Public #4484

Closed
Closed
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ internal static class QueryPlanRetriever
| QueryFeatures.OrderBy
| QueryFeatures.Top
| QueryFeatures.NonValueAggregate
| QueryFeatures.DCount;
| QueryFeatures.DCount
| QueryFeatures.NonStreamingOrderBy;

private static readonly string SupportedQueryFeaturesString = SupportedQueryFeatures.ToString();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public IndexingPolicy IndexingPolicy
/// </para>
/// </remarks>
[JsonIgnore]
internal VectorEmbeddingPolicy VectorEmbeddingPolicy
public VectorEmbeddingPolicy VectorEmbeddingPolicy
{
get => this.vectorEmbeddingPolicyInternal;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Azure.Cosmos
/// Defines the distance function for a vector index specification in the Azure Cosmos DB service.
/// </summary>
/// <seealso cref="Embedding"/> for usage.
internal enum DistanceFunction
public enum DistanceFunction
{
/// <summary>
/// Represents the euclidean distance function.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.Azure.Cosmos
/// <summary>
/// Represents the embedding settings for the vector index.
/// </summary>
internal class Embedding : IEquatable<Embedding>
public class Embedding : IEquatable<Embedding>
{
/// <summary>
/// Gets or sets a string containing the path of the vector index.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public IndexingPolicy()
/// ]
/// ]]>
/// </example>
internal Collection<VectorIndexPath> VectorIndexes
public Collection<VectorIndexPath> VectorIndexes
{
get => this.VectorIndexesInternal ??= new Collection<VectorIndexPath>();
set => this.VectorIndexesInternal = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Azure.Cosmos
/// <summary>
/// Defines the target data type of a vector index specification in the Azure Cosmos DB service.
/// </summary>
internal enum VectorDataType
public enum VectorDataType
{
/// <summary>
/// Represent a float16 data type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.Azure.Cosmos
/// Represents the vector embedding policy configuration for specifying the vector embeddings on documents in the collection in the Azure Cosmos DB service.
/// </summary>
/// <seealso cref="ContainerProperties"/>
internal sealed class VectorEmbeddingPolicy
public sealed class VectorEmbeddingPolicy
{
/// <summary>
/// Initializes a new instance of the <see cref="VectorEmbeddingPolicy"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace Microsoft.Azure.Cosmos
/// }
/// ]]>
/// </example>
internal sealed class VectorIndexPath
public sealed class VectorIndexPath
{
/// <summary>
/// Gets or sets the full path in a document used for vector indexing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Azure.Cosmos
/// <summary>
/// Defines the target index type of an vector index path specification in the Azure Cosmos DB service.
/// </summary>
internal enum VectorIndexType
public enum VectorIndexType
{
/// <summary>
/// Represents a flat vector index type.
Expand Down
Loading