Skip to content

Commit

Permalink
Merge pull request #82 from tryAGI/bot/update-openapi_202411201522
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 20, 2024
2 parents 15e737b + 5495e53 commit 4bdec6b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
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

0 comments on commit 4bdec6b

Please sign in to comment.