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

feat:@coderabbitai #6

Merged
merged 1 commit into from
Oct 11, 2024
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
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.ChromaClient.Add.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ partial void ProcessAddResponseContent(
string collectionId,
global::System.Collections.Generic.IList<string> ids,
global::Chroma.AddEmbeddingEmbeddings? embeddings = default,
global::System.Collections.Generic.IList<global::Chroma.AddEmbeddingMetadata>? metadatas = default,
global::System.Collections.Generic.IList<object>? metadatas = default,
global::System.Collections.Generic.IList<string>? documents = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ partial void ProcessCreateCollectionResponseContent(
string name,
string? tenant = "default_tenant",
string? database = "default_database",
global::Chroma.CreateCollectionMetadata? metadata = default,
object? metadata = default,
bool? getOrCreate = false,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.ChromaClient.Delete.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ partial void ProcessDeleteResponseContent(
public async global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::System.Guid>> DeleteAsync(
string collectionId,
global::System.Collections.Generic.IList<string>? ids = default,
global::Chroma.DeleteEmbeddingWhere? where = default,
global::Chroma.DeleteEmbeddingWhereDocument? whereDocument = default,
object? where = default,
object? whereDocument = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::Chroma.DeleteEmbedding
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.ChromaClient.Get.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ partial void ProcessGetResponseContent(
public async global::System.Threading.Tasks.Task<global::Chroma.GetResult> GetAsync(
string collectionId,
global::System.Collections.Generic.IList<string>? ids = default,
global::Chroma.GetEmbeddingWhere? where = default,
global::Chroma.GetEmbeddingWhereDocument? whereDocument = default,
object? where = default,
object? whereDocument = default,
string? sort = default,
int? limit = default,
int? offset = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ partial void ProcessGetNearestNeighborsResponseContent(
public async global::System.Threading.Tasks.Task<global::Chroma.QueryResult> GetNearestNeighborsAsync(
string collectionId,
global::System.Collections.Generic.IList<global::Chroma.AnyOf<global::System.Collections.Generic.IList<double>, global::System.Collections.Generic.IList<int>>> queryEmbeddings,
global::Chroma.QueryEmbeddingWhere? where = default,
global::Chroma.QueryEmbeddingWhereDocument? whereDocument = default,
object? where = default,
object? whereDocument = default,
int? nResults = 10,
global::System.Collections.Generic.IList<global::Chroma.AnyOf<global::Chroma.QueryEmbeddingIncludeItemVariant1?, global::Chroma.QueryEmbeddingIncludeItemVariant2?, global::Chroma.QueryEmbeddingIncludeItemVariant3?, global::Chroma.QueryEmbeddingIncludeItemVariant4?>>? include = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.ChromaClient.Heartbeat.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ partial void ProcessHeartbeatResponseContent(
/// </summary>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Chroma.HeartbeatResponse> HeartbeatAsync(
public async global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, double>> HeartbeatAsync(
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down Expand Up @@ -80,7 +80,7 @@ partial void ProcessHeartbeatResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Chroma.HeartbeatResponse), JsonSerializerContext) as global::Chroma.HeartbeatResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.Dictionary<string, double>), JsonSerializerContext) as global::System.Collections.Generic.Dictionary<string, double> ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.ChromaClient.Root.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ partial void ProcessRootResponseContent(
/// </summary>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Chroma.RootResponse> RootAsync(
public async global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, double>> RootAsync(
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down Expand Up @@ -80,7 +80,7 @@ partial void ProcessRootResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Chroma.RootResponse), JsonSerializerContext) as global::Chroma.RootResponse ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.Dictionary<string, double>), JsonSerializerContext) as global::System.Collections.Generic.Dictionary<string, double> ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.ChromaClient.Update.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ partial void ProcessUpdateResponseContent(
string collectionId,
global::System.Collections.Generic.IList<string> ids,
global::Chroma.UpdateEmbeddingEmbeddings? embeddings = default,
global::System.Collections.Generic.IList<global::Chroma.UpdateEmbeddingMetadata>? metadatas = default,
global::System.Collections.Generic.IList<object>? metadatas = default,
global::System.Collections.Generic.IList<string>? documents = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ partial void ProcessUpdateCollectionResponseContent(
public async global::System.Threading.Tasks.Task<global::Chroma.Collection> UpdateCollectionAsync(
string collectionName,
string? newName = default,
global::Chroma.UpdateCollectionNewMetadata? newMetadata = default,
object? newMetadata = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::Chroma.UpdateCollection
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.ChromaClient.Upsert.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ partial void ProcessUpsertResponseContent(
string collectionId,
global::System.Collections.Generic.IList<string> ids,
global::Chroma.AddEmbeddingEmbeddings? embeddings = default,
global::System.Collections.Generic.IList<global::Chroma.AddEmbeddingMetadata>? metadatas = default,
global::System.Collections.Generic.IList<object>? metadatas = default,
global::System.Collections.Generic.IList<string>? documents = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.IChromaClient.Add.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public partial interface IChromaClient
string collectionId,
global::System.Collections.Generic.IList<string> ids,
global::Chroma.AddEmbeddingEmbeddings? embeddings = default,
global::System.Collections.Generic.IList<global::Chroma.AddEmbeddingMetadata>? metadatas = default,
global::System.Collections.Generic.IList<object>? metadatas = default,
global::System.Collections.Generic.IList<string>? documents = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public partial interface IChromaClient
string name,
string? tenant = "default_tenant",
string? database = "default_database",
global::Chroma.CreateCollectionMetadata? metadata = default,
object? metadata = default,
bool? getOrCreate = false,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.IChromaClient.Delete.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public partial interface IChromaClient
global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::System.Guid>> DeleteAsync(
string collectionId,
global::System.Collections.Generic.IList<string>? ids = default,
global::Chroma.DeleteEmbeddingWhere? where = default,
global::Chroma.DeleteEmbeddingWhereDocument? whereDocument = default,
object? where = default,
object? whereDocument = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.IChromaClient.Get.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public partial interface IChromaClient
global::System.Threading.Tasks.Task<global::Chroma.GetResult> GetAsync(
string collectionId,
global::System.Collections.Generic.IList<string>? ids = default,
global::Chroma.GetEmbeddingWhere? where = default,
global::Chroma.GetEmbeddingWhereDocument? whereDocument = default,
object? where = default,
object? whereDocument = default,
string? sort = default,
int? limit = default,
int? offset = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public partial interface IChromaClient
global::System.Threading.Tasks.Task<global::Chroma.QueryResult> GetNearestNeighborsAsync(
string collectionId,
global::System.Collections.Generic.IList<global::Chroma.AnyOf<global::System.Collections.Generic.IList<double>, global::System.Collections.Generic.IList<int>>> queryEmbeddings,
global::Chroma.QueryEmbeddingWhere? where = default,
global::Chroma.QueryEmbeddingWhereDocument? whereDocument = default,
object? where = default,
object? whereDocument = default,
int? nResults = 10,
global::System.Collections.Generic.IList<global::Chroma.AnyOf<global::Chroma.QueryEmbeddingIncludeItemVariant1?, global::Chroma.QueryEmbeddingIncludeItemVariant2?, global::Chroma.QueryEmbeddingIncludeItemVariant3?, global::Chroma.QueryEmbeddingIncludeItemVariant4?>>? include = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IChromaClient
/// </summary>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Chroma.HeartbeatResponse> HeartbeatAsync(
global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, double>> HeartbeatAsync(
global::System.Threading.CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.IChromaClient.Root.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public partial interface IChromaClient
/// </summary>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Chroma.RootResponse> RootAsync(
global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, double>> RootAsync(
global::System.Threading.CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.IChromaClient.Update.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public partial interface IChromaClient
string collectionId,
global::System.Collections.Generic.IList<string> ids,
global::Chroma.UpdateEmbeddingEmbeddings? embeddings = default,
global::System.Collections.Generic.IList<global::Chroma.UpdateEmbeddingMetadata>? metadatas = default,
global::System.Collections.Generic.IList<object>? metadatas = default,
global::System.Collections.Generic.IList<string>? documents = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public partial interface IChromaClient
global::System.Threading.Tasks.Task<global::Chroma.Collection> UpdateCollectionAsync(
string collectionName,
string? newName = default,
global::Chroma.UpdateCollectionNewMetadata? newMetadata = default,
object? newMetadata = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.IChromaClient.Upsert.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public partial interface IChromaClient
string collectionId,
global::System.Collections.Generic.IList<string> ids,
global::Chroma.AddEmbeddingEmbeddings? embeddings = default,
global::System.Collections.Generic.IList<global::Chroma.AddEmbeddingMetadata>? metadatas = default,
global::System.Collections.Generic.IList<object>? metadatas = default,
global::System.Collections.Generic.IList<string>? documents = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.Models.AddEmbedding.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class AddEmbedding
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("metadatas")]
public global::System.Collections.Generic.IList<global::Chroma.AddEmbeddingMetadata>? Metadatas { get; set; }
public global::System.Collections.Generic.IList<object>? Metadatas { get; set; }

/// <summary>
///
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.Models.Collection.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public sealed partial class Collection
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")]
public global::Chroma.CollectionMetadata? Metadata { get; set; }
public object? Metadata { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public sealed partial class CreateCollection
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")]
public global::Chroma.CreateCollectionMetadata? Metadata { get; set; }
public object? Metadata { get; set; }

/// <summary>
/// Default Value: false
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.Models.DeleteEmbedding.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ public sealed partial class DeleteEmbedding
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("where")]
public global::Chroma.DeleteEmbeddingWhere? Where { get; set; }
public object? Where { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("where_document")]
public global::Chroma.DeleteEmbeddingWhereDocument? WhereDocument { get; set; }
public object? WhereDocument { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.Models.GetEmbedding.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ public sealed partial class GetEmbedding
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("where")]
public global::Chroma.GetEmbeddingWhere? Where { get; set; }
public object? Where { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("where_document")]
public global::Chroma.GetEmbeddingWhereDocument? WhereDocument { get; set; }
public object? WhereDocument { get; set; }

/// <summary>
///
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.Models.GetResult.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public sealed partial class GetResult
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("metadatas")]
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Collections.Generic.IList<global::Chroma.GetResultMetadata> Metadatas { get; set; }
public required global::System.Collections.Generic.IList<object> Metadatas { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Chroma/Generated/Chroma.Models.QueryEmbedding.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ public sealed partial class QueryEmbedding
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("where")]
public global::Chroma.QueryEmbeddingWhere? Where { get; set; }
public object? Where { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("where_document")]
public global::Chroma.QueryEmbeddingWhereDocument? WhereDocument { get; set; }
public object? WhereDocument { get; set; }

/// <summary>
///
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Chroma/Generated/Chroma.Models.QueryResult.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public sealed partial class QueryResult
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("metadatas")]
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Collections.Generic.IList<global::System.Collections.Generic.IList<global::Chroma.QueryResultMetadataItem>> Metadatas { get; set; }
public required global::System.Collections.Generic.IList<global::System.Collections.Generic.IList<object>> Metadatas { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class UpdateCollection
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("new_metadata")]
public global::Chroma.UpdateCollectionNewMetadata? NewMetadata { get; set; }
public object? NewMetadata { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class UpdateEmbedding
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("metadatas")]
public global::System.Collections.Generic.IList<global::Chroma.UpdateEmbeddingMetadata>? Metadatas { get; set; }
public global::System.Collections.Generic.IList<object>? Metadatas { get; set; }

/// <summary>
///
Expand Down
Loading
Loading