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
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ public void setParams(@Nullable final EmbeddingsModelParams params) {
* Set the timeout of this {@link EmbeddingsModelDetails} instance and return the same instance.
*
* @param timeout Timeout for the Embeddings request in seconds. This parameter is currently
* ignored for Vertex AI models. Minimum: 1 Maximum: 1200
* ignored for Vertex AI models. Values above 600s may not be honored due to infrastructure
* connection limits; in practice this primarily affects non-streaming calls where the
* connection may be idle while waiting for a response. Minimum: 1 Maximum: 1200
* @return The same instance of this {@link EmbeddingsModelDetails} class
*/
@Nonnull
Expand All @@ -157,7 +159,9 @@ public EmbeddingsModelDetails timeout(@Nullable final Integer timeout) {

/**
* Timeout for the Embeddings request in seconds. This parameter is currently ignored for Vertex
* AI models. minimum: 1 maximum: 1200
* AI models. Values above 600s may not be honored due to infrastructure connection limits; in
* practice this primarily affects non-streaming calls where the connection may be idle while
* waiting for a response. minimum: 1 maximum: 1200
*
* @return timeout The timeout of this {@link EmbeddingsModelDetails} instance.
*/
Expand All @@ -170,7 +174,9 @@ public Integer getTimeout() {
* Set the timeout of this {@link EmbeddingsModelDetails} instance.
*
* @param timeout Timeout for the Embeddings request in seconds. This parameter is currently
* ignored for Vertex AI models. Minimum: 1 Maximum: 1200
* ignored for Vertex AI models. Values above 600s may not be honored due to infrastructure
* connection limits; in practice this primarily affects non-streaming calls where the
* connection may be idle while waiting for a response. Minimum: 1 Maximum: 1200
*/
public void setTimeout(@Nullable final Integer timeout) {
this.timeout = timeout;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ public void setParams(@Nullable final Map<String, Object> params) {
* Set the timeout of this {@link LLMModelDetails} instance and return the same instance.
*
* @param timeout Timeout for the LLM request in seconds. This parameter is currently ignored for
* Vertex AI models. Minimum: 1 Maximum: 1200
* Vertex AI models. Values above 600s may not be honored due to infrastructure connection
* limits; in practice this primarily affects non-streaming calls where the connection may be
* idle while waiting for a response. Minimum: 1 Maximum: 1200
* @return The same instance of this {@link LLMModelDetails} class
*/
@Nonnull
Expand All @@ -180,7 +182,9 @@ public LLMModelDetails timeout(@Nullable final Integer timeout) {

/**
* Timeout for the LLM request in seconds. This parameter is currently ignored for Vertex AI
* models. minimum: 1 maximum: 1200
* models. Values above 600s may not be honored due to infrastructure connection limits; in
* practice this primarily affects non-streaming calls where the connection may be idle while
* waiting for a response. minimum: 1 maximum: 1200
*
* @return timeout The timeout of this {@link LLMModelDetails} instance.
*/
Expand All @@ -193,7 +197,9 @@ public Integer getTimeout() {
* Set the timeout of this {@link LLMModelDetails} instance.
*
* @param timeout Timeout for the LLM request in seconds. This parameter is currently ignored for
* Vertex AI models. Minimum: 1 Maximum: 1200
* Vertex AI models. Values above 600s may not be honored due to infrastructure connection
* limits; in practice this primarily affects non-streaming calls where the connection may be
* idle while waiting for a response. Minimum: 1 Maximum: 1200
*/
public void setTimeout(@Nullable final Integer timeout) {
this.timeout = timeout;
Expand Down
8 changes: 5 additions & 3 deletions orchestration/src/main/resources/spec/orchestration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ info:
title: Orchestration v2
description: Orchestration is an inference service which provides common additional capabilities for business AI scenarios, such as content filtering and data masking. At the core of the service is the LLM module which allows for an easy, harmonized access to the language models of gen AI hub. The service is designed to be modular and extensible, allowing for the addition of new modules in the future. Each module can be configured independently and at runtime, allowing for a high degree of flexibility in the orchestration of AI services.
version: 0.110.12
contact:
name: SAP AI Core
x-sap-shortText: Enhance content generation with additional capabilities for business AI scenarios.
servers:
- url: https://api.ai.{region}.ml.hana.ondemand.com/v2/inference/deployments/{orchestration_deployment_id}/v2
Expand Down Expand Up @@ -174,7 +176,7 @@ paths:
value:
request_id: "11c785a2-09c7-4b12-b86e-3a3ff7ece72e"
final_result:
object: "dict"
object: "list"
data:
- object: "embedding"
embedding:
Expand Down Expand Up @@ -329,7 +331,7 @@ components:
params:
$ref: "#/components/schemas/EmbeddingsModelParams"
timeout:
description: Timeout for the Embeddings request in seconds. This parameter is currently ignored for Vertex AI models.
description: Timeout for the Embeddings request in seconds. This parameter is currently ignored for Vertex AI models. Values above 600s may not be honored due to infrastructure connection limits; in practice this primarily affects non-streaming calls where the connection may be idle while waiting for a response.
type: integer
default: 600
minimum: 1
Expand Down Expand Up @@ -1282,7 +1284,7 @@ components:
stream_options:
include_usage: true
timeout:
description: Timeout for the LLM request in seconds. This parameter is currently ignored for Vertex AI models.
description: Timeout for the LLM request in seconds. This parameter is currently ignored for Vertex AI models. Values above 600s may not be honored due to infrastructure connection limits; in practice this primarily affects non-streaming calls where the connection may be idle while waiting for a response.
type: integer
default: 600
minimum: 1
Expand Down