Skip to content

Commit

Permalink
Merge pull request #4 from tryAGI/bot/update-openapi_202410110323
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 11, 2024
2 parents b53c905 + 7c6376a commit 99f75c2
Show file tree
Hide file tree
Showing 22 changed files with 216 additions and 210 deletions.
314 changes: 151 additions & 163 deletions src/libs/Weaviate/Generated/JsonSerializerContextTypes.g.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ public partial interface IObjectsClient
global::System.Guid id,
global::Weaviate.ObjectsClassPatchConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPatchConsistencyLevel.QUORUM,
string? @class = default,
global::Weaviate.VectorWeights? vectorWeights = default,
global::Weaviate.PropertySchema? properties = default,
object? vectorWeights = default,
object? properties = default,
global::System.Guid? requestId = default,
long? creationTimeUnix = default,
long? lastUpdateTimeUnix = default,
global::System.Collections.Generic.IList<float>? vector = default,
global::Weaviate.Vectors? vectors = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? vectors = default,
string? tenant = default,
global::Weaviate.AdditionalProperties? additional = default,
global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? additional = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ public partial interface IObjectsClient
global::System.Guid id,
global::Weaviate.ObjectsClassPutConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPutConsistencyLevel.QUORUM,
string? @class = default,
global::Weaviate.VectorWeights? vectorWeights = default,
global::Weaviate.PropertySchema? properties = default,
object? vectorWeights = default,
object? properties = default,
global::System.Guid? requestId = default,
long? creationTimeUnix = default,
long? lastUpdateTimeUnix = default,
global::System.Collections.Generic.IList<float>? vector = default,
global::Weaviate.Vectors? vectors = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? vectors = default,
string? tenant = default,
global::Weaviate.AdditionalProperties? additional = default,
global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? additional = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public partial interface IObjectsClient
global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel.QUORUM,
string? tenant = default,
string? @class = default,
global::Weaviate.PropertySchema? schema = default,
object? schema = default,
string? beacon = default,
string? href = default,
global::Weaviate.ReferenceMetaClassification? classification = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public partial interface IObjectsClient
global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel.QUORUM,
string? tenant = default,
string? @class = default,
global::Weaviate.PropertySchema? schema = default,
object? schema = default,
string? beacon = default,
string? href = default,
global::Weaviate.ReferenceMetaClassification? classification = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ public partial interface IObjectsClient
global::System.Threading.Tasks.Task<global::Weaviate.Object> ObjectsCreateAsync(
global::Weaviate.ObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsCreateConsistencyLevel.QUORUM,
string? @class = default,
global::Weaviate.VectorWeights? vectorWeights = default,
global::Weaviate.PropertySchema? properties = default,
object? vectorWeights = default,
object? properties = default,
global::System.Guid? id = default,
long? creationTimeUnix = default,
long? lastUpdateTimeUnix = default,
global::System.Collections.Generic.IList<float>? vector = default,
global::Weaviate.Vectors? vectors = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? vectors = default,
string? tenant = default,
global::Weaviate.AdditionalProperties? additional = default,
global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? additional = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ public partial interface IObjectsClient
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Weaviate.ErrorResponse> ObjectsValidateAsync(
string? @class = default,
global::Weaviate.VectorWeights? vectorWeights = default,
global::Weaviate.PropertySchema? properties = default,
object? vectorWeights = default,
object? properties = default,
global::System.Guid? id = default,
long? creationTimeUnix = default,
long? lastUpdateTimeUnix = default,
global::System.Collections.Generic.IList<float>? vector = default,
global::Weaviate.Vectors? vectors = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? vectors = default,
string? tenant = default,
global::Weaviate.AdditionalProperties? additional = default,
global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? additional = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public partial interface ISchemaClient
string class1,
global::Weaviate.ClassVectorConfig? vectorConfig = default,
global::Weaviate.VectorIndexType? vectorIndexType = global::Weaviate.VectorIndexType.Hnsw,
global::Weaviate.VectorIndexConfig? vectorIndexConfig = default,
object? vectorIndexConfig = default,
global::Weaviate.ShardingConfig? shardingConfig = default,
global::Weaviate.ReplicationConfig? replicationConfig = default,
global::Weaviate.InvertedIndexConfig? invertedIndexConfig = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public partial interface ISchemaClient
string class1,
global::Weaviate.ClassVectorConfig? vectorConfig = default,
global::Weaviate.VectorIndexType? vectorIndexType = global::Weaviate.VectorIndexType.Hnsw,
global::Weaviate.VectorIndexConfig? vectorIndexConfig = default,
object? vectorIndexConfig = default,
global::Weaviate.ShardingConfig? shardingConfig = default,
global::Weaviate.ReplicationConfig? replicationConfig = default,
global::Weaviate.InvertedIndexConfig? invertedIndexConfig = default,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

#nullable enable

namespace Weaviate
{
/// <summary>
///
/// </summary>
public sealed partial class AdditionalProperties2
{

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();
}
}
2 changes: 1 addition & 1 deletion src/libs/Weaviate/Generated/Weaviate.Models.Class.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public sealed partial class Class
/// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("vectorIndexConfig")]
public global::Weaviate.VectorIndexConfig? VectorIndexConfig { get; set; }
public object? VectorIndexConfig { get; set; }

/// <summary>
/// Specify how the index should be sharded and distributed in the cluster
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Weaviate/Generated/Weaviate.Models.Object.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ public sealed partial class Object
/// Allow custom overrides of vector weights as math expressions in word-based vectorization models. E.g. "pancake": "7" will set the weight for the word pancake to 7 in the vectorization, whereas "w * 3" would triple the originally calculated word.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("vectorWeights")]
public global::Weaviate.VectorWeights? VectorWeights { get; set; }
public object? VectorWeights { get; set; }

/// <summary>
/// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("properties")]
public global::Weaviate.PropertySchema? Properties { get; set; }
public object? Properties { get; set; }

/// <summary>
/// ID of the object.
Expand Down Expand Up @@ -54,7 +54,7 @@ public sealed partial class Object
/// A map of named vectors for multi-vector representations.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("vectors")]
public global::Weaviate.Vectors? Vectors { get; set; }
public global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? Vectors { get; set; }

/// <summary>
/// Name of the tenant.
Expand All @@ -66,7 +66,7 @@ public sealed partial class Object
/// (Response only) Additional meta information about a single object.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("additional")]
public global::Weaviate.AdditionalProperties? Additional { get; set; }
public global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? Additional { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Weaviate/Generated/Weaviate.Models.SingleRef.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class SingleRef
/// Names and values of an individual property. A returned response may also contain additional metadata, such as from classification or feature projection.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("schema")]
public global::Weaviate.PropertySchema? Schema { get; set; }
public object? Schema { get; set; }

/// <summary>
/// If using a direct reference, specify the URI to point to the cross-ref here. Should be in the form of weaviate://localhost/&lt;uuid&gt; for the example of a local cross-ref to an object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public sealed partial class VectorConfig
/// Vector index type specific settings. See the [vector index configuration page](https://weaviate.io/developers/weaviate/config-refs/schema/vector-index) for more details
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("vectorIndexConfig")]
public global::Weaviate.VectorIndexConfig? VectorIndexConfig { get; set; }
public object? VectorIndexConfig { 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 @@ -184,15 +184,15 @@ partial void ProcessObjectsClassPatchResponseContent(
global::System.Guid id,
global::Weaviate.ObjectsClassPatchConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPatchConsistencyLevel.QUORUM,
string? @class = default,
global::Weaviate.VectorWeights? vectorWeights = default,
global::Weaviate.PropertySchema? properties = default,
object? vectorWeights = default,
object? properties = default,
global::System.Guid? requestId = default,
long? creationTimeUnix = default,
long? lastUpdateTimeUnix = default,
global::System.Collections.Generic.IList<float>? vector = default,
global::Weaviate.Vectors? vectors = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? vectors = default,
string? tenant = default,
global::Weaviate.AdditionalProperties? additional = default,
global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? additional = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::Weaviate.Object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,15 @@ partial void ProcessObjectsClassPutResponseContent(
global::System.Guid id,
global::Weaviate.ObjectsClassPutConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassPutConsistencyLevel.QUORUM,
string? @class = default,
global::Weaviate.VectorWeights? vectorWeights = default,
global::Weaviate.PropertySchema? properties = default,
object? vectorWeights = default,
object? properties = default,
global::System.Guid? requestId = default,
long? creationTimeUnix = default,
long? lastUpdateTimeUnix = default,
global::System.Collections.Generic.IList<float>? vector = default,
global::Weaviate.Vectors? vectors = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? vectors = default,
string? tenant = default,
global::Weaviate.AdditionalProperties? additional = default,
global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? additional = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::Weaviate.Object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ partial void ProcessObjectsClassReferencesCreateResponseContent(
global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesCreateConsistencyLevel.QUORUM,
string? tenant = default,
string? @class = default,
global::Weaviate.PropertySchema? schema = default,
object? schema = default,
string? beacon = default,
string? href = default,
global::Weaviate.ReferenceMetaClassification? classification = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ partial void ProcessObjectsClassReferencesDeleteResponseContent(
global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsClassReferencesDeleteConsistencyLevel.QUORUM,
string? tenant = default,
string? @class = default,
global::Weaviate.PropertySchema? schema = default,
object? schema = default,
string? beacon = default,
string? href = default,
global::Weaviate.ReferenceMetaClassification? classification = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ partial void ProcessObjectsCreateResponseContent(
public async global::System.Threading.Tasks.Task<global::Weaviate.Object> ObjectsCreateAsync(
global::Weaviate.ObjectsCreateConsistencyLevel? consistencyLevel = global::Weaviate.ObjectsCreateConsistencyLevel.QUORUM,
string? @class = default,
global::Weaviate.VectorWeights? vectorWeights = default,
global::Weaviate.PropertySchema? properties = default,
object? vectorWeights = default,
object? properties = default,
global::System.Guid? id = default,
long? creationTimeUnix = default,
long? lastUpdateTimeUnix = default,
global::System.Collections.Generic.IList<float>? vector = default,
global::Weaviate.Vectors? vectors = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? vectors = default,
string? tenant = default,
global::Weaviate.AdditionalProperties? additional = default,
global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? additional = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::Weaviate.Object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ partial void ProcessObjectsValidateResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Weaviate.ErrorResponse> ObjectsValidateAsync(
string? @class = default,
global::Weaviate.VectorWeights? vectorWeights = default,
global::Weaviate.PropertySchema? properties = default,
object? vectorWeights = default,
object? properties = default,
global::System.Guid? id = default,
long? creationTimeUnix = default,
long? lastUpdateTimeUnix = default,
global::System.Collections.Generic.IList<float>? vector = default,
global::Weaviate.Vectors? vectors = default,
global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.IList<float>>? vectors = default,
string? tenant = default,
global::Weaviate.AdditionalProperties? additional = default,
global::System.Collections.Generic.Dictionary<string, global::Weaviate.AdditionalProperties2>? additional = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::Weaviate.Object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ partial void ProcessSchemaObjectsCreateResponseContent(
string class1,
global::Weaviate.ClassVectorConfig? vectorConfig = default,
global::Weaviate.VectorIndexType? vectorIndexType = global::Weaviate.VectorIndexType.Hnsw,
global::Weaviate.VectorIndexConfig? vectorIndexConfig = default,
object? vectorIndexConfig = default,
global::Weaviate.ShardingConfig? shardingConfig = default,
global::Weaviate.ReplicationConfig? replicationConfig = default,
global::Weaviate.InvertedIndexConfig? invertedIndexConfig = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ partial void ProcessSchemaObjectsUpdateResponseContent(
string class1,
global::Weaviate.ClassVectorConfig? vectorConfig = default,
global::Weaviate.VectorIndexType? vectorIndexType = global::Weaviate.VectorIndexType.Hnsw,
global::Weaviate.VectorIndexConfig? vectorIndexConfig = default,
object? vectorIndexConfig = default,
global::Weaviate.ShardingConfig? shardingConfig = default,
global::Weaviate.ReplicationConfig? replicationConfig = default,
global::Weaviate.InvertedIndexConfig? invertedIndexConfig = default,
Expand Down

0 comments on commit 99f75c2

Please sign in to comment.