Skip to content

Commit

Permalink
Adding timeout field
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-buttner committed Apr 10, 2024
1 parent 148fc73 commit 9ad4d70
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
18 changes: 16 additions & 2 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion specification/inference/inference/InferenceRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/


import { Duration } from '@_types/Time'
import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'
import { TaskType } from '@inference/_types/TaskType'
Expand All @@ -39,6 +40,13 @@ export interface Request extends RequestBase {
*/
inference_id: Id
}
query_parameters: {
/**
* Specifies the amount of time to wait for the inference request to complete.
* @server_default 30s
*/
timeout?: Duration
}
body: {
/**
* Query input, required for rerank task.
Expand Down

0 comments on commit 9ad4d70

Please sign in to comment.