Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Update OpenAPI specification for Jina Embedding Serving API to 0.1.94 #82

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/libs/Jina/Generated/Jina.Models.ImageEmbeddingInput.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public sealed partial class ImageEmbeddingInput
public global::Jina.AnyOf<global::Jina.ImageEmbeddingInputEmbeddingType?, global::System.Collections.Generic.IList<global::Jina.ImageEmbeddingInputEmbeddingTypeItem>>? EmbeddingType { get; set; }

/// <summary>
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm<br/>
/// Default Value: true
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("normalized")]
public bool? Normalized { get; set; }
Expand Down Expand Up @@ -83,7 +84,8 @@ public sealed partial class ImageEmbeddingInput
/// The format in which you want the embeddings to be returned.Possible value are `float`, `base64`, `binary`, `ubinary` or a list containing any of them. Defaults to `float`
/// </param>
/// <param name="normalized">
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm<br/>
/// Default Value: true
/// </param>
/// <param name="task">
/// Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:<br/>
Expand Down
6 changes: 4 additions & 2 deletions src/libs/Jina/Generated/Jina.Models.MixedEmbeddingInput.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public sealed partial class MixedEmbeddingInput
public global::Jina.AnyOf<global::Jina.MixedEmbeddingInputEmbeddingType?, global::System.Collections.Generic.IList<global::Jina.MixedEmbeddingInputEmbeddingTypeItem>>? EmbeddingType { get; set; }

/// <summary>
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm<br/>
/// Default Value: true
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("normalized")]
public bool? Normalized { get; set; }
Expand Down Expand Up @@ -82,7 +83,8 @@ public sealed partial class MixedEmbeddingInput
/// The format in which you want the embeddings to be returned.Possible value are `float`, `base64`, `binary`, `ubinary` or a list containing any of them. Defaults to `float`
/// </param>
/// <param name="normalized">
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm
/// Flag to determine if the embeddings should be normalized to have a unit L2 norm<br/>
/// Default Value: true
/// </param>
/// <param name="task">
/// Used to convey intended downstream application to help the model produce better embeddings. Must be one of the following values:<br/>
Expand Down
4 changes: 3 additions & 1 deletion src/libs/Jina/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.93
version: 0.1.94
servers:
- url: https://api.jina.ai/
paths:
Expand Down Expand Up @@ -614,6 +614,7 @@ components:
title: Normalized
type: boolean
description: Flag to determine if the embeddings should be normalized to have a unit L2 norm
default: true
task:
title: Task
enum:
Expand Down Expand Up @@ -714,6 +715,7 @@ components:
title: Normalized
type: boolean
description: Flag to determine if the embeddings should be normalized to have a unit L2 norm
default: true
task:
title: Task
enum:
Expand Down
Loading