diff --git a/src/libs/Jina/Generated/Jina.Models.ImageEmbeddingInput.g.cs b/src/libs/Jina/Generated/Jina.Models.ImageEmbeddingInput.g.cs
index 92cb9a2..9e96f82 100644
--- a/src/libs/Jina/Generated/Jina.Models.ImageEmbeddingInput.g.cs
+++ b/src/libs/Jina/Generated/Jina.Models.ImageEmbeddingInput.g.cs
@@ -42,6 +42,18 @@ public sealed partial class ImageEmbeddingInput
[global::System.Text.Json.Serialization.JsonPropertyName("normalized")]
public bool? Normalized { get; set; }
+ ///
+ /// Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:
+ /// - "retrieval.query": Specifies the given text is a query in a search or retrieval setting.
+ /// - "retrieval.passage": Specifies the given text is a document in a search or retrieval setting.
+ /// - "text-matching": Specifies the given text is used for Semantic Textual Similarity.
+ /// - "classification": Specifies that the embedding is used for classification.
+ /// - "separation": Specifies that the embedding is used for clustering.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("task")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Jina.JsonConverters.ImageEmbeddingInputTaskJsonConverter))]
+ public global::Jina.ImageEmbeddingInputTask? Task { get; set; }
+
///
/// Used to specify output embedding size. If set, output embeddings will be truncated to the size specified.
///
@@ -73,6 +85,14 @@ public sealed partial class ImageEmbeddingInput
///
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm
///
+ ///
+ /// Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:
+ /// - "retrieval.query": Specifies the given text is a query in a search or retrieval setting.
+ /// - "retrieval.passage": Specifies the given text is a document in a search or retrieval setting.
+ /// - "text-matching": Specifies the given text is used for Semantic Textual Similarity.
+ /// - "classification": Specifies that the embedding is used for classification.
+ /// - "separation": Specifies that the embedding is used for clustering.
+ ///
///
/// Used to specify output embedding size. If set, output embeddings will be truncated to the size specified.
///
@@ -82,12 +102,14 @@ public ImageEmbeddingInput(
global::Jina.AnyOf> input,
global::Jina.AnyOf>? embeddingType,
bool? normalized,
+ global::Jina.ImageEmbeddingInputTask? task,
int? dimensions)
{
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Input = input;
this.EmbeddingType = embeddingType;
this.Normalized = normalized;
+ this.Task = task;
this.Dimensions = dimensions;
}
diff --git a/src/libs/Jina/Generated/Jina.Models.ImageEmbeddingInputTask.g.cs b/src/libs/Jina/Generated/Jina.Models.ImageEmbeddingInputTask.g.cs
new file mode 100644
index 0000000..ff1f907
--- /dev/null
+++ b/src/libs/Jina/Generated/Jina.Models.ImageEmbeddingInputTask.g.cs
@@ -0,0 +1,74 @@
+
+#nullable enable
+
+namespace Jina
+{
+ ///
+ /// Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:
+ /// - "retrieval.query": Specifies the given text is a query in a search or retrieval setting.
+ /// - "retrieval.passage": Specifies the given text is a document in a search or retrieval setting.
+ /// - "text-matching": Specifies the given text is used for Semantic Textual Similarity.
+ /// - "classification": Specifies that the embedding is used for classification.
+ /// - "separation": Specifies that the embedding is used for clustering.
+ ///
+ public enum ImageEmbeddingInputTask
+ {
+ ///
+ /// Specifies the given text is a query in a search or retrieval setting.
+ ///
+ RetrievalQuery,
+ ///
+ /// Specifies the given text is a document in a search or retrieval setting.
+ ///
+ RetrievalPassage,
+ ///
+ /// Specifies the given text is used for Semantic Textual Similarity.
+ ///
+ TextMatching,
+ ///
+ /// Specifies that the embedding is used for classification.
+ ///
+ Classification,
+ ///
+ /// Specifies that the embedding is used for clustering.
+ ///
+ Separation,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class ImageEmbeddingInputTaskExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this ImageEmbeddingInputTask value)
+ {
+ return value switch
+ {
+ ImageEmbeddingInputTask.RetrievalQuery => "retrieval.query",
+ ImageEmbeddingInputTask.RetrievalPassage => "retrieval.passage",
+ ImageEmbeddingInputTask.TextMatching => "text-matching",
+ ImageEmbeddingInputTask.Classification => "classification",
+ ImageEmbeddingInputTask.Separation => "separation",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static ImageEmbeddingInputTask? ToEnum(string value)
+ {
+ return value switch
+ {
+ "retrieval.query" => ImageEmbeddingInputTask.RetrievalQuery,
+ "retrieval.passage" => ImageEmbeddingInputTask.RetrievalPassage,
+ "text-matching" => ImageEmbeddingInputTask.TextMatching,
+ "classification" => ImageEmbeddingInputTask.Classification,
+ "separation" => ImageEmbeddingInputTask.Separation,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Jina/Generated/Jina.Models.MixedEmbeddingInput.g.cs b/src/libs/Jina/Generated/Jina.Models.MixedEmbeddingInput.g.cs
index aabd25d..666b74d 100644
--- a/src/libs/Jina/Generated/Jina.Models.MixedEmbeddingInput.g.cs
+++ b/src/libs/Jina/Generated/Jina.Models.MixedEmbeddingInput.g.cs
@@ -41,6 +41,18 @@ public sealed partial class MixedEmbeddingInput
[global::System.Text.Json.Serialization.JsonPropertyName("normalized")]
public bool? Normalized { get; set; }
+ ///
+ /// Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:
+ /// - "retrieval.query": Specifies the given text is a query in a search or retrieval setting.
+ /// - "retrieval.passage": Specifies the given text is a document in a search or retrieval setting.
+ /// - "text-matching": Specifies the given text is used for Semantic Textual Similarity.
+ /// - "classification": Specifies that the embedding is used for classification.
+ /// - "separation": Specifies that the embedding is used for clustering.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("task")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Jina.JsonConverters.MixedEmbeddingInputTaskJsonConverter))]
+ public global::Jina.MixedEmbeddingInputTask? Task { get; set; }
+
///
/// Used to specify output embedding size. If set, output embeddings will be truncated to the size specified.
///
@@ -72,6 +84,14 @@ public sealed partial class MixedEmbeddingInput
///
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm
///
+ ///
+ /// Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:
+ /// - "retrieval.query": Specifies the given text is a query in a search or retrieval setting.
+ /// - "retrieval.passage": Specifies the given text is a document in a search or retrieval setting.
+ /// - "text-matching": Specifies the given text is used for Semantic Textual Similarity.
+ /// - "classification": Specifies that the embedding is used for classification.
+ /// - "separation": Specifies that the embedding is used for clustering.
+ ///
///
/// Used to specify output embedding size. If set, output embeddings will be truncated to the size specified.
///
@@ -81,12 +101,14 @@ public MixedEmbeddingInput(
global::System.Collections.Generic.IList> input,
global::Jina.AnyOf>? embeddingType,
bool? normalized,
+ global::Jina.MixedEmbeddingInputTask? task,
int? dimensions)
{
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
this.EmbeddingType = embeddingType;
this.Normalized = normalized;
+ this.Task = task;
this.Dimensions = dimensions;
}
diff --git a/src/libs/Jina/Generated/Jina.Models.MixedEmbeddingInputTask.g.cs b/src/libs/Jina/Generated/Jina.Models.MixedEmbeddingInputTask.g.cs
new file mode 100644
index 0000000..5450832
--- /dev/null
+++ b/src/libs/Jina/Generated/Jina.Models.MixedEmbeddingInputTask.g.cs
@@ -0,0 +1,74 @@
+
+#nullable enable
+
+namespace Jina
+{
+ ///
+ /// Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:
+ /// - "retrieval.query": Specifies the given text is a query in a search or retrieval setting.
+ /// - "retrieval.passage": Specifies the given text is a document in a search or retrieval setting.
+ /// - "text-matching": Specifies the given text is used for Semantic Textual Similarity.
+ /// - "classification": Specifies that the embedding is used for classification.
+ /// - "separation": Specifies that the embedding is used for clustering.
+ ///
+ public enum MixedEmbeddingInputTask
+ {
+ ///
+ /// Specifies the given text is a query in a search or retrieval setting.
+ ///
+ RetrievalQuery,
+ ///
+ /// Specifies the given text is a document in a search or retrieval setting.
+ ///
+ RetrievalPassage,
+ ///
+ /// Specifies the given text is used for Semantic Textual Similarity.
+ ///
+ TextMatching,
+ ///
+ /// Specifies that the embedding is used for classification.
+ ///
+ Classification,
+ ///
+ /// Specifies that the embedding is used for clustering.
+ ///
+ Separation,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class MixedEmbeddingInputTaskExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this MixedEmbeddingInputTask value)
+ {
+ return value switch
+ {
+ MixedEmbeddingInputTask.RetrievalQuery => "retrieval.query",
+ MixedEmbeddingInputTask.RetrievalPassage => "retrieval.passage",
+ MixedEmbeddingInputTask.TextMatching => "text-matching",
+ MixedEmbeddingInputTask.Classification => "classification",
+ MixedEmbeddingInputTask.Separation => "separation",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static MixedEmbeddingInputTask? ToEnum(string value)
+ {
+ return value switch
+ {
+ "retrieval.query" => MixedEmbeddingInputTask.RetrievalQuery,
+ "retrieval.passage" => MixedEmbeddingInputTask.RetrievalPassage,
+ "text-matching" => MixedEmbeddingInputTask.TextMatching,
+ "classification" => MixedEmbeddingInputTask.Classification,
+ "separation" => MixedEmbeddingInputTask.Separation,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Jina/Generated/JsonConverters.ImageEmbeddingInputTask.g.cs b/src/libs/Jina/Generated/JsonConverters.ImageEmbeddingInputTask.g.cs
new file mode 100644
index 0000000..efba420
--- /dev/null
+++ b/src/libs/Jina/Generated/JsonConverters.ImageEmbeddingInputTask.g.cs
@@ -0,0 +1,49 @@
+#nullable enable
+
+namespace Jina.JsonConverters
+{
+ ///
+ public sealed class ImageEmbeddingInputTaskJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Jina.ImageEmbeddingInputTask 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::Jina.ImageEmbeddingInputTaskExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Jina.ImageEmbeddingInputTask)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Jina.ImageEmbeddingInputTask value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Jina.ImageEmbeddingInputTaskExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Jina/Generated/JsonConverters.ImageEmbeddingInputTaskNullable.g.cs b/src/libs/Jina/Generated/JsonConverters.ImageEmbeddingInputTaskNullable.g.cs
new file mode 100644
index 0000000..0fc7281
--- /dev/null
+++ b/src/libs/Jina/Generated/JsonConverters.ImageEmbeddingInputTaskNullable.g.cs
@@ -0,0 +1,56 @@
+#nullable enable
+
+namespace Jina.JsonConverters
+{
+ ///
+ public sealed class ImageEmbeddingInputTaskNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Jina.ImageEmbeddingInputTask? 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::Jina.ImageEmbeddingInputTaskExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Jina.ImageEmbeddingInputTask)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Jina.ImageEmbeddingInputTask? 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::Jina.ImageEmbeddingInputTaskExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Jina/Generated/JsonConverters.MixedEmbeddingInputTask.g.cs b/src/libs/Jina/Generated/JsonConverters.MixedEmbeddingInputTask.g.cs
new file mode 100644
index 0000000..8f1fb96
--- /dev/null
+++ b/src/libs/Jina/Generated/JsonConverters.MixedEmbeddingInputTask.g.cs
@@ -0,0 +1,49 @@
+#nullable enable
+
+namespace Jina.JsonConverters
+{
+ ///
+ public sealed class MixedEmbeddingInputTaskJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Jina.MixedEmbeddingInputTask 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::Jina.MixedEmbeddingInputTaskExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Jina.MixedEmbeddingInputTask)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Jina.MixedEmbeddingInputTask value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Jina.MixedEmbeddingInputTaskExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Jina/Generated/JsonConverters.MixedEmbeddingInputTaskNullable.g.cs b/src/libs/Jina/Generated/JsonConverters.MixedEmbeddingInputTaskNullable.g.cs
new file mode 100644
index 0000000..1439cb3
--- /dev/null
+++ b/src/libs/Jina/Generated/JsonConverters.MixedEmbeddingInputTaskNullable.g.cs
@@ -0,0 +1,56 @@
+#nullable enable
+
+namespace Jina.JsonConverters
+{
+ ///
+ public sealed class MixedEmbeddingInputTaskNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Jina.MixedEmbeddingInputTask? 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::Jina.MixedEmbeddingInputTaskExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Jina.MixedEmbeddingInputTask)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Jina.MixedEmbeddingInputTask? 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::Jina.MixedEmbeddingInputTaskExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Jina/Generated/JsonSerializerContext.g.cs b/src/libs/Jina/Generated/JsonSerializerContext.g.cs
index 2946341..5016f10 100644
--- a/src/libs/Jina/Generated/JsonSerializerContext.g.cs
+++ b/src/libs/Jina/Generated/JsonSerializerContext.g.cs
@@ -25,10 +25,14 @@ namespace Jina
typeof(global::Jina.JsonConverters.ImageEmbeddingInputEmbeddingTypeNullableJsonConverter),
typeof(global::Jina.JsonConverters.ImageEmbeddingInputEmbeddingTypeItemJsonConverter),
typeof(global::Jina.JsonConverters.ImageEmbeddingInputEmbeddingTypeItemNullableJsonConverter),
+ typeof(global::Jina.JsonConverters.ImageEmbeddingInputTaskJsonConverter),
+ typeof(global::Jina.JsonConverters.ImageEmbeddingInputTaskNullableJsonConverter),
typeof(global::Jina.JsonConverters.MixedEmbeddingInputEmbeddingTypeJsonConverter),
typeof(global::Jina.JsonConverters.MixedEmbeddingInputEmbeddingTypeNullableJsonConverter),
typeof(global::Jina.JsonConverters.MixedEmbeddingInputEmbeddingTypeItemJsonConverter),
typeof(global::Jina.JsonConverters.MixedEmbeddingInputEmbeddingTypeItemNullableJsonConverter),
+ typeof(global::Jina.JsonConverters.MixedEmbeddingInputTaskJsonConverter),
+ typeof(global::Jina.JsonConverters.MixedEmbeddingInputTaskNullableJsonConverter),
typeof(global::Jina.JsonConverters.TextEmbeddingAPIInputInputTypeJsonConverter),
typeof(global::Jina.JsonConverters.TextEmbeddingAPIInputInputTypeNullableJsonConverter),
typeof(global::Jina.JsonConverters.TextEmbeddingAPIInputEmbeddingTypeJsonConverter),
diff --git a/src/libs/Jina/Generated/JsonSerializerContextTypes.g.cs b/src/libs/Jina/Generated/JsonSerializerContextTypes.g.cs
index 0d3c3ea..0e2874a 100644
--- a/src/libs/Jina/Generated/JsonSerializerContextTypes.g.cs
+++ b/src/libs/Jina/Generated/JsonSerializerContextTypes.g.cs
@@ -182,182 +182,190 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Jina.MixedEmbeddingInput? Type41 { get; set; }
+ public global::Jina.ImageEmbeddingInputTask? Type41 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type42 { get; set; }
+ public global::Jina.MixedEmbeddingInput? Type42 { get; set; }
///
///
///
- public global::Jina.AnyOf? Type43 { get; set; }
+ public global::System.Collections.Generic.IList>? Type43 { get; set; }
///
///
///
- public global::Jina.AnyOf>? Type44 { get; set; }
+ public global::Jina.AnyOf? Type44 { get; set; }
///
///
///
- public global::Jina.MixedEmbeddingInputEmbeddingType? Type45 { get; set; }
+ public global::Jina.AnyOf>? Type45 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type46 { get; set; }
+ public global::Jina.MixedEmbeddingInputEmbeddingType? Type46 { get; set; }
///
///
///
- public global::Jina.MixedEmbeddingInputEmbeddingTypeItem? Type47 { get; set; }
+ public global::System.Collections.Generic.IList? Type47 { get; set; }
///
///
///
- public global::Jina.HTTPValidationError? Type48 { get; set; }
+ public global::Jina.MixedEmbeddingInputEmbeddingTypeItem? Type48 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type49 { get; set; }
+ public global::Jina.MixedEmbeddingInputTask? Type49 { get; set; }
///
///
///
- public global::Jina.ValidationError? Type50 { get; set; }
+ public global::Jina.HTTPValidationError? Type50 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type51 { get; set; }
+ public global::System.Collections.Generic.IList? Type51 { get; set; }
///
///
///
- public global::Jina.AnyOf? Type52 { get; set; }
+ public global::Jina.ValidationError? Type52 { get; set; }
///
///
///
- public global::Jina.ImageExampleDoc? Type53 { get; set; }
+ public global::System.Collections.Generic.IList>? Type53 { get; set; }
///
///
///
- public global::Jina.ModelEmbeddingOutput? Type54 { get; set; }
+ public global::Jina.AnyOf? Type54 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type55 { get; set; }
+ public global::Jina.ImageExampleDoc? Type55 { get; set; }
///
///
///
- public global::Jina.ModelEmbeddingOutputDataItem? Type56 { get; set; }
+ public global::Jina.ModelEmbeddingOutput? Type56 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type57 { get; set; }
+ public global::System.Collections.Generic.IList? Type57 { get; set; }
///
///
///
- public float? Type58 { get; set; }
+ public global::Jina.ModelEmbeddingOutputDataItem? Type58 { get; set; }
///
///
///
- public global::Jina.ApiSchemasEmbeddingUsage? Type59 { get; set; }
+ public global::System.Collections.Generic.IList? Type59 { get; set; }
///
///
///
- public global::Jina.RankAPIInput? Type60 { get; set; }
+ public float? Type60 { get; set; }
///
///
///
- public global::Jina.AnyOf? Type61 { get; set; }
+ public global::Jina.ApiSchemasEmbeddingUsage? Type61 { get; set; }
///
///
///
- public global::Jina.ApiSchemasRankTextDoc? Type62 { get; set; }
+ public global::Jina.RankAPIInput? Type62 { get; set; }
///
///
///
- public global::Jina.AnyOf, global::System.Collections.Generic.IList>? Type63 { get; set; }
+ public global::Jina.AnyOf? Type63 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type64 { get; set; }
+ public global::Jina.ApiSchemasRankTextDoc? Type64 { get; set; }
///
///
///
- public global::Jina.RankingOutput? Type65 { get; set; }
+ public global::Jina.AnyOf, global::System.Collections.Generic.IList>? Type65 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type66 { get; set; }
+ public global::System.Collections.Generic.IList? Type66 { get; set; }
///
///
///
- public global::Jina.RankingOutputResult? Type67 { get; set; }
+ public global::Jina.RankingOutput? Type67 { get; set; }
///
///
///
- public long? Type68 { get; set; }
+ public global::System.Collections.Generic.IList? Type68 { get; set; }
///
///
///
- public double? Type69 { get; set; }
+ public global::Jina.RankingOutputResult? Type69 { get; set; }
///
///
///
- public global::Jina.RankingOutputResultDocument? Type70 { get; set; }
+ public long? Type70 { get; set; }
///
///
///
- public global::Jina.ApiSchemasRankUsage? Type71 { get; set; }
+ public double? Type71 { get; set; }
///
///
///
- public global::Jina.TextEmbeddingAPIInput? Type72 { get; set; }
+ public global::Jina.RankingOutputResultDocument? Type72 { get; set; }
///
///
///
- public global::Jina.TextEmbeddingAPIInputInputType? Type73 { get; set; }
+ public global::Jina.ApiSchemasRankUsage? Type73 { get; set; }
///
///
///
- public global::Jina.AnyOf>? Type74 { get; set; }
+ public global::Jina.TextEmbeddingAPIInput? Type74 { get; set; }
///
///
///
- public global::Jina.TextEmbeddingAPIInputEmbeddingType? Type75 { get; set; }
+ public global::Jina.TextEmbeddingAPIInputInputType? Type75 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type76 { get; set; }
+ public global::Jina.AnyOf>? Type76 { get; set; }
///
///
///
- public global::Jina.TextEmbeddingAPIInputEmbeddingTypeItem? Type77 { get; set; }
+ public global::Jina.TextEmbeddingAPIInputEmbeddingType? Type77 { get; set; }
///
///
///
- public global::Jina.TextExampleDoc? Type78 { get; set; }
+ public global::System.Collections.Generic.IList? Type78 { get; set; }
///
///
///
- public global::Jina.TrainingAPIInput? Type79 { get; set; }
+ public global::Jina.TextEmbeddingAPIInputEmbeddingTypeItem? Type79 { get; set; }
///
///
///
- public global::Jina.TrainingAPIInputAccess? Type80 { get; set; }
+ public global::Jina.TextExampleDoc? Type80 { get; set; }
///
///
///
- public global::Jina.AnyOf>, global::Jina.TextExampleDoc, global::Jina.ImageExampleDoc>? Type81 { get; set; }
+ public global::Jina.TrainingAPIInput? Type81 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type82 { get; set; }
+ public global::Jina.TrainingAPIInputAccess? Type82 { get; set; }
///
///
///
- public global::Jina.AnyOf? Type83 { get; set; }
+ public global::Jina.AnyOf>, global::Jina.TextExampleDoc, global::Jina.ImageExampleDoc>? Type83 { get; set; }
///
///
///
- public global::Jina.TrainingOutput? Type84 { get; set; }
+ public global::System.Collections.Generic.IList>? Type84 { get; set; }
///
///
///
- public global::Jina.ApiSchemasTrainingUsage? Type85 { get; set; }
+ public global::Jina.AnyOf? Type85 { get; set; }
+ ///
+ ///
+ ///
+ public global::Jina.TrainingOutput? Type86 { get; set; }
+ ///
+ ///
+ ///
+ public global::Jina.ApiSchemasTrainingUsage? Type87 { get; set; }
}
}
\ No newline at end of file
diff --git a/src/libs/Jina/openapi.yaml b/src/libs/Jina/openapi.yaml
index 9e720da..6db1f37 100644
--- a/src/libs/Jina/openapi.yaml
+++ b/src/libs/Jina/openapi.yaml
@@ -2,7 +2,7 @@ openapi: 3.0.1
info:
title: The Jina Embedding Serving API
description: This is the UniversalAPI to access all the Jina embedding models
- version: 0.1.92
+ version: 0.1.93
servers:
- url: https://api.jina.ai/
paths:
@@ -614,6 +614,16 @@ components:
title: Normalized
type: boolean
description: Flag to determine if the embeddings should be normalized to have a unit L2 norm
+ task:
+ title: Task
+ enum:
+ - retrieval.query
+ - retrieval.passage
+ - text-matching
+ - classification
+ - separation
+ type: string
+ description: "Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:\n- \"retrieval.query\": Specifies the given text is a query in a search or retrieval setting.\n- \"retrieval.passage\": Specifies the given text is a document in a search or retrieval setting.\n- \"text-matching\": Specifies the given text is used for Semantic Textual Similarity.\n- \"classification\": Specifies that the embedding is used for classification.\n- \"separation\": Specifies that the embedding is used for clustering.\n"
dimensions:
title: Dimensions
type: integer
@@ -704,6 +714,16 @@ components:
title: Normalized
type: boolean
description: Flag to determine if the embeddings should be normalized to have a unit L2 norm
+ task:
+ title: Task
+ enum:
+ - retrieval.query
+ - retrieval.passage
+ - text-matching
+ - classification
+ - separation
+ type: string
+ description: "Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:\n- \"retrieval.query\": Specifies the given text is a query in a search or retrieval setting.\n- \"retrieval.passage\": Specifies the given text is a document in a search or retrieval setting.\n- \"text-matching\": Specifies the given text is used for Semantic Textual Similarity.\n- \"classification\": Specifies that the embedding is used for classification.\n- \"separation\": Specifies that the embedding is used for clustering.\n"
dimensions:
title: Dimensions
type: integer