Skip to content
Open
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
1,119 changes: 651 additions & 468 deletions src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.CancelABatchJob.g.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,111 changes: 647 additions & 464 deletions src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.DownloadBatchJobOutput.g.cs

Large diffs are not rendered by default.

1,119 changes: 651 additions & 468 deletions src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.GetBatchJobStatus.g.cs

Large diffs are not rendered by default.

1,125 changes: 654 additions & 471 deletions src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.ListBatchJobs.g.cs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions src/libs/Jina/Generated/Jina.BatchEmbeddingsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public sealed partial class BatchEmbeddingsClient : global::Jina.IBatchEmbedding
#if DEBUG
= true;
#endif

/// <inheritdoc/>
public global::Jina.AutoSDKClientOptions Options { get; }
/// <summary>
///
/// </summary>
Expand All @@ -55,11 +58,37 @@ public BatchEmbeddingsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>? authorizations = null,
bool disposeHttpClient = true) : this(
httpClient,
baseUri,
authorizations,
options: null,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the BatchEmbeddingsClient.
/// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public BatchEmbeddingsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>? authorizations = null,
global::Jina.AutoSDKClientOptions? options = null,
bool disposeHttpClient = true)
{

HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
Authorizations = authorizations ?? new global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>();
Options = options ?? new global::Jina.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
1,033 changes: 608 additions & 425 deletions src/libs/Jina/Generated/Jina.HealthCheckClient.Health.g.cs

Large diffs are not rendered by default.

1,033 changes: 608 additions & 425 deletions src/libs/Jina/Generated/Jina.HealthCheckClient.Live.g.cs

Large diffs are not rendered by default.

1,033 changes: 608 additions & 425 deletions src/libs/Jina/Generated/Jina.HealthCheckClient.Ready.g.cs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions src/libs/Jina/Generated/Jina.HealthCheckClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public sealed partial class HealthCheckClient : global::Jina.IHealthCheckClient,
#if DEBUG
= true;
#endif

/// <inheritdoc/>
public global::Jina.AutoSDKClientOptions Options { get; }
/// <summary>
///
/// </summary>
Expand All @@ -50,11 +53,37 @@ public HealthCheckClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>? authorizations = null,
bool disposeHttpClient = true) : this(
httpClient,
baseUri,
authorizations,
options: null,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the HealthCheckClient.
/// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public HealthCheckClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>? authorizations = null,
global::Jina.AutoSDKClientOptions? options = null,
bool disposeHttpClient = true)
{

HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
Authorizations = authorizations ?? new global::System.Collections.Generic.List<global::Jina.EndPointAuthorization>();
Options = options ?? new global::Jina.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IBatchEmbeddingsClient
/// Cancel a pending or processing batch job.
/// </summary>
/// <param name="batchId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Jina.BatchStatus> CancelABatchJobAsync(
string batchId,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface IBatchEmbeddingsClient
/// Submit a batch of texts for asynchronous embedding processing.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Jina.BatchStatus> CreateABatchEmbeddingJobAsync(

global::Jina.BatchEmbeddingRequest request,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a batch embedding job<br/>
Expand Down Expand Up @@ -42,6 +44,7 @@ public partial interface IBatchEmbeddingsClient
/// <param name="webhookUrl">
/// URL to POST notification when job completes.
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Jina.BatchStatus> CreateABatchEmbeddingJobAsync(
Expand All @@ -52,6 +55,7 @@ public partial interface IBatchEmbeddingsClient
bool? normalized = default,
string? task = default,
string? webhookUrl = default,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IBatchEmbeddingsClient
/// Stream the error JSONL file for a completed batch job.
/// </summary>
/// <param name="batchId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<string> DownloadBatchJobErrorFileAsync(
string batchId,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IBatchEmbeddingsClient
/// Stream the output JSONL file for a completed batch job.
/// </summary>
/// <param name="batchId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<string> DownloadBatchJobOutputAsync(
string batchId,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IBatchEmbeddingsClient
/// Retrieve the status of a batch embedding job.
/// </summary>
/// <param name="batchId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Jina.BatchStatus> GetBatchJobStatusAsync(
string batchId,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ public partial interface IBatchEmbeddingsClient
/// <param name="limit">
/// Default Value: 20
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::Jina.BatchStatus>> ListBatchJobsAsync(
int? limit = default,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/Jina/Generated/Jina.IBatchEmbeddingsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public partial interface IBatchEmbeddingsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }
/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Jina.AutoSDKClientOptions Options { get; }


/// <summary>
///
Expand Down
2 changes: 2 additions & 0 deletions src/libs/Jina/Generated/Jina.IHealthCheckClient.Health.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ public partial interface IHealthCheckClient
/// Returns 200 if the service is running. This is the simplest health check<br/>
/// that only verifies the process is alive and can handle HTTP requests.
/// </summary>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<string> HealthAsync(
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
2 changes: 2 additions & 0 deletions src/libs/Jina/Generated/Jina.IHealthCheckClient.Live.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ public partial interface IHealthCheckClient
/// the event loop is not blocked and can handle requests.<br/>
/// A failed liveness probe typically results in container restart.
/// </summary>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<string> LiveAsync(
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
2 changes: 2 additions & 0 deletions src/libs/Jina/Generated/Jina.IHealthCheckClient.Ready.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ public partial interface IHealthCheckClient
/// 200 with status details if ready<br/>
/// 503 with failure details if not ready
/// </summary>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<string> ReadyAsync(
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/Jina/Generated/Jina.IHealthCheckClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ public partial interface IHealthCheckClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }
/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Jina.AutoSDKClientOptions Options { get; }


/// <summary>
///
Expand Down
5 changes: 5 additions & 0 deletions src/libs/Jina/Generated/Jina.IJinaClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ public partial interface IJinaClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }
/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Jina.AutoSDKClientOptions Options { get; }


/// <summary>
///
Expand Down
2 changes: 2 additions & 0 deletions src/libs/Jina/Generated/Jina.IModelListClient.GetModel.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ public partial interface IModelListClient
/// short form (`jina-embeddings-v3`).
/// </summary>
/// <param name="modelId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Jina.ModelInfo> GetModelAsync(
string modelId,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
2 changes: 2 additions & 0 deletions src/libs/Jina/Generated/Jina.IModelListClient.ListModels.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ public partial interface IModelListClient
/// Returns model metadata in OpenRouter-compatible format including<br/>
/// model IDs, input/output modalities, context lengths, and pricing.
/// </summary>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Jina.ModelListResponse> ListModelsAsync(
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/Jina/Generated/Jina.IModelListClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public partial interface IModelListClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }
/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::Jina.AutoSDKClientOptions Options { get; }


/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ public partial interface ISearchFoundationModelsClient
/// **Experimental** - This endpoint is for testing purposes only. We do not guarantee its availability, scalability, or production-readiness. It may be removed or changed without notice.<br/>
/// Generate a chat completion using jina-vlm (Vision Language Model). Supports text-only and multimodal (text + image) inputs in OpenAI-compatible format.
/// </summary>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<string> ChatCompletionsExperimentalAsync(
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,25 @@ public partial interface ISearchFoundationModelsClient
/// similarity matching, clustering, and classification tasks.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Jina.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Jina.EmbeddingResponse> EmbeddingsAsync(

global::Jina.EmbeddingsV1EmbeddingsPostRequest request,
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Embeddings<br/>
/// Generate embeddings for text, images, or documents.<br/>
/// World-class multimodal multilingual embeddings for semantic search,<br/>
/// similarity matching, clustering, and classification tasks.
/// </summary>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Jina.EmbeddingResponse> EmbeddingsAsync(
global::Jina.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Loading