diff --git a/src/libs/Mixedbread/Generated/Mixedbread.IStoresClient.ListStoreChunks.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.IStoresClient.ListStoreChunks.g.cs new file mode 100644 index 0000000..1bfd500 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.IStoresClient.ListStoreChunks.g.cs @@ -0,0 +1,123 @@ +#nullable enable + +namespace Mixedbread +{ + public partial interface IStoresClient + { + /// + /// List store chunks by metadata filter and numeric ranking
+ /// List store chunks purely by metadata filters — no embeddings, no semantic similarity, no reranking.
+ /// Unlike `/stores/search`, this endpoint does not require a query and never runs a vector lookup.
+ /// It returns chunks whose file and chunk metadata satisfy `filters`, optionally ordered by a
+ /// numeric metadata field via `sort_by`. Useful for ranked retrieval over numeric attributes
+ /// (e.g. price, BPM) and for reproducing the agentic `filter_chunks` tool externally.
+ /// list-chunks targets a single store and does not support pagination; raise `top_k` to
+ /// retrieve more chunks.
+ /// Args:
+ /// filter_params: Filter configuration including:
+ /// - store_identifiers: the single store to filter against
+ /// - filters: optional metadata filter conditions
+ /// - file_ids: optional list of file IDs to filter chunks by
+ /// - sort_by: optional metadata field path, or `(field, ascending)` tuple, for numeric ordering
+ /// - top_k: number of chunks to return
+ /// Returns:
+ /// StoreListChunksResponse containing the list of matching chunks.
+ /// Raises:
+ /// HTTPException (400): If filter parameters are invalid or multiple stores are passed
+ /// HTTPException (404): If the store is not found + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListStoreChunksAsync( + + global::Mixedbread.StoreChunkFilterParams request, + global::Mixedbread.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List store chunks by metadata filter and numeric ranking
+ /// List store chunks purely by metadata filters — no embeddings, no semantic similarity, no reranking.
+ /// Unlike `/stores/search`, this endpoint does not require a query and never runs a vector lookup.
+ /// It returns chunks whose file and chunk metadata satisfy `filters`, optionally ordered by a
+ /// numeric metadata field via `sort_by`. Useful for ranked retrieval over numeric attributes
+ /// (e.g. price, BPM) and for reproducing the agentic `filter_chunks` tool externally.
+ /// list-chunks targets a single store and does not support pagination; raise `top_k` to
+ /// retrieve more chunks.
+ /// Args:
+ /// filter_params: Filter configuration including:
+ /// - store_identifiers: the single store to filter against
+ /// - filters: optional metadata filter conditions
+ /// - file_ids: optional list of file IDs to filter chunks by
+ /// - sort_by: optional metadata field path, or `(field, ascending)` tuple, for numeric ordering
+ /// - top_k: number of chunks to return
+ /// Returns:
+ /// StoreListChunksResponse containing the list of matching chunks.
+ /// Raises:
+ /// HTTPException (400): If filter parameters are invalid or multiple stores are passed
+ /// HTTPException (404): If the store is not found + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListStoreChunksAsResponseAsync( + + global::Mixedbread.StoreChunkFilterParams request, + global::Mixedbread.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List store chunks by metadata filter and numeric ranking
+ /// List store chunks purely by metadata filters — no embeddings, no semantic similarity, no reranking.
+ /// Unlike `/stores/search`, this endpoint does not require a query and never runs a vector lookup.
+ /// It returns chunks whose file and chunk metadata satisfy `filters`, optionally ordered by a
+ /// numeric metadata field via `sort_by`. Useful for ranked retrieval over numeric attributes
+ /// (e.g. price, BPM) and for reproducing the agentic `filter_chunks` tool externally.
+ /// list-chunks targets a single store and does not support pagination; raise `top_k` to
+ /// retrieve more chunks.
+ /// Args:
+ /// filter_params: Filter configuration including:
+ /// - store_identifiers: the single store to filter against
+ /// - filters: optional metadata filter conditions
+ /// - file_ids: optional list of file IDs to filter chunks by
+ /// - sort_by: optional metadata field path, or `(field, ascending)` tuple, for numeric ordering
+ /// - top_k: number of chunks to return
+ /// Returns:
+ /// StoreListChunksResponse containing the list of matching chunks.
+ /// Raises:
+ /// HTTPException (400): If filter parameters are invalid or multiple stores are passed
+ /// HTTPException (404): If the store is not found + ///
+ /// + /// IDs or names of stores + /// + /// + /// Number of results to return
+ /// Default Value: 10 + /// + /// + /// Optional filter conditions + /// + /// + /// Optional list of file IDs to filter chunks by (inclusion filter) + /// + /// + /// Optional sort applied to the returned chunks. Pass a metadata field path or a tuple of (field path, ascending). Unprefixed dot paths target file metadata; generated_metadata.* targets chunk metadata. + /// + /// + /// Search configuration options + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListStoreChunksAsync( + global::System.Collections.Generic.IList> storeIdentifiers, + int? topK = default, + global::Mixedbread.AnyOf>, object>? filters = default, + global::Mixedbread.AnyOf>>, global::System.Collections.Generic.IList, object>? fileIds = default, + global::Mixedbread.AnyOf>, object>? sortBy = default, + global::Mixedbread.StoreChunkSearchOptions? searchOptions = default, + global::Mixedbread.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem3.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem3.g.cs index b44436d..3c5873b 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem3.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem3.g.cs @@ -17,33 +17,33 @@ public class DataItem3JsonConverter : global::System.Text.Json.Serialization.Jso var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.StoreSearchResponseDataItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.StoreSearchResponseDataItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.StoreListChunksResponseDataItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.StoreListChunksResponseDataItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? text = default; - if (discriminator?.Type == global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType.Text) + if (discriminator?.Type == global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType.Text) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk)}"); text = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? imageUrl = default; - if (discriminator?.Type == global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType.ImageUrl) + if (discriminator?.Type == global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType.ImageUrl) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk)}"); imageUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? audioUrl = default; - if (discriminator?.Type == global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType.AudioUrl) + if (discriminator?.Type == global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType.AudioUrl) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk)}"); audioUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? videoUrl = default; - if (discriminator?.Type == global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType.VideoUrl) + if (discriminator?.Type == global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType.VideoUrl) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk)}"); diff --git a/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem4.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem4.g.cs index 88abfc4..77e2dad 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem4.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem4.g.cs @@ -17,36 +17,36 @@ public class DataItem4JsonConverter : global::System.Text.Json.Serialization.Jso var readerCopy = reader; - var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminator)}"); + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.StoreSearchResponseDataItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.StoreSearchResponseDataItemDiscriminator)}"); var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); - global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? text = default; - if (discriminator?.Type == global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType.Text) + global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? text = default; + if (discriminator?.Type == global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType.Text) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk)}"); text = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? imageUrl = default; - if (discriminator?.Type == global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType.ImageUrl) + global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? imageUrl = default; + if (discriminator?.Type == global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType.ImageUrl) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk)}"); imageUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? audioUrl = default; - if (discriminator?.Type == global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType.AudioUrl) + global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? audioUrl = default; + if (discriminator?.Type == global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType.AudioUrl) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk)}"); audioUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? videoUrl = default; - if (discriminator?.Type == global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType.VideoUrl) + global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? videoUrl = default; + if (discriminator?.Type == global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType.VideoUrl) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk)}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk)}"); videoUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -75,26 +75,26 @@ public override void Write( if (value.IsText) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Text!, typeInfo); } else if (value.IsImageUrl) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.ImageUrl!, typeInfo); } else if (value.IsAudioUrl) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.AudioUrl!, typeInfo); } else if (value.IsVideoUrl) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.VideoUrl!, typeInfo); } } diff --git a/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem5.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem5.g.cs new file mode 100644 index 0000000..b1d2a14 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.DataItem5.g.cs @@ -0,0 +1,102 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace Mixedbread.JsonConverters +{ + /// + public class DataItem5JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mixedbread.DataItem5 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? text = default; + if (discriminator?.Type == global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType.Text) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk)}"); + text = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? imageUrl = default; + if (discriminator?.Type == global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType.ImageUrl) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk)}"); + imageUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? audioUrl = default; + if (discriminator?.Type == global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType.AudioUrl) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk)}"); + audioUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? videoUrl = default; + if (discriminator?.Type == global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType.VideoUrl) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk)}"); + videoUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::Mixedbread.DataItem5( + discriminator?.Type, + text, + + imageUrl, + + audioUrl, + + videoUrl + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mixedbread.DataItem5 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsText) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Text!, typeInfo); + } + else if (value.IsImageUrl) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ImageUrl!, typeInfo); + } + else if (value.IsAudioUrl) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.AudioUrl!, typeInfo); + } + else if (value.IsVideoUrl) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.VideoUrl!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorType.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorType.g.cs new file mode 100644 index 0000000..bdd9e39 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Mixedbread.JsonConverters +{ + /// + public sealed class StoreListChunksResponseDataItemDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeNullable.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeNullable.g.cs new file mode 100644 index 0000000..e3de8e8 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Mixedbread.JsonConverters +{ + /// + public sealed class StoreListChunksResponseDataItemDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.JsonSerializerContext.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.JsonSerializerContext.g.cs index d854052..18a5683 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.JsonSerializerContext.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.JsonSerializerContext.g.cs @@ -133,6 +133,10 @@ namespace Mixedbread typeof(global::Mixedbread.JsonConverters.StoreGrepResponseDataItemDiscriminatorTypeNullableJsonConverter), + typeof(global::Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeNullableJsonConverter), + typeof(global::Mixedbread.JsonConverters.StoreQAResultsSourceDiscriminatorTypeJsonConverter), typeof(global::Mixedbread.JsonConverters.StoreQAResultsSourceDiscriminatorTypeNullableJsonConverter), @@ -285,9 +289,11 @@ namespace Mixedbread typeof(global::Mixedbread.JsonConverters.DataItem2JsonConverter), + typeof(global::Mixedbread.JsonConverters.DataItem3JsonConverter), + typeof(global::Mixedbread.JsonConverters.SourcesItemJsonConverter), - typeof(global::Mixedbread.JsonConverters.DataItem3JsonConverter), + typeof(global::Mixedbread.JsonConverters.DataItem4JsonConverter), typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant13JsonConverter), @@ -295,7 +301,7 @@ namespace Mixedbread typeof(global::Mixedbread.JsonConverters.SourcesItem2JsonConverter), - typeof(global::Mixedbread.JsonConverters.DataItem4JsonConverter), + typeof(global::Mixedbread.JsonConverters.DataItem5JsonConverter), typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant14JsonConverter), @@ -417,6 +423,20 @@ namespace Mixedbread typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), @@ -559,6 +579,9 @@ namespace Mixedbread typeof(global::Mixedbread.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1Discri_3c2191d673db2d33")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1Discri_aff54a326955d8df")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1Discri_59284f7c8f26921d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.JsonSerializerContextTypes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.AgenticSearchConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] @@ -794,6 +817,10 @@ namespace Mixedbread [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreSearchEventResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreChunkFilterParams))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.AnyOf>, object>), TypeInfoPropertyName = "AnyOfStringIListAnyOfStringBooleanObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.AnyOf), TypeInfoPropertyName = "AnyOfStringBoolean2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreChunkGrepParams))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreChunkGrepTarget), TypeInfoPropertyName = "StoreChunkGrepTarget2")] @@ -841,6 +868,11 @@ namespace Mixedbread [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreGrepResponseDataItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreGrepResponseDataItemDiscriminatorType), TypeInfoPropertyName = "StoreGrepResponseDataItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreListChunksResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.DataItem3), TypeInfoPropertyName = "DataItem32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreListChunksResponseDataItemDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType), TypeInfoPropertyName = "StoreListChunksResponseDataItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreListResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreQAParams))] @@ -853,8 +885,8 @@ namespace Mixedbread [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreSearchEventRewriteRankMode2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreSearchEventResultFirstStageSource2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreSearchResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.DataItem3), TypeInfoPropertyName = "DataItem32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.DataItem4), TypeInfoPropertyName = "DataItem42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreSearchResponseDataItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType), TypeInfoPropertyName = "StoreSearchResponseDataItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.StoreUpdateParams))] @@ -891,8 +923,8 @@ namespace Mixedbread [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.VectorStoreQAResultsSourceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.VectorStoreQAResultsSourceDiscriminatorType), TypeInfoPropertyName = "VectorStoreQAResultsSourceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.VectorStoreSearchResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.DataItem4), TypeInfoPropertyName = "DataItem42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.DataItem5), TypeInfoPropertyName = "DataItem52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType), TypeInfoPropertyName = "VectorStoreSearchResponseDataItemDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.VectorStoreUpdateParams))] @@ -977,9 +1009,6 @@ namespace Mixedbread [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.ListStoreEventsEventType), TypeInfoPropertyName = "ListStoreEventsEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.AnyOf>), TypeInfoPropertyName = "AnyOfBooleanIListInt322")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1Discri_3c2191d673db2d33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1Discri_aff54a326955d8df")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1Discri_59284f7c8f26921d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -1031,6 +1060,8 @@ namespace Mixedbread [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.AnyOf>, object>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.AnyOf>, object>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -1039,25 +1070,932 @@ namespace Mixedbread [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.AnyOf>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - public sealed partial class SourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + typeof(global::Mixedbread.JsonConverters.AgenticSearchConfigMediaContentJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AgenticSearchConfigMediaContentNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AgenticToolCallToolTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AgenticToolCallToolTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ChunkingStrategyJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ChunkingStrategyNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ConditionOperatorJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ConditionOperatorNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataSourceAuthParamsVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataSourceAuthParamsVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataSourceTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataSourceTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ElementTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ElementTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.EncodingFormat3JsonConverter), + + typeof(global::Mixedbread.JsonConverters.EncodingFormat3NullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.LinearDataSourceCreateOrUpdateParamsAuthParamsVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.LinearDataSourceCreateOrUpdateParamsAuthParamsVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ModeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ModeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MultiModalQueryVariant2DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MultiModalQueryVariant2DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.NotionDataSourceCreateOrUpdateParamsAuthParamsVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.NotionDataSourceCreateOrUpdateParamsAuthParamsVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ParsingJobStatusJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ParsingJobStatusNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.QueryEnhanceQueryItemFilterModeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.QueryEnhanceQueryItemFilterModeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.QueryEnhanceResultsItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.QueryEnhanceResultsItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.QueryEnhanceSortItemFilterModeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.QueryEnhanceSortItemFilterModeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.QueryEnhanceSortItemDirectionJsonConverter), + + typeof(global::Mixedbread.JsonConverters.QueryEnhanceSortItemDirectionNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.RegexFlagJsonConverter), + + typeof(global::Mixedbread.JsonConverters.RegexFlagNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ReturnFormatJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ReturnFormatNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ScopeMethodJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ScopeMethodNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreChunkGrepTargetJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreChunkGrepTargetNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreEventHistogramBucketTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreEventHistogramBucketTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreEventHistogramParamsEventTypesVariant1ItemJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreEventHistogramParamsEventTypesVariant1ItemNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreEventListResponseDataItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreEventListResponseDataItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreFileChunksVariant1ItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreFileChunksVariant1ItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreFileParsingStrategyJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreFileParsingStrategyNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreFileStatusJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreFileStatusNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreGrepResponseDataItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreGrepResponseDataItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreQAResultsSourceDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreQAResultsSourceDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreSearchEventRewriteRankDirection2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreSearchEventRewriteRankDirection2NullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreSearchEventRewriteRankMode2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreSearchEventRewriteRankMode2NullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreSearchEventResultFirstStageSource2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreSearchEventResultFirstStageSource2NullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreSearchResponseDataItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreSearchResponseDataItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreStatusJsonConverter), + + typeof(global::Mixedbread.JsonConverters.StoreStatusNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.SyncStatusJsonConverter), + + typeof(global::Mixedbread.JsonConverters.SyncStatusNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.TextInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.TextInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VectorStoreFileChunksVariant1ItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VectorStoreFileChunksVariant1ItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VectorStoreFileStatusJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VectorStoreFileStatusNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VectorStoreQAResultsSourceDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VectorStoreQAResultsSourceDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VectorStoreSearchResponseDataItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VectorStoreSearchResponseDataItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.VideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParamsRuleDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParamsRuleDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponseRuleDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponseRuleDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParamsRuleDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParamsRuleDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponseRuleDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponseRuleDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ListStoreEventsEventTypeJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ListStoreEventsEventTypeNullableJsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant1JsonConverter), + + typeof(global::Mixedbread.JsonConverters.AuthParamsVariant1JsonConverter), + + typeof(global::Mixedbread.JsonConverters.EmbeddingItemJsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant12JsonConverter), + + typeof(global::Mixedbread.JsonConverters.AuthParamsVariant12JsonConverter), + + typeof(global::Mixedbread.JsonConverters.MultiModalQueryJsonConverter), + + typeof(global::Mixedbread.JsonConverters.MultiModalQueryVariant2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.AuthParamsVariant13JsonConverter), + + typeof(global::Mixedbread.JsonConverters.ItemsItemJsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataItemJsonConverter), + + typeof(global::Mixedbread.JsonConverters.ChunksVariant1ItemJsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataItem2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataItem3JsonConverter), + + typeof(global::Mixedbread.JsonConverters.SourcesItemJsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataItem4JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant13JsonConverter), + + typeof(global::Mixedbread.JsonConverters.ChunksVariant1Item2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.SourcesItem2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.DataItem5JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant14JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant15JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant16JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant17JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant18JsonConverter), + + typeof(global::Mixedbread.JsonConverters.RulesItemJsonConverter), + + typeof(global::Mixedbread.JsonConverters.RulesItem2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.RuleJsonConverter), + + typeof(global::Mixedbread.JsonConverters.DeletedRuleJsonConverter), + + typeof(global::Mixedbread.JsonConverters.RulesVariant1ItemJsonConverter), + + typeof(global::Mixedbread.JsonConverters.RulesItem3JsonConverter), + + typeof(global::Mixedbread.JsonConverters.RulesItem4JsonConverter), + + typeof(global::Mixedbread.JsonConverters.Rule2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.DeletedRule2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.RulesVariant1Item2JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant19JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant110JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant111JsonConverter), + + typeof(global::Mixedbread.JsonConverters.GeneratedMetadataVariant112JsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter), + + typeof(global::Mixedbread.JsonConverters.UnixTimestampJsonConverter), + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1Discri_3c2191d673db2d33")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1Discri_aff54a326955d8df")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorType?), TypeInfoPropertyName = "MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1Discri_59284f7c8f26921d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mixedbread.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + /// + /// + /// + public sealed partial class SourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = global::System.Text.Json.Serialization.Metadata.JsonTypeInfoResolver.Combine( + SourceGenerationContextChunk0.Default, + + SourceGenerationContextChunk1.Default + ); + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static SourceGenerationContext Default { get; } = new(DefaultOptions); + + private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + options.Converters.Add(new global::Mixedbread.JsonConverters.AgenticSearchConfigMediaContentJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AgenticSearchConfigMediaContentNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AgenticToolCallToolTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AgenticToolCallToolTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ChunkingStrategyJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ChunkingStrategyNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ConditionOperatorJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ConditionOperatorNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataSourceAuthParamsVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataSourceAuthParamsVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataSourceTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataSourceTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ElementTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ElementTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.EncodingFormat3JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.EncodingFormat3NullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.LinearDataSourceCreateOrUpdateParamsAuthParamsVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.LinearDataSourceCreateOrUpdateParamsAuthParamsVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ModeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ModeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MultiModalQueryVariant2DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MultiModalQueryVariant2DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.NotionDataSourceCreateOrUpdateParamsAuthParamsVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.NotionDataSourceCreateOrUpdateParamsAuthParamsVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ParsingJobStatusJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ParsingJobStatusNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.QueryEnhanceQueryItemFilterModeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.QueryEnhanceQueryItemFilterModeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.QueryEnhanceResultsItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.QueryEnhanceResultsItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.QueryEnhanceSortItemFilterModeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.QueryEnhanceSortItemFilterModeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.QueryEnhanceSortItemDirectionJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.QueryEnhanceSortItemDirectionNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RegexFlagJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RegexFlagNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ReturnFormatJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ReturnFormatNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ScopeMethodJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ScopeMethodNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreChunkGrepTargetJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreChunkGrepTargetNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreEventHistogramBucketTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreEventHistogramBucketTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreEventHistogramParamsEventTypesVariant1ItemJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreEventHistogramParamsEventTypesVariant1ItemNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreEventListResponseDataItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreEventListResponseDataItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreFileChunksVariant1ItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreFileChunksVariant1ItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreFileParsingStrategyJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreFileParsingStrategyNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreFileStatusJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreFileStatusNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreGrepResponseDataItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreGrepResponseDataItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreQAResultsSourceDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreQAResultsSourceDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreSearchEventRewriteRankDirection2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreSearchEventRewriteRankDirection2NullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreSearchEventRewriteRankMode2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreSearchEventRewriteRankMode2NullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreSearchEventResultFirstStageSource2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreSearchEventResultFirstStageSource2NullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreSearchResponseDataItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreSearchResponseDataItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreStatusJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.StoreStatusNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.SyncStatusJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.SyncStatusNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.TextInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.TextInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VectorStoreFileChunksVariant1ItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VectorStoreFileChunksVariant1ItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VectorStoreFileStatusJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VectorStoreFileStatusNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VectorStoreQAResultsSourceDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VectorStoreQAResultsSourceDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VectorStoreSearchResponseDataItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VectorStoreSearchResponseDataItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.VideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParamsRuleDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParamsRuleDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponseRuleDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponseRuleDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParamsRuleDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParamsRuleDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponseRuleDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponseRuleDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ListStoreEventsEventTypeJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ListStoreEventsEventTypeNullableJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant1JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AuthParamsVariant1JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.EmbeddingItemJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant12JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AuthParamsVariant12JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MultiModalQueryJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.MultiModalQueryVariant2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AuthParamsVariant13JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ItemsItemJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataItemJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ChunksVariant1ItemJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataItem2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataItem3JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.SourcesItemJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataItem4JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant13JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.ChunksVariant1Item2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.SourcesItem2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DataItem5JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant14JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant15JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant16JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant17JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant18JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RulesItemJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RulesItem2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RuleJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DeletedRuleJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RulesVariant1ItemJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RulesItem3JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RulesItem4JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.Rule2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.DeletedRule2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.RulesVariant1Item2JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant19JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant110JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant111JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.GeneratedMetadataVariant112JsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter, global::System.Collections.Generic.IList>>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::Mixedbread.JsonConverters.UnixTimestampJsonConverter()); + + return options; + } + } } \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.JsonSerializerContextTypes.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.JsonSerializerContextTypes.g.cs index ff5b034..9e567d8 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.JsonSerializerContextTypes.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.JsonSerializerContextTypes.g.cs @@ -964,723 +964,759 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Mixedbread.StoreChunkGrepParams? Type234 { get; set; } + public global::Mixedbread.StoreChunkFilterParams? Type234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type235 { get; set; } + public global::Mixedbread.AnyOf>, object>? Type235 { get; set; } /// /// /// - public global::Mixedbread.StoreChunkGrepTarget? Type236 { get; set; } + public global::System.Collections.Generic.IList>? Type236 { get; set; } /// /// /// - public global::Mixedbread.AnyOf? Type237 { get; set; } + public global::Mixedbread.AnyOf? Type237 { get; set; } /// /// /// - public global::Mixedbread.AnyOf? Type238 { get; set; } + public global::Mixedbread.StoreChunkGrepParams? Type238 { get; set; } /// /// /// - public global::Mixedbread.StoreChunkSearchParams? Type239 { get; set; } + public global::System.Collections.Generic.IList? Type239 { get; set; } /// /// /// - public global::Mixedbread.AnyOf? Type240 { get; set; } + public global::Mixedbread.StoreChunkGrepTarget? Type240 { get; set; } /// /// /// - public global::Mixedbread.StoreCostInfo? Type241 { get; set; } + public global::Mixedbread.AnyOf? Type241 { get; set; } /// /// /// - public global::Mixedbread.StoreCostListResponse? Type242 { get; set; } + public global::Mixedbread.AnyOf? Type242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type243 { get; set; } + public global::Mixedbread.StoreChunkSearchParams? Type243 { get; set; } /// /// /// - public global::Mixedbread.StoreCreateParams? Type244 { get; set; } + public global::Mixedbread.AnyOf? Type244 { get; set; } /// /// /// - public global::Mixedbread.StoreDeleted? Type245 { get; set; } + public global::Mixedbread.StoreCostInfo? Type245 { get; set; } /// /// /// - public global::Mixedbread.StoreEventHistogramBucket? Type246 { get; set; } + public global::Mixedbread.StoreCostListResponse? Type246 { get; set; } /// /// /// - public global::Mixedbread.StoreEventHistogramBucketType? Type247 { get; set; } + public global::System.Collections.Generic.IList? Type247 { get; set; } /// /// /// - public global::Mixedbread.StoreEventHistogramParams? Type248 { get; set; } + public global::Mixedbread.StoreCreateParams? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type249 { get; set; } + public global::Mixedbread.StoreDeleted? Type249 { get; set; } /// /// /// - public global::Mixedbread.StoreEventHistogramParamsEventTypesVariant1Item? Type250 { get; set; } + public global::Mixedbread.StoreEventHistogramBucket? Type250 { get; set; } /// /// /// - public global::Mixedbread.StoreEventHistogramResponse? Type251 { get; set; } + public global::Mixedbread.StoreEventHistogramBucketType? Type251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type252 { get; set; } + public global::Mixedbread.StoreEventHistogramParams? Type252 { get; set; } /// /// /// - public global::Mixedbread.StoreEventListResponse? Type253 { get; set; } + public global::System.Collections.Generic.IList? Type253 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type254 { get; set; } + public global::Mixedbread.StoreEventHistogramParamsEventTypesVariant1Item? Type254 { get; set; } /// /// /// - public global::Mixedbread.DataItem? Type255 { get; set; } + public global::Mixedbread.StoreEventHistogramResponse? Type255 { get; set; } /// /// /// - public global::Mixedbread.StoreIngestionEvent? Type256 { get; set; } + public global::System.Collections.Generic.IList? Type256 { get; set; } /// /// /// - public global::Mixedbread.StoreSearchEvent? Type257 { get; set; } + public global::Mixedbread.StoreEventListResponse? Type257 { get; set; } /// /// /// - public global::Mixedbread.StoreEventListResponseDataItemDiscriminator? Type258 { get; set; } + public global::System.Collections.Generic.IList? Type258 { get; set; } /// /// /// - public global::Mixedbread.StoreEventListResponseDataItemDiscriminatorType? Type259 { get; set; } + public global::Mixedbread.DataItem? Type259 { get; set; } /// /// /// - public global::Mixedbread.StoreFile? Type260 { get; set; } + public global::Mixedbread.StoreIngestionEvent? Type260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type261 { get; set; } + public global::Mixedbread.StoreSearchEvent? Type261 { get; set; } /// /// /// - public global::Mixedbread.ChunksVariant1Item? Type262 { get; set; } + public global::Mixedbread.StoreEventListResponseDataItemDiscriminator? Type262 { get; set; } /// /// /// - public global::Mixedbread.TextInputChunk? Type263 { get; set; } + public global::Mixedbread.StoreEventListResponseDataItemDiscriminatorType? Type263 { get; set; } /// /// /// - public global::Mixedbread.VideoUrlInputChunk? Type264 { get; set; } + public global::Mixedbread.StoreFile? Type264 { get; set; } /// /// /// - public global::Mixedbread.StoreFileChunksVariant1ItemDiscriminator? Type265 { get; set; } + public global::System.Collections.Generic.IList? Type265 { get; set; } /// /// /// - public global::Mixedbread.StoreFileChunksVariant1ItemDiscriminatorType? Type266 { get; set; } + public global::Mixedbread.ChunksVariant1Item? Type266 { get; set; } /// /// /// - public global::Mixedbread.StoreFileParsingStrategy? Type267 { get; set; } + public global::Mixedbread.TextInputChunk? Type267 { get; set; } /// /// /// - public global::Mixedbread.StoreFileDeleted? Type268 { get; set; } + public global::Mixedbread.VideoUrlInputChunk? Type268 { get; set; } /// /// /// - public global::Mixedbread.StoreFileListResponse? Type269 { get; set; } + public global::Mixedbread.StoreFileChunksVariant1ItemDiscriminator? Type269 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type270 { get; set; } + public global::Mixedbread.StoreFileChunksVariant1ItemDiscriminatorType? Type270 { get; set; } /// /// /// - public global::Mixedbread.StoreFileMetadataUpdateParams? Type271 { get; set; } + public global::Mixedbread.StoreFileParsingStrategy? Type271 { get; set; } /// /// /// - public global::Mixedbread.StoreGrepResponse? Type272 { get; set; } + public global::Mixedbread.StoreFileDeleted? Type272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type273 { get; set; } + public global::Mixedbread.StoreFileListResponse? Type273 { get; set; } /// /// /// - public global::Mixedbread.DataItem2? Type274 { get; set; } + public global::System.Collections.Generic.IList? Type274 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? Type275 { get; set; } + public global::Mixedbread.StoreFileMetadataUpdateParams? Type275 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? Type276 { get; set; } + public global::Mixedbread.StoreGrepResponse? Type276 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? Type278 { get; set; } + public global::Mixedbread.DataItem2? Type278 { get; set; } /// /// /// - public global::Mixedbread.StoreGrepResponseDataItemDiscriminator? Type279 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? Type279 { get; set; } /// /// /// - public global::Mixedbread.StoreGrepResponseDataItemDiscriminatorType? Type280 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? Type280 { get; set; } /// /// /// - public global::Mixedbread.StoreListResponse? Type281 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? Type281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type282 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? Type282 { get; set; } /// /// /// - public global::Mixedbread.StoreQAParams? Type283 { get; set; } + public global::Mixedbread.StoreGrepResponseDataItemDiscriminator? Type283 { get; set; } /// /// /// - public global::Mixedbread.StoreQAResults? Type284 { get; set; } + public global::Mixedbread.StoreGrepResponseDataItemDiscriminatorType? Type284 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type285 { get; set; } + public global::Mixedbread.StoreListChunksResponse? Type285 { get; set; } /// /// /// - public global::Mixedbread.SourcesItem? Type286 { get; set; } + public global::System.Collections.Generic.IList? Type286 { get; set; } /// /// /// - public global::Mixedbread.StoreQAResultsSourceDiscriminator? Type287 { get; set; } + public global::Mixedbread.DataItem3? Type287 { get; set; } /// /// /// - public global::Mixedbread.StoreQAResultsSourceDiscriminatorType? Type288 { get; set; } + public global::Mixedbread.StoreListChunksResponseDataItemDiscriminator? Type288 { get; set; } /// /// /// - public global::Mixedbread.StoreSearchEventRewriteRankDirection2? Type289 { get; set; } + public global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType? Type289 { get; set; } /// /// /// - public global::Mixedbread.StoreSearchEventRewriteRankMode2? Type290 { get; set; } + public global::Mixedbread.StoreListResponse? Type290 { get; set; } /// /// /// - public global::Mixedbread.StoreSearchEventResultFirstStageSource2? Type291 { get; set; } + public global::System.Collections.Generic.IList? Type291 { get; set; } /// /// /// - public global::Mixedbread.StoreSearchResponse? Type292 { get; set; } + public global::Mixedbread.StoreQAParams? Type292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type293 { get; set; } + public global::Mixedbread.StoreQAResults? Type293 { get; set; } /// /// /// - public global::Mixedbread.DataItem3? Type294 { get; set; } + public global::System.Collections.Generic.IList? Type294 { get; set; } /// /// /// - public global::Mixedbread.StoreSearchResponseDataItemDiscriminator? Type295 { get; set; } + public global::Mixedbread.SourcesItem? Type295 { get; set; } /// /// /// - public global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType? Type296 { get; set; } + public global::Mixedbread.StoreQAResultsSourceDiscriminator? Type296 { get; set; } /// /// /// - public global::Mixedbread.StoreUpdateParams? Type297 { get; set; } + public global::Mixedbread.StoreQAResultsSourceDiscriminatorType? Type297 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant13? Type298 { get; set; } + public global::Mixedbread.StoreSearchEventRewriteRankDirection2? Type298 { get; set; } /// /// /// - public global::Mixedbread.TextInputChunkGeneratedMetadataVariant1Discriminator? Type299 { get; set; } + public global::Mixedbread.StoreSearchEventRewriteRankMode2? Type299 { get; set; } /// /// /// - public global::Mixedbread.TextInputChunkGeneratedMetadataVariant1DiscriminatorType? Type300 { get; set; } + public global::Mixedbread.StoreSearchEventResultFirstStageSource2? Type300 { get; set; } /// /// /// - public global::Mixedbread.ValidatedJsonSchema? Type301 { get; set; } + public global::Mixedbread.StoreSearchResponse? Type301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type302 { get; set; } + public global::System.Collections.Generic.IList? Type302 { get; set; } /// /// /// - public global::Mixedbread.AnyOf? Type303 { get; set; } + public global::Mixedbread.DataItem4? Type303 { get; set; } /// /// /// - public global::Mixedbread.VectorStore? Type304 { get; set; } + public global::Mixedbread.StoreSearchResponseDataItemDiscriminator? Type304 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreChunkSearchOptions? Type305 { get; set; } + public global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType? Type305 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreChunkSearchParams? Type306 { get; set; } + public global::Mixedbread.StoreUpdateParams? Type306 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreCreateParams? Type307 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant13? Type307 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreDeleted? Type308 { get; set; } + public global::Mixedbread.TextInputChunkGeneratedMetadataVariant1Discriminator? Type308 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreFile? Type309 { get; set; } + public global::Mixedbread.TextInputChunkGeneratedMetadataVariant1DiscriminatorType? Type309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type310 { get; set; } + public global::Mixedbread.ValidatedJsonSchema? Type310 { get; set; } /// /// /// - public global::Mixedbread.ChunksVariant1Item2? Type311 { get; set; } + public global::System.Collections.Generic.IList>? Type311 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreFileChunksVariant1ItemDiscriminator? Type312 { get; set; } + public global::Mixedbread.AnyOf? Type312 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreFileChunksVariant1ItemDiscriminatorType? Type313 { get; set; } + public global::Mixedbread.VectorStore? Type313 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreFileDeleted? Type314 { get; set; } + public global::Mixedbread.VectorStoreChunkSearchOptions? Type314 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreFileListResponse? Type315 { get; set; } + public global::Mixedbread.VectorStoreChunkSearchParams? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type316 { get; set; } + public global::Mixedbread.VectorStoreCreateParams? Type316 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreFileStatus? Type317 { get; set; } + public global::Mixedbread.VectorStoreDeleted? Type317 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreListResponse? Type318 { get; set; } + public global::Mixedbread.VectorStoreFile? Type318 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type319 { get; set; } + public global::System.Collections.Generic.IList? Type319 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreQAParams? Type320 { get; set; } + public global::Mixedbread.ChunksVariant1Item2? Type320 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreQAResults? Type321 { get; set; } + public global::Mixedbread.VectorStoreFileChunksVariant1ItemDiscriminator? Type321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type322 { get; set; } + public global::Mixedbread.VectorStoreFileChunksVariant1ItemDiscriminatorType? Type322 { get; set; } /// /// /// - public global::Mixedbread.SourcesItem2? Type323 { get; set; } + public global::Mixedbread.VectorStoreFileDeleted? Type323 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? Type324 { get; set; } + public global::Mixedbread.VectorStoreFileListResponse? Type324 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? Type325 { get; set; } + public global::System.Collections.Generic.IList? Type325 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? Type326 { get; set; } + public global::Mixedbread.VectorStoreFileStatus? Type326 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? Type327 { get; set; } + public global::Mixedbread.VectorStoreListResponse? Type327 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreQAResultsSourceDiscriminator? Type328 { get; set; } + public global::System.Collections.Generic.IList? Type328 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreQAResultsSourceDiscriminatorType? Type329 { get; set; } + public global::Mixedbread.VectorStoreQAParams? Type329 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreSearchResponse? Type330 { get; set; } + public global::Mixedbread.VectorStoreQAResults? Type330 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type331 { get; set; } + public global::System.Collections.Generic.IList? Type331 { get; set; } /// /// /// - public global::Mixedbread.DataItem4? Type332 { get; set; } + public global::Mixedbread.SourcesItem2? Type332 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminator? Type333 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? Type333 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType? Type334 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? Type334 { get; set; } /// /// /// - public global::Mixedbread.VectorStoreUpdateParams? Type335 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? Type335 { get; set; } /// /// /// - public global::Mixedbread.VideoUrl? Type336 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? Type336 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant14? Type337 { get; set; } + public global::Mixedbread.VectorStoreQAResultsSourceDiscriminator? Type337 { get; set; } /// /// /// - public global::Mixedbread.VideoUrlInputChunkGeneratedMetadataVariant1Discriminator? Type338 { get; set; } + public global::Mixedbread.VectorStoreQAResultsSourceDiscriminatorType? Type338 { get; set; } /// /// /// - public global::Mixedbread.VideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorType? Type339 { get; set; } + public global::Mixedbread.VectorStoreSearchResponse? Type339 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant15? Type340 { get; set; } + public global::System.Collections.Generic.IList? Type340 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1Discriminator? Type341 { get; set; } + public global::Mixedbread.DataItem5? Type341 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant16? Type342 { get; set; } + public global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminator? Type342 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1Discriminator? Type343 { get; set; } + public global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType? Type343 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant17? Type344 { get; set; } + public global::Mixedbread.VectorStoreUpdateParams? Type344 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkGeneratedMetadataVariant1Discriminator? Type345 { get; set; } + public global::Mixedbread.VideoUrl? Type345 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorType? Type346 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant14? Type346 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant18? Type347 { get; set; } + public global::Mixedbread.VideoUrlInputChunkGeneratedMetadataVariant1Discriminator? Type347 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1Discriminator? Type348 { get; set; } + public global::Mixedbread.VideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorType? Type348 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParams? Type349 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant15? Type349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type350 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunkGeneratedMetadataVariant1Discriminator? Type350 { get; set; } /// /// /// - public global::Mixedbread.RulesItem? Type351 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant16? Type351 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParamsRuleDiscriminator? Type352 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunkGeneratedMetadataVariant1Discriminator? Type352 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParamsRuleDiscriminatorType? Type353 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant17? Type353 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleDeleted? Type354 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkGeneratedMetadataVariant1Discriminator? Type354 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponse? Type355 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorType? Type355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type356 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant18? Type356 { get; set; } /// /// /// - public global::Mixedbread.RulesItem2? Type357 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunkGeneratedMetadataVariant1Discriminator? Type357 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponseRuleDiscriminator? Type358 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParams? Type358 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponseRuleDiscriminatorType? Type359 { get; set; } + public global::System.Collections.Generic.IList? Type359 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParams? Type360 { get; set; } + public global::Mixedbread.RulesItem? Type360 { get; set; } /// /// /// - public global::Mixedbread.Rule? Type361 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParamsRuleDiscriminator? Type361 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParamsRuleDiscriminator? Type362 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleCreateParamsRuleDiscriminatorType? Type362 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorType? Type363 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleDeleted? Type363 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleted? Type364 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponse? Type364 { get; set; } /// /// /// - public global::Mixedbread.DeletedRule? Type365 { get; set; } + public global::System.Collections.Generic.IList? Type365 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeletedDeletedRuleDiscriminator? Type366 { get; set; } + public global::Mixedbread.RulesItem2? Type366 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorType? Type367 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponseRuleDiscriminator? Type367 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParams? Type368 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleResponseRuleDiscriminatorType? Type368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type369 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParams? Type369 { get; set; } /// /// /// - public global::Mixedbread.RulesVariant1Item? Type370 { get; set; } + public global::Mixedbread.Rule? Type370 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminator? Type371 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParamsRuleDiscriminator? Type371 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorType? Type372 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorType? Type372 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParams? Type373 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeleted? Type373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type374 { get; set; } + public global::Mixedbread.DeletedRule? Type374 { get; set; } /// /// /// - public global::Mixedbread.RulesItem3? Type375 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeletedDeletedRuleDiscriminator? Type375 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParamsRuleDiscriminator? Type376 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorType? Type376 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParamsRuleDiscriminatorType? Type377 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParams? Type377 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleDeleted? Type378 { get; set; } + public global::System.Collections.Generic.IList? Type378 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponse? Type379 { get; set; } + public global::Mixedbread.RulesVariant1Item? Type379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type380 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminator? Type380 { get; set; } /// /// /// - public global::Mixedbread.RulesItem4? Type381 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorType? Type381 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponseRuleDiscriminator? Type382 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParams? Type382 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponseRuleDiscriminatorType? Type383 { get; set; } + public global::System.Collections.Generic.IList? Type383 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParams? Type384 { get; set; } + public global::Mixedbread.RulesItem3? Type384 { get; set; } /// /// /// - public global::Mixedbread.Rule2? Type385 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParamsRuleDiscriminator? Type385 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParamsRuleDiscriminator? Type386 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleCreateParamsRuleDiscriminatorType? Type386 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorType? Type387 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleDeleted? Type387 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleted? Type388 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponse? Type388 { get; set; } /// /// /// - public global::Mixedbread.DeletedRule2? Type389 { get; set; } + public global::System.Collections.Generic.IList? Type389 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeletedDeletedRuleDiscriminator? Type390 { get; set; } + public global::Mixedbread.RulesItem4? Type390 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorType? Type391 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponseRuleDiscriminator? Type391 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParams? Type392 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleResponseRuleDiscriminatorType? Type392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type393 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParams? Type393 { get; set; } /// /// /// - public global::Mixedbread.RulesVariant1Item2? Type394 { get; set; } + public global::Mixedbread.Rule2? Type394 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminator? Type395 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParamsRuleDiscriminator? Type395 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorType? Type396 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleteParamsRuleDiscriminatorType? Type396 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant19? Type397 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeleted? Type397 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunkGeneratedMetadataVariant1Discriminator? Type398 { get; set; } + public global::Mixedbread.DeletedRule2? Type398 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorType? Type399 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeletedDeletedRuleDiscriminator? Type399 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant110? Type400 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleSpecificDeletedDeletedRuleDiscriminatorType? Type400 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunkGeneratedMetadataVariant1Discriminator? Type401 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParams? Type401 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorType? Type402 { get; set; } + public global::System.Collections.Generic.IList? Type402 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant111? Type403 { get; set; } + public global::Mixedbread.RulesVariant1Item2? Type403 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkGeneratedMetadataVariant1Discriminator? Type404 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminator? Type404 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorType? Type405 { get; set; } + public global::Mixedbread.MxbaiOmniApiRoutesV1StoresRulesModelsSearchRuleUpdateParamsRulesVariant1ItemDiscriminatorType? Type405 { get; set; } /// /// /// - public global::Mixedbread.GeneratedMetadataVariant112? Type406 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant19? Type406 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunkGeneratedMetadataVariant1Discriminator? Type407 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunkGeneratedMetadataVariant1Discriminator? Type407 { get; set; } /// /// /// - public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorType? Type408 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunkGeneratedMetadataVariant1DiscriminatorType? Type408 { get; set; } /// /// /// - public global::Mixedbread.AnyOf? Type409 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant110? Type409 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type410 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunkGeneratedMetadataVariant1Discriminator? Type410 { get; set; } /// /// /// - public global::Mixedbread.ListStoreEventsEventType? Type411 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunkGeneratedMetadataVariant1DiscriminatorType? Type411 { get; set; } /// /// /// - public global::Mixedbread.AnyOf>? Type412 { get; set; } + public global::Mixedbread.GeneratedMetadataVariant111? Type412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type413 { get; set; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkGeneratedMetadataVariant1Discriminator? Type413 { get; set; } + /// + /// + /// + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkGeneratedMetadataVariant1DiscriminatorType? Type414 { get; set; } + /// + /// + /// + public global::Mixedbread.GeneratedMetadataVariant112? Type415 { get; set; } + /// + /// + /// + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunkGeneratedMetadataVariant1Discriminator? Type416 { get; set; } + /// + /// + /// + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunkGeneratedMetadataVariant1DiscriminatorType? Type417 { get; set; } + /// + /// + /// + public global::Mixedbread.AnyOf? Type418 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type419 { get; set; } + /// + /// + /// + public global::Mixedbread.ListStoreEventsEventType? Type420 { get; set; } + /// + /// + /// + public global::Mixedbread.AnyOf>? Type421 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type422 { get; set; } /// /// @@ -1889,43 +1925,43 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::Mixedbread.AnyOf>, object>? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List>? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// @@ -1933,62 +1969,74 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List>? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType63 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType64 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List>? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType77 { get; set; } /// /// /// - public global::Mixedbread.AnyOf>? ListType75 { get; set; } + public global::Mixedbread.AnyOf>? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType79 { get; set; } } } \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem3.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem3.g.cs index c7c645c..8df016b 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem3.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem3.g.cs @@ -12,7 +12,7 @@ namespace Mixedbread /// /// /// - public global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType? Type { get; } + public global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType? Type { get; } /// /// @@ -257,7 +257,7 @@ public DataItem3(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVide /// /// public DataItem3( - global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType? type, + global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType? type, global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? text, global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? imageUrl, global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? audioUrl, diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem4.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem4.g.cs index e0a8b5b..dacf7f8 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem4.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem4.g.cs @@ -12,15 +12,15 @@ namespace Mixedbread /// /// /// - public global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType? Type { get; } + public global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType? Type { get; } /// - /// Scored text chunk for deprecated API. + /// /// #if NET6_0_OR_GREATER - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? Text { get; init; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? Text { get; init; } #else - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? Text { get; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? Text { get; } #endif /// @@ -38,7 +38,7 @@ public bool TryPickText( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? value) + out global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? value) { value = Text; return IsText; @@ -47,17 +47,17 @@ public bool TryPickText( /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk PickText() => IsText + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk PickText() => IsText ? Text! : throw new global::System.InvalidOperationException($"Expected union variant 'Text' but the value was {ToString()}."); /// - /// Scored image chunk for deprecated API. + /// /// #if NET6_0_OR_GREATER - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? ImageUrl { get; init; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? ImageUrl { get; init; } #else - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? ImageUrl { get; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? ImageUrl { get; } #endif /// @@ -75,7 +75,7 @@ public bool TryPickImageUrl( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? value) + out global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? value) { value = ImageUrl; return IsImageUrl; @@ -84,17 +84,17 @@ public bool TryPickImageUrl( /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk PickImageUrl() => IsImageUrl + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk PickImageUrl() => IsImageUrl ? ImageUrl! : throw new global::System.InvalidOperationException($"Expected union variant 'ImageUrl' but the value was {ToString()}."); /// - /// Scored audio chunk for deprecated API. + /// /// #if NET6_0_OR_GREATER - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? AudioUrl { get; init; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? AudioUrl { get; init; } #else - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? AudioUrl { get; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? AudioUrl { get; } #endif /// @@ -112,7 +112,7 @@ public bool TryPickAudioUrl( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? value) + out global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? value) { value = AudioUrl; return IsAudioUrl; @@ -121,17 +121,17 @@ public bool TryPickAudioUrl( /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk PickAudioUrl() => IsAudioUrl + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk PickAudioUrl() => IsAudioUrl ? AudioUrl! : throw new global::System.InvalidOperationException($"Expected union variant 'AudioUrl' but the value was {ToString()}."); /// - /// Scored video chunk for deprecated API. + /// /// #if NET6_0_OR_GREATER - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? VideoUrl { get; init; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? VideoUrl { get; init; } #else - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? VideoUrl { get; } + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? VideoUrl { get; } #endif /// @@ -149,7 +149,7 @@ public bool TryPickVideoUrl( #if NET6_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] #endif - out global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? value) + out global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? value) { value = VideoUrl; return IsVideoUrl; @@ -158,23 +158,23 @@ public bool TryPickVideoUrl( /// /// /// - public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk PickVideoUrl() => IsVideoUrl + public global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk PickVideoUrl() => IsVideoUrl ? VideoUrl! : throw new global::System.InvalidOperationException($"Expected union variant 'VideoUrl' but the value was {ToString()}."); /// /// /// - public static implicit operator DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk value) => new DataItem4((global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk?)value); + public static implicit operator DataItem4(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk value) => new DataItem4((global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk?)value); /// /// /// - public static implicit operator global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk?(DataItem4 @this) => @this.Text; + public static implicit operator global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk?(DataItem4 @this) => @this.Text; /// /// /// - public DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? value) + public DataItem4(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? value) { Text = value; } @@ -182,22 +182,22 @@ public DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresMo /// /// /// - public static DataItem4 FromText(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? value) => new DataItem4(value); + public static DataItem4 FromText(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? value) => new DataItem4(value); /// /// /// - public static implicit operator DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk value) => new DataItem4((global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk?)value); + public static implicit operator DataItem4(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk value) => new DataItem4((global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk?)value); /// /// /// - public static implicit operator global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk?(DataItem4 @this) => @this.ImageUrl; + public static implicit operator global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk?(DataItem4 @this) => @this.ImageUrl; /// /// /// - public DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? value) + public DataItem4(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? value) { ImageUrl = value; } @@ -205,22 +205,22 @@ public DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresMo /// /// /// - public static DataItem4 FromImageUrl(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? value) => new DataItem4(value); + public static DataItem4 FromImageUrl(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? value) => new DataItem4(value); /// /// /// - public static implicit operator DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk value) => new DataItem4((global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk?)value); + public static implicit operator DataItem4(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk value) => new DataItem4((global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk?)value); /// /// /// - public static implicit operator global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk?(DataItem4 @this) => @this.AudioUrl; + public static implicit operator global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk?(DataItem4 @this) => @this.AudioUrl; /// /// /// - public DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? value) + public DataItem4(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? value) { AudioUrl = value; } @@ -228,22 +228,22 @@ public DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresMo /// /// /// - public static DataItem4 FromAudioUrl(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? value) => new DataItem4(value); + public static DataItem4 FromAudioUrl(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? value) => new DataItem4(value); /// /// /// - public static implicit operator DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk value) => new DataItem4((global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk?)value); + public static implicit operator DataItem4(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk value) => new DataItem4((global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk?)value); /// /// /// - public static implicit operator global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk?(DataItem4 @this) => @this.VideoUrl; + public static implicit operator global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk?(DataItem4 @this) => @this.VideoUrl; /// /// /// - public DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? value) + public DataItem4(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? value) { VideoUrl = value; } @@ -251,17 +251,17 @@ public DataItem4(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresMo /// /// /// - public static DataItem4 FromVideoUrl(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? value) => new DataItem4(value); + public static DataItem4 FromVideoUrl(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? value) => new DataItem4(value); /// /// /// public DataItem4( - global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType? type, - global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? text, - global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? imageUrl, - global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? audioUrl, - global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? videoUrl + global::Mixedbread.StoreSearchResponseDataItemDiscriminatorType? type, + global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk? text, + global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk? imageUrl, + global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk? audioUrl, + global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk? videoUrl ) { Type = type; @@ -304,10 +304,10 @@ public bool Validate() /// /// public TResult? Match( - global::System.Func? text = null, - global::System.Func? imageUrl = null, - global::System.Func? audioUrl = null, - global::System.Func? videoUrl = null, + global::System.Func? text = null, + global::System.Func? imageUrl = null, + global::System.Func? audioUrl = null, + global::System.Func? videoUrl = null, bool validate = true) { if (validate) @@ -339,13 +339,13 @@ public bool Validate() /// /// public void Match( - global::System.Action? text = null, + global::System.Action? text = null, - global::System.Action? imageUrl = null, + global::System.Action? imageUrl = null, - global::System.Action? audioUrl = null, + global::System.Action? audioUrl = null, - global::System.Action? videoUrl = null, + global::System.Action? videoUrl = null, bool validate = true) { if (validate) @@ -375,10 +375,10 @@ public void Match( /// /// public void Switch( - global::System.Action? text = null, - global::System.Action? imageUrl = null, - global::System.Action? audioUrl = null, - global::System.Action? videoUrl = null, + global::System.Action? text = null, + global::System.Action? imageUrl = null, + global::System.Action? audioUrl = null, + global::System.Action? videoUrl = null, bool validate = true) { if (validate) @@ -412,13 +412,13 @@ public override int GetHashCode() var fields = new object?[] { Text, - typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk), + typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk), ImageUrl, - typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk), + typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredImageUrlInputChunk), AudioUrl, - typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk), + typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredAudioUrlInputChunk), VideoUrl, - typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk), + typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredVideoUrlInputChunk), }; const int offset = unchecked((int)2166136261); const int prime = 16777619; @@ -435,10 +435,10 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null public bool Equals(DataItem4 other) { return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Text, other.Text) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageUrl, other.ImageUrl) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(AudioUrl, other.AudioUrl) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(VideoUrl, other.VideoUrl) + global::System.Collections.Generic.EqualityComparer.Default.Equals(Text, other.Text) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageUrl, other.ImageUrl) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AudioUrl, other.AudioUrl) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(VideoUrl, other.VideoUrl) ; } diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem5.Json.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem5.Json.g.cs new file mode 100644 index 0000000..d3d9cd0 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem5.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Mixedbread +{ + public readonly partial struct DataItem5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Mixedbread.DataItem5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Mixedbread.DataItem5), + jsonSerializerContext) as global::Mixedbread.DataItem5?; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Mixedbread.DataItem5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Mixedbread.DataItem5), + jsonSerializerContext).ConfigureAwait(false)) as global::Mixedbread.DataItem5?; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem5.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem5.g.cs new file mode 100644 index 0000000..e6713f7 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.DataItem5.g.cs @@ -0,0 +1,469 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Mixedbread +{ + /// + /// + /// + public readonly partial struct DataItem5 : global::System.IEquatable + { + /// + /// + /// + public global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType? Type { get; } + + /// + /// Scored text chunk for deprecated API. + /// +#if NET6_0_OR_GREATER + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? Text { get; init; } +#else + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? Text { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Text))] +#endif + public bool IsText => Text != null; + + /// + /// + /// + public bool TryPickText( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? value) + { + value = Text; + return IsText; + } + + /// + /// + /// + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk PickText() => IsText + ? Text! + : throw new global::System.InvalidOperationException($"Expected union variant 'Text' but the value was {ToString()}."); + + /// + /// Scored image chunk for deprecated API. + /// +#if NET6_0_OR_GREATER + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? ImageUrl { get; init; } +#else + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? ImageUrl { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ImageUrl))] +#endif + public bool IsImageUrl => ImageUrl != null; + + /// + /// + /// + public bool TryPickImageUrl( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? value) + { + value = ImageUrl; + return IsImageUrl; + } + + /// + /// + /// + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk PickImageUrl() => IsImageUrl + ? ImageUrl! + : throw new global::System.InvalidOperationException($"Expected union variant 'ImageUrl' but the value was {ToString()}."); + + /// + /// Scored audio chunk for deprecated API. + /// +#if NET6_0_OR_GREATER + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? AudioUrl { get; init; } +#else + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? AudioUrl { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AudioUrl))] +#endif + public bool IsAudioUrl => AudioUrl != null; + + /// + /// + /// + public bool TryPickAudioUrl( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? value) + { + value = AudioUrl; + return IsAudioUrl; + } + + /// + /// + /// + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk PickAudioUrl() => IsAudioUrl + ? AudioUrl! + : throw new global::System.InvalidOperationException($"Expected union variant 'AudioUrl' but the value was {ToString()}."); + + /// + /// Scored video chunk for deprecated API. + /// +#if NET6_0_OR_GREATER + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? VideoUrl { get; init; } +#else + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? VideoUrl { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(VideoUrl))] +#endif + public bool IsVideoUrl => VideoUrl != null; + + /// + /// + /// + public bool TryPickVideoUrl( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? value) + { + value = VideoUrl; + return IsVideoUrl; + } + + /// + /// + /// + public global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk PickVideoUrl() => IsVideoUrl + ? VideoUrl! + : throw new global::System.InvalidOperationException($"Expected union variant 'VideoUrl' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator DataItem5(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk value) => new DataItem5((global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk?)value); + + /// + /// + /// + public static implicit operator global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk?(DataItem5 @this) => @this.Text; + + /// + /// + /// + public DataItem5(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? value) + { + Text = value; + } + + /// + /// + /// + public static DataItem5 FromText(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? value) => new DataItem5(value); + + /// + /// + /// + public static implicit operator DataItem5(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk value) => new DataItem5((global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk?)value); + + /// + /// + /// + public static implicit operator global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk?(DataItem5 @this) => @this.ImageUrl; + + /// + /// + /// + public DataItem5(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? value) + { + ImageUrl = value; + } + + /// + /// + /// + public static DataItem5 FromImageUrl(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? value) => new DataItem5(value); + + /// + /// + /// + public static implicit operator DataItem5(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk value) => new DataItem5((global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk?)value); + + /// + /// + /// + public static implicit operator global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk?(DataItem5 @this) => @this.AudioUrl; + + /// + /// + /// + public DataItem5(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? value) + { + AudioUrl = value; + } + + /// + /// + /// + public static DataItem5 FromAudioUrl(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? value) => new DataItem5(value); + + /// + /// + /// + public static implicit operator DataItem5(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk value) => new DataItem5((global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk?)value); + + /// + /// + /// + public static implicit operator global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk?(DataItem5 @this) => @this.VideoUrl; + + /// + /// + /// + public DataItem5(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? value) + { + VideoUrl = value; + } + + /// + /// + /// + public static DataItem5 FromVideoUrl(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? value) => new DataItem5(value); + + /// + /// + /// + public DataItem5( + global::Mixedbread.VectorStoreSearchResponseDataItemDiscriminatorType? type, + global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk? text, + global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk? imageUrl, + global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk? audioUrl, + global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk? videoUrl + ) + { + Type = type; + + Text = text; + ImageUrl = imageUrl; + AudioUrl = audioUrl; + VideoUrl = videoUrl; + } + + /// + /// + /// + public object? Object => + VideoUrl as object ?? + AudioUrl as object ?? + ImageUrl as object ?? + Text as object + ; + + /// + /// + /// + public override string? ToString() => + Text?.ToString() ?? + ImageUrl?.ToString() ?? + AudioUrl?.ToString() ?? + VideoUrl?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsText && !IsImageUrl && !IsAudioUrl && !IsVideoUrl || !IsText && IsImageUrl && !IsAudioUrl && !IsVideoUrl || !IsText && !IsImageUrl && IsAudioUrl && !IsVideoUrl || !IsText && !IsImageUrl && !IsAudioUrl && IsVideoUrl; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? text = null, + global::System.Func? imageUrl = null, + global::System.Func? audioUrl = null, + global::System.Func? videoUrl = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsText && text != null) + { + return text(Text!); + } + else if (IsImageUrl && imageUrl != null) + { + return imageUrl(ImageUrl!); + } + else if (IsAudioUrl && audioUrl != null) + { + return audioUrl(AudioUrl!); + } + else if (IsVideoUrl && videoUrl != null) + { + return videoUrl(VideoUrl!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? text = null, + + global::System.Action? imageUrl = null, + + global::System.Action? audioUrl = null, + + global::System.Action? videoUrl = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsText) + { + text?.Invoke(Text!); + } + else if (IsImageUrl) + { + imageUrl?.Invoke(ImageUrl!); + } + else if (IsAudioUrl) + { + audioUrl?.Invoke(AudioUrl!); + } + else if (IsVideoUrl) + { + videoUrl?.Invoke(VideoUrl!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? text = null, + global::System.Action? imageUrl = null, + global::System.Action? audioUrl = null, + global::System.Action? videoUrl = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsText) + { + text?.Invoke(Text!); + } + else if (IsImageUrl) + { + imageUrl?.Invoke(ImageUrl!); + } + else if (IsAudioUrl) + { + audioUrl?.Invoke(AudioUrl!); + } + else if (IsVideoUrl) + { + videoUrl?.Invoke(VideoUrl!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Text, + typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk), + ImageUrl, + typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredImageUrlInputChunk), + AudioUrl, + typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredAudioUrlInputChunk), + VideoUrl, + typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredVideoUrlInputChunk), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(DataItem5 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Text, other.Text) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageUrl, other.ImageUrl) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AudioUrl, other.AudioUrl) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(VideoUrl, other.VideoUrl) + ; + } + + /// + /// + /// + public static bool operator ==(DataItem5 obj1, DataItem5 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(DataItem5 obj1, DataItem5 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is DataItem5 o && Equals(o); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk.g.cs index ed3dbd8..0571ce9 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk.g.cs @@ -94,6 +94,12 @@ public sealed partial class MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScor [global::System.Text.Json.Serialization.JsonPropertyName("context")] public string? Context { get; set; } + /// + /// summary of the text chunk + /// + [global::System.Text.Json.Serialization.JsonPropertyName("summary")] + public string? Summary { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -145,6 +151,9 @@ public sealed partial class MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScor /// /// LLM-generated context that situates this chunk within its source document /// + /// + /// summary of the text chunk + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -161,7 +170,8 @@ public MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk( string? type, int? offset, string? text, - string? context) + string? context, + string? summary) { this.ChunkIndex = chunkIndex; this.MimeType = mimeType; @@ -176,6 +186,7 @@ public MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunk( this.Offset = offset; this.Text = text; this.Context = context; + this.Summary = summary; } /// diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary.Json.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary.Json.g.cs new file mode 100644 index 0000000..9e9b262 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Mixedbread +{ + public sealed partial class MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary), + jsonSerializerContext) as global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary), + jsonSerializerContext).ConfigureAwait(false)) as global::Mixedbread.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary.g.cs new file mode 100644 index 0000000..b80dc0c --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Mixedbread +{ + /// + /// summary of the text chunk + /// + public sealed partial class MxbaiOmniApiRoutesV1DeprecatedVectorStoresModelsScoredTextInputChunkSummary + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk.g.cs index fdd8ee6..baea9a6 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk.g.cs @@ -100,6 +100,12 @@ public sealed partial class MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChu [global::System.Text.Json.Serialization.JsonPropertyName("context")] public string? Context { get; set; } + /// + /// summary of the text chunk + /// + [global::System.Text.Json.Serialization.JsonPropertyName("summary")] + public string? Summary { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -154,6 +160,9 @@ public sealed partial class MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChu /// /// LLM-generated context that situates this chunk within its source document /// + /// + /// summary of the text chunk + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -171,7 +180,8 @@ public MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk( string? type, int? offset, string? text, - string? context) + string? context, + string? summary) { this.ChunkIndex = chunkIndex; this.MimeType = mimeType; @@ -187,6 +197,7 @@ public MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunk( this.Offset = offset; this.Text = text; this.Context = context; + this.Summary = summary; } /// diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary.Json.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary.Json.g.cs new file mode 100644 index 0000000..27aac74 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Mixedbread +{ + public sealed partial class MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary), + jsonSerializerContext) as global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary), + jsonSerializerContext).ConfigureAwait(false)) as global::Mixedbread.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary.g.cs new file mode 100644 index 0000000..f1af146 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Mixedbread +{ + /// + /// summary of the text chunk + /// + public sealed partial class MxbaiOmniCoreStoreModelsChunkTypesScoredTextInputChunkSummary + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreChunkFilterParams.Json.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreChunkFilterParams.Json.g.cs new file mode 100644 index 0000000..febc1f0 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreChunkFilterParams.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Mixedbread +{ + public sealed partial class StoreChunkFilterParams + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Mixedbread.StoreChunkFilterParams? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Mixedbread.StoreChunkFilterParams), + jsonSerializerContext) as global::Mixedbread.StoreChunkFilterParams; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Mixedbread.StoreChunkFilterParams? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Mixedbread.StoreChunkFilterParams), + jsonSerializerContext).ConfigureAwait(false)) as global::Mixedbread.StoreChunkFilterParams; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreChunkFilterParams.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreChunkFilterParams.g.cs new file mode 100644 index 0000000..ae7f7e9 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreChunkFilterParams.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace Mixedbread +{ + /// + /// Parameters for listing store chunks by metadata filter. + /// + public sealed partial class StoreChunkFilterParams + { + /// + /// IDs or names of stores + /// + [global::System.Text.Json.Serialization.JsonPropertyName("store_identifiers")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList> StoreIdentifiers { get; set; } + + /// + /// Number of results to return
+ /// Default Value: 10 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("top_k")] + public int? TopK { get; set; } + + /// + /// Optional filter conditions + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filters")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>))] + public global::Mixedbread.AnyOf>, object>? Filters { get; set; } + + /// + /// Optional list of file IDs to filter chunks by (inclusion filter) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("file_ids")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>>, global::System.Collections.Generic.IList, object>))] + public global::Mixedbread.AnyOf>>, global::System.Collections.Generic.IList, object>? FileIds { get; set; } + + /// + /// Optional sort applied to the returned chunks. Pass a metadata field path or a tuple of (field path, ascending). Unprefixed dot paths target file metadata; generated_metadata.* targets chunk metadata. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sort_by")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Mixedbread.JsonConverters.AnyOfJsonConverter>, object>))] + public global::Mixedbread.AnyOf>, object>? SortBy { get; set; } + + /// + /// Search configuration options + /// + [global::System.Text.Json.Serialization.JsonPropertyName("search_options")] + public global::Mixedbread.StoreChunkSearchOptions? SearchOptions { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// IDs or names of stores + /// + /// + /// Number of results to return
+ /// Default Value: 10 + /// + /// + /// Optional filter conditions + /// + /// + /// Optional list of file IDs to filter chunks by (inclusion filter) + /// + /// + /// Optional sort applied to the returned chunks. Pass a metadata field path or a tuple of (field path, ascending). Unprefixed dot paths target file metadata; generated_metadata.* targets chunk metadata. + /// + /// + /// Search configuration options + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public StoreChunkFilterParams( + global::System.Collections.Generic.IList> storeIdentifiers, + int? topK, + global::Mixedbread.AnyOf>, object>? filters, + global::Mixedbread.AnyOf>>, global::System.Collections.Generic.IList, object>? fileIds, + global::Mixedbread.AnyOf>, object>? sortBy, + global::Mixedbread.StoreChunkSearchOptions? searchOptions) + { + this.StoreIdentifiers = storeIdentifiers ?? throw new global::System.ArgumentNullException(nameof(storeIdentifiers)); + this.TopK = topK; + this.Filters = filters; + this.FileIds = fileIds; + this.SortBy = sortBy; + this.SearchOptions = searchOptions; + } + + /// + /// Initializes a new instance of the class. + /// + public StoreChunkFilterParams() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponse.Json.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponse.Json.g.cs new file mode 100644 index 0000000..50830b1 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Mixedbread +{ + public sealed partial class StoreListChunksResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Mixedbread.StoreListChunksResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Mixedbread.StoreListChunksResponse), + jsonSerializerContext) as global::Mixedbread.StoreListChunksResponse; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Mixedbread.StoreListChunksResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Mixedbread.StoreListChunksResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Mixedbread.StoreListChunksResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponse.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponse.g.cs new file mode 100644 index 0000000..dd22c5d --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponse.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace Mixedbread +{ + /// + /// + /// + public sealed partial class StoreListChunksResponse + { + /// + /// The object type of the response
+ /// Default Value: list + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("object")] + public string? Object { get; set; } + + /// + /// The list of chunks matching the metadata filters + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The list of chunks matching the metadata filters + /// + /// + /// The object type of the response
+ /// Default Value: list + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public StoreListChunksResponse( + global::System.Collections.Generic.IList data, + string? @object) + { + this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public StoreListChunksResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminator.Json.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminator.Json.g.cs new file mode 100644 index 0000000..b3a31cf --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminator.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Mixedbread +{ + public sealed partial class StoreListChunksResponseDataItemDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Mixedbread.StoreListChunksResponseDataItemDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Mixedbread.StoreListChunksResponseDataItemDiscriminator), + jsonSerializerContext) as global::Mixedbread.StoreListChunksResponseDataItemDiscriminator; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Mixedbread.StoreListChunksResponseDataItemDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Mixedbread.StoreListChunksResponseDataItemDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::Mixedbread.StoreListChunksResponseDataItemDiscriminator; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminator.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminator.g.cs new file mode 100644 index 0000000..4dd7e48 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Mixedbread +{ + /// + /// + /// + public sealed partial class StoreListChunksResponseDataItemDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Mixedbread.JsonConverters.StoreListChunksResponseDataItemDiscriminatorTypeJsonConverter))] + public global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public StoreListChunksResponseDataItemDiscriminator( + global::Mixedbread.StoreListChunksResponseDataItemDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public StoreListChunksResponseDataItemDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminatorType.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminatorType.g.cs new file mode 100644 index 0000000..889785e --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreListChunksResponseDataItemDiscriminatorType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace Mixedbread +{ + /// + /// + /// + public enum StoreListChunksResponseDataItemDiscriminatorType + { + /// + /// + /// + AudioUrl, + /// + /// + /// + ImageUrl, + /// + /// + /// + Text, + /// + /// + /// + VideoUrl, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class StoreListChunksResponseDataItemDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this StoreListChunksResponseDataItemDiscriminatorType value) + { + return value switch + { + StoreListChunksResponseDataItemDiscriminatorType.AudioUrl => "audio_url", + StoreListChunksResponseDataItemDiscriminatorType.ImageUrl => "image_url", + StoreListChunksResponseDataItemDiscriminatorType.Text => "text", + StoreListChunksResponseDataItemDiscriminatorType.VideoUrl => "video_url", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static StoreListChunksResponseDataItemDiscriminatorType? ToEnum(string value) + { + return value switch + { + "audio_url" => StoreListChunksResponseDataItemDiscriminatorType.AudioUrl, + "image_url" => StoreListChunksResponseDataItemDiscriminatorType.ImageUrl, + "text" => StoreListChunksResponseDataItemDiscriminatorType.Text, + "video_url" => StoreListChunksResponseDataItemDiscriminatorType.VideoUrl, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreSearchResponse.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreSearchResponse.g.cs index 8ffea17..d899b1a 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreSearchResponse.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.StoreSearchResponse.g.cs @@ -20,7 +20,7 @@ public sealed partial class StoreSearchResponse ///
[global::System.Text.Json.Serialization.JsonPropertyName("data")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Data { get; set; } + public required global::System.Collections.Generic.IList Data { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -42,7 +42,7 @@ public sealed partial class StoreSearchResponse [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public StoreSearchResponse( - global::System.Collections.Generic.IList data, + global::System.Collections.Generic.IList data, string? @object) { this.Object = @object; diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunk.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunk.g.cs index 09c1d27..5801e49 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunk.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunk.g.cs @@ -60,6 +60,12 @@ public sealed partial class TextInputChunk [global::System.Text.Json.Serialization.JsonPropertyName("context")] public string? Context { get; set; } + /// + /// summary of the text chunk + /// + [global::System.Text.Json.Serialization.JsonPropertyName("summary")] + public string? Summary { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -96,6 +102,9 @@ public sealed partial class TextInputChunk /// /// LLM-generated context that situates this chunk within its source document /// + /// + /// summary of the text chunk + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -107,7 +116,8 @@ public TextInputChunk( string? type, int? offset, string? text, - string? context) + string? context, + string? summary) { this.ChunkIndex = chunkIndex; this.MimeType = mimeType; @@ -117,6 +127,7 @@ public TextInputChunk( this.Offset = offset; this.Text = text; this.Context = context; + this.Summary = summary; } /// diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunkSummary.Json.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunkSummary.Json.g.cs new file mode 100644 index 0000000..dac255c --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunkSummary.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Mixedbread +{ + public sealed partial class TextInputChunkSummary + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Mixedbread.TextInputChunkSummary? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Mixedbread.TextInputChunkSummary), + jsonSerializerContext) as global::Mixedbread.TextInputChunkSummary; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Mixedbread.TextInputChunkSummary? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Mixedbread.TextInputChunkSummary), + jsonSerializerContext).ConfigureAwait(false)) as global::Mixedbread.TextInputChunkSummary; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunkSummary.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunkSummary.g.cs new file mode 100644 index 0000000..81428b4 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.TextInputChunkSummary.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace Mixedbread +{ + /// + /// summary of the text chunk + /// + public sealed partial class TextInputChunkSummary + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/Generated/Mixedbread.Models.VectorStoreSearchResponse.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.Models.VectorStoreSearchResponse.g.cs index 7dc07e5..9716869 100644 --- a/src/libs/Mixedbread/Generated/Mixedbread.Models.VectorStoreSearchResponse.g.cs +++ b/src/libs/Mixedbread/Generated/Mixedbread.Models.VectorStoreSearchResponse.g.cs @@ -20,7 +20,7 @@ public sealed partial class VectorStoreSearchResponse /// [global::System.Text.Json.Serialization.JsonPropertyName("data")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Data { get; set; } + public required global::System.Collections.Generic.IList Data { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -42,7 +42,7 @@ public sealed partial class VectorStoreSearchResponse [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public VectorStoreSearchResponse( - global::System.Collections.Generic.IList data, + global::System.Collections.Generic.IList data, string? @object) { this.Object = @object; diff --git a/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreChunks.g.cs b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreChunks.g.cs new file mode 100644 index 0000000..025b679 --- /dev/null +++ b/src/libs/Mixedbread/Generated/Mixedbread.StoresClient.ListStoreChunks.g.cs @@ -0,0 +1,609 @@ + +#nullable enable + +namespace Mixedbread +{ + public partial class StoresClient + { + + private static readonly global::Mixedbread.AutoSDKServer[] s_ListStoreChunksServers = new global::Mixedbread.AutoSDKServer[] + { new global::Mixedbread.AutoSDKServer( + id: "https-api-mixedbread-com", + name: "mixedbread ai production server", + url: "https://api.mixedbread.com/", + description: "mixedbread ai production server"), + new global::Mixedbread.AutoSDKServer( + id: "https-api-dev-mixedbread-com", + name: "mixedbread ai development server", + url: "https://api.dev.mixedbread.com/", + description: "mixedbread ai development server"), + new global::Mixedbread.AutoSDKServer( + id: "http-127-0-0-1", + name: "mixedbread local server", + url: "http://127.0.0.1:8000/", + description: "mixedbread local server"), + new global::Mixedbread.AutoSDKServer( + id: "http-localhost", + name: "mixedbread local server", + url: "http://localhost:8000/", + description: "mixedbread local server"), + }; + + + private static readonly global::Mixedbread.EndPointSecurityRequirement s_ListStoreChunksSecurityRequirement0 = + new global::Mixedbread.EndPointSecurityRequirement + { + Authorizations = new global::Mixedbread.EndPointAuthorizationRequirement[] + { new global::Mixedbread.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::Mixedbread.EndPointSecurityRequirement[] s_ListStoreChunksSecurityRequirements = + new global::Mixedbread.EndPointSecurityRequirement[] + { s_ListStoreChunksSecurityRequirement0, + }; + partial void PrepareListStoreChunksArguments( + global::System.Net.Http.HttpClient httpClient, + global::Mixedbread.StoreChunkFilterParams request); + partial void PrepareListStoreChunksRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::Mixedbread.StoreChunkFilterParams request); + partial void ProcessListStoreChunksResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListStoreChunksResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List store chunks by metadata filter and numeric ranking
+ /// List store chunks purely by metadata filters — no embeddings, no semantic similarity, no reranking.
+ /// Unlike `/stores/search`, this endpoint does not require a query and never runs a vector lookup.
+ /// It returns chunks whose file and chunk metadata satisfy `filters`, optionally ordered by a
+ /// numeric metadata field via `sort_by`. Useful for ranked retrieval over numeric attributes
+ /// (e.g. price, BPM) and for reproducing the agentic `filter_chunks` tool externally.
+ /// list-chunks targets a single store and does not support pagination; raise `top_k` to
+ /// retrieve more chunks.
+ /// Args:
+ /// filter_params: Filter configuration including:
+ /// - store_identifiers: the single store to filter against
+ /// - filters: optional metadata filter conditions
+ /// - file_ids: optional list of file IDs to filter chunks by
+ /// - sort_by: optional metadata field path, or `(field, ascending)` tuple, for numeric ordering
+ /// - top_k: number of chunks to return
+ /// Returns:
+ /// StoreListChunksResponse containing the list of matching chunks.
+ /// Raises:
+ /// HTTPException (400): If filter parameters are invalid or multiple stores are passed
+ /// HTTPException (404): If the store is not found + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ListStoreChunksAsync( + + global::Mixedbread.StoreChunkFilterParams request, + global::Mixedbread.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListStoreChunksAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List store chunks by metadata filter and numeric ranking
+ /// List store chunks purely by metadata filters — no embeddings, no semantic similarity, no reranking.
+ /// Unlike `/stores/search`, this endpoint does not require a query and never runs a vector lookup.
+ /// It returns chunks whose file and chunk metadata satisfy `filters`, optionally ordered by a
+ /// numeric metadata field via `sort_by`. Useful for ranked retrieval over numeric attributes
+ /// (e.g. price, BPM) and for reproducing the agentic `filter_chunks` tool externally.
+ /// list-chunks targets a single store and does not support pagination; raise `top_k` to
+ /// retrieve more chunks.
+ /// Args:
+ /// filter_params: Filter configuration including:
+ /// - store_identifiers: the single store to filter against
+ /// - filters: optional metadata filter conditions
+ /// - file_ids: optional list of file IDs to filter chunks by
+ /// - sort_by: optional metadata field path, or `(field, ascending)` tuple, for numeric ordering
+ /// - top_k: number of chunks to return
+ /// Returns:
+ /// StoreListChunksResponse containing the list of matching chunks.
+ /// Raises:
+ /// HTTPException (400): If filter parameters are invalid or multiple stores are passed
+ /// HTTPException (404): If the store is not found + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> ListStoreChunksAsResponseAsync( + + global::Mixedbread.StoreChunkFilterParams request, + global::Mixedbread.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareListStoreChunksArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::Mixedbread.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListStoreChunksSecurityRequirements, + operationName: "ListStoreChunksAsync"); + + using var __timeoutCancellationTokenSource = global::Mixedbread.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::Mixedbread.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::Mixedbread.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::Mixedbread.PathBuilder( + path: "/v1/stores/list-chunks", + baseUri: ResolveBaseUri( + servers: s_ListStoreChunksServers, + defaultBaseUrl: "https://api.mixedbread.com/")); + var __path = __pathBuilder.ToString(); + __path = global::Mixedbread.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::Mixedbread.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListStoreChunksRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::Mixedbread.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::Mixedbread.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListStoreChunks", + methodName: "ListStoreChunksAsync", + pathTemplate: "\"/v1/stores/list-chunks\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::Mixedbread.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::Mixedbread.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Mixedbread.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListStoreChunks", + methodName: "ListStoreChunksAsync", + pathTemplate: "\"/v1/stores/list-chunks\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::Mixedbread.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::Mixedbread.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::Mixedbread.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::Mixedbread.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Mixedbread.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListStoreChunks", + methodName: "ListStoreChunksAsync", + pathTemplate: "\"/v1/stores/list-chunks\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::Mixedbread.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListStoreChunksResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Mixedbread.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Mixedbread.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListStoreChunks", + methodName: "ListStoreChunksAsync", + pathTemplate: "\"/v1/stores/list-chunks\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::Mixedbread.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Mixedbread.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListStoreChunks", + methodName: "ListStoreChunksAsync", + pathTemplate: "\"/v1/stores/list-chunks\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::Mixedbread.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::Mixedbread.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::Mixedbread.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + throw new global::Mixedbread.ApiException( + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + statusCode: __response.StatusCode) + { + ResponseBody = __content_422, + ResponseObject = __value_422, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListStoreChunksResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Mixedbread.StoreListChunksResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::Mixedbread.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Mixedbread.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::Mixedbread.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::Mixedbread.StoreListChunksResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::Mixedbread.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Mixedbread.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::Mixedbread.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// List store chunks by metadata filter and numeric ranking
+ /// List store chunks purely by metadata filters — no embeddings, no semantic similarity, no reranking.
+ /// Unlike `/stores/search`, this endpoint does not require a query and never runs a vector lookup.
+ /// It returns chunks whose file and chunk metadata satisfy `filters`, optionally ordered by a
+ /// numeric metadata field via `sort_by`. Useful for ranked retrieval over numeric attributes
+ /// (e.g. price, BPM) and for reproducing the agentic `filter_chunks` tool externally.
+ /// list-chunks targets a single store and does not support pagination; raise `top_k` to
+ /// retrieve more chunks.
+ /// Args:
+ /// filter_params: Filter configuration including:
+ /// - store_identifiers: the single store to filter against
+ /// - filters: optional metadata filter conditions
+ /// - file_ids: optional list of file IDs to filter chunks by
+ /// - sort_by: optional metadata field path, or `(field, ascending)` tuple, for numeric ordering
+ /// - top_k: number of chunks to return
+ /// Returns:
+ /// StoreListChunksResponse containing the list of matching chunks.
+ /// Raises:
+ /// HTTPException (400): If filter parameters are invalid or multiple stores are passed
+ /// HTTPException (404): If the store is not found + ///
+ /// + /// IDs or names of stores + /// + /// + /// Number of results to return
+ /// Default Value: 10 + /// + /// + /// Optional filter conditions + /// + /// + /// Optional list of file IDs to filter chunks by (inclusion filter) + /// + /// + /// Optional sort applied to the returned chunks. Pass a metadata field path or a tuple of (field path, ascending). Unprefixed dot paths target file metadata; generated_metadata.* targets chunk metadata. + /// + /// + /// Search configuration options + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ListStoreChunksAsync( + global::System.Collections.Generic.IList> storeIdentifiers, + int? topK = default, + global::Mixedbread.AnyOf>, object>? filters = default, + global::Mixedbread.AnyOf>>, global::System.Collections.Generic.IList, object>? fileIds = default, + global::Mixedbread.AnyOf>, object>? sortBy = default, + global::Mixedbread.StoreChunkSearchOptions? searchOptions = default, + global::Mixedbread.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::Mixedbread.StoreChunkFilterParams + { + StoreIdentifiers = storeIdentifiers, + TopK = topK, + Filters = filters, + FileIds = fileIds, + SortBy = sortBy, + SearchOptions = searchOptions, + }; + + return await ListStoreChunksAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Mixedbread/openapi.yaml b/src/libs/Mixedbread/openapi.yaml index 925acf4..b9dd140 100644 --- a/src/libs/Mixedbread/openapi.yaml +++ b/src/libs/Mixedbread/openapi.yaml @@ -1997,6 +1997,40 @@ "security": [{ "ApiKeyAuth": [] }] } }, + "/v1/stores/list-chunks": { + "post": { + "tags": ["stores"], + "summary": "List store chunks by metadata filter and numeric ranking", + "description": "List store chunks purely by metadata filters — no embeddings, no semantic similarity, no reranking.\n\nUnlike `/stores/search`, this endpoint does not require a query and never runs a vector lookup.\nIt returns chunks whose file and chunk metadata satisfy `filters`, optionally ordered by a\nnumeric metadata field via `sort_by`. Useful for ranked retrieval over numeric attributes\n(e.g. price, BPM) and for reproducing the agentic `filter_chunks` tool externally.\n\nlist-chunks targets a single store and does not support pagination; raise `top_k` to\nretrieve more chunks.\n\nArgs:\n filter_params: Filter configuration including:\n - store_identifiers: the single store to filter against\n - filters: optional metadata filter conditions\n - file_ids: optional list of file IDs to filter chunks by\n - sort_by: optional metadata field path, or `(field, ascending)` tuple, for numeric ordering\n - top_k: number of chunks to return\n\nReturns:\n StoreListChunksResponse containing the list of matching chunks.\n\nRaises:\n HTTPException (400): If filter parameters are invalid or multiple stores are passed\n HTTPException (404): If the store is not found", + "operationId": "list_store_chunks", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StoreChunkFilterParams", + "description": "Filter parameters including metadata filters, optional numeric sort, and pagination options" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "List of chunks matching the metadata filters, optionally ordered by a numeric metadata field", + "content": { + "application/json": { "schema": { "$ref": "#/components/schemas/StoreListChunksResponse" } } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } + } + } + }, + "security": [{ "ApiKeyAuth": [] }] + } + }, "/v1/stores/question-answering": { "post": { "tags": ["stores"], @@ -7982,6 +8016,88 @@ "title": "StoreAgenticSearchEvent", "description": "Represents an agentic search trace in a vector store.\n\nUnlike StoreSearchEvent, this captures the full sequence of tool calls the\nagent issued (name, arguments, result) so developers can inspect what the\nagent did, along with the token usage and cost." }, + "StoreChunkFilterParams": { + "properties": { + "store_identifiers": { + "items": { "anyOf": [{ "type": "string" }, { "type": "string", "format": "uuid" }] }, + "type": "array", + "maxItems": 16, + "minItems": 1, + "title": "Store Identifiers", + "description": "IDs or names of stores" + }, + "top_k": { + "type": "integer", + "minimum": 1, + "title": "Top K", + "description": "Number of results to return", + "default": 10 + }, + "filters": { + "anyOf": [ + { "$ref": "#/components/schemas/SearchFilter-Input" }, + { "$ref": "#/components/schemas/SearchFilterCondition" }, + { + "items": { + "anyOf": [ + { "$ref": "#/components/schemas/SearchFilter-Input" }, + { "$ref": "#/components/schemas/SearchFilterCondition" } + ] + }, + "type": "array" + }, + { "type": "null" } + ], + "title": "Filters", + "description": "Optional filter conditions" + }, + "file_ids": { + "anyOf": [ + { + "prefixItems": [ + { "$ref": "#/components/schemas/ConditionOperator" }, + { "items": { "type": "string", "format": "uuid" }, "type": "array" } + ], + "type": "array", + "maxItems": 2, + "minItems": 2 + }, + { "items": { "type": "string", "format": "uuid" }, "type": "array" }, + { "type": "null" } + ], + "title": "File Ids", + "description": "Optional list of file IDs to filter chunks by (inclusion filter)", + "examples": [ + ["123e4567-e89b-12d3-a456-426614174000", "123e4567-e89b-12d3-a456-426614174001"], + ["in", ["123e4567-e89b-12d3-a456-426614174000"]], + ["not_in", ["123e4567-e89b-12d3-a456-426614174000"]] + ] + }, + "sort_by": { + "anyOf": [ + { "type": "string" }, + { + "prefixItems": [{ "type": "string" }, { "type": "boolean" }], + "type": "array", + "maxItems": 2, + "minItems": 2 + }, + { "type": "null" } + ], + "title": "Sort By", + "description": "Optional sort applied to the returned chunks. Pass a metadata field path or a tuple of (field path, ascending). Unprefixed dot paths target file metadata; generated_metadata.* targets chunk metadata.", + "examples": ["price", ["price", false], "campaign.name", ["generated_metadata.bpm", true]] + }, + "search_options": { + "$ref": "#/components/schemas/StoreChunkSearchOptions", + "description": "Search configuration options" + } + }, + "type": "object", + "required": ["store_identifiers"], + "title": "StoreChunkFilterParams", + "description": "Parameters for listing store chunks by metadata filter." + }, "StoreChunkGrepParams": { "properties": { "store_identifiers": { @@ -8804,6 +8920,50 @@ "title": "StoreIngestionEvent", "description": "Represents an ingestion event in a vector store." }, + "StoreListChunksResponse": { + "properties": { + "object": { + "type": "string", + "const": "list", + "title": "Object", + "description": "The object type of the response", + "default": "list" + }, + "data": { + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/mxbai_omni__core__store__models__chunk_types__ScoredTextInputChunk" + }, + { + "$ref": "#/components/schemas/mxbai_omni__core__store__models__chunk_types__ScoredImageUrlInputChunk" + }, + { + "$ref": "#/components/schemas/mxbai_omni__core__store__models__chunk_types__ScoredAudioUrlInputChunk" + }, + { + "$ref": "#/components/schemas/mxbai_omni__core__store__models__chunk_types__ScoredVideoUrlInputChunk" + } + ], + "discriminator": { + "propertyName": "type", + "mapping": { + "audio_url": "#/components/schemas/mxbai_omni__core__store__models__chunk_types__ScoredAudioUrlInputChunk", + "image_url": "#/components/schemas/mxbai_omni__core__store__models__chunk_types__ScoredImageUrlInputChunk", + "text": "#/components/schemas/mxbai_omni__core__store__models__chunk_types__ScoredTextInputChunk", + "video_url": "#/components/schemas/mxbai_omni__core__store__models__chunk_types__ScoredVideoUrlInputChunk" + } + } + }, + "type": "array", + "title": "Data", + "description": "The list of chunks matching the metadata filters" + } + }, + "type": "object", + "required": ["data"], + "title": "StoreListChunksResponse" + }, "StoreListResponse": { "properties": { "pagination": { "$ref": "#/components/schemas/CursorPaginationResponse" }, @@ -9316,6 +9476,12 @@ "title": "Context", "description": "LLM-generated context that situates this chunk within its source document", "examples": ["This chunk is from an SEC filing on ACME corp's Q2 2023 performance."] + }, + "summary": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Summary", + "description": "summary of the text chunk", + "examples": ["A short overview of ACME's Q2 2023 performance."] } }, "type": "object", @@ -10527,6 +10693,12 @@ "title": "Context", "description": "LLM-generated context that situates this chunk within its source document", "examples": ["This chunk is from an SEC filing on ACME corp's Q2 2023 performance."] + }, + "summary": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Summary", + "description": "summary of the text chunk", + "examples": ["A short overview of ACME's Q2 2023 performance."] } }, "type": "object", @@ -11456,6 +11628,12 @@ "title": "Context", "description": "LLM-generated context that situates this chunk within its source document", "examples": ["This chunk is from an SEC filing on ACME corp's Q2 2023 performance."] + }, + "summary": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Summary", + "description": "summary of the text chunk", + "examples": ["A short overview of ACME's Q2 2023 performance."] } }, "type": "object",