File tree Expand file tree Collapse file tree 8 files changed +75
-33
lines changed Expand file tree Collapse file tree 8 files changed +75
-33
lines changed Original file line number Diff line number Diff line change 12
12
"url" : {
13
13
"paths" : [
14
14
{
15
- "path" : " /_inference/{task_type}/{model_id}" ,
15
+ "path" : " /_inference/{inference_id}" ,
16
+ "methods" : [" DELETE" ],
17
+ "parts" : {
18
+ "inference_id" : {
19
+ "type" : " string" ,
20
+ "description" : " The inference Id"
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "path" : " /_inference/{task_type}/{inference_id}" ,
16
26
"methods" : [" DELETE" ],
17
27
"parts" : {
18
28
"task_type" : {
19
29
"type" : " string" ,
20
- "description" : " The model task type"
30
+ "description" : " The task type"
21
31
},
22
- "model_id " : {
32
+ "inference_id " : {
23
33
"type" : " string" ,
24
34
"description" : " The model Id"
25
35
}
Original file line number Diff line number Diff line change 12
12
"url" : {
13
13
"paths" : [
14
14
{
15
- "path" : " /_inference/{task_type}/{model_id}" ,
15
+ "path" : " /_inference/{inference_id}" ,
16
+ "methods" : [" GET" ],
17
+ "parts" : {
18
+ "inference_id" : {
19
+ "type" : " string" ,
20
+ "description" : " The inference Id"
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "path" : " /_inference/{task_type}/{inference_id}" ,
16
26
"methods" : [" GET" ],
17
27
"parts" : {
18
28
"task_type" : {
19
29
"type" : " string" ,
20
- "description" : " The model task type"
30
+ "description" : " The task type"
21
31
},
22
- "model_id " : {
32
+ "inference_id " : {
23
33
"type" : " string" ,
24
- "description" : " The model Id"
34
+ "description" : " The inference Id"
25
35
}
26
36
}
27
37
}
Original file line number Diff line number Diff line change 7
7
"stability" : " experimental" ,
8
8
"visibility" : " public" ,
9
9
"headers" : {
10
- "accept" : [" application/json" ]
10
+ "accept" : [" application/json" ],
11
+ "content_type" : [" application/json" ]
11
12
},
12
13
"url" : {
13
14
"paths" : [
14
15
{
15
- "path" : " /_inference/{task_type}/{model_id}" ,
16
+ "path" : " /_inference/{inference_id}" ,
17
+ "methods" : [" POST" ],
18
+ "parts" : {
19
+ "inference_id" : {
20
+ "type" : " string" ,
21
+ "description" : " The inference Id"
22
+ }
23
+ }
24
+ },
25
+ {
26
+ "path" : " /_inference/{task_type}/{inference_id}" ,
16
27
"methods" : [" POST" ],
17
28
"parts" : {
18
29
"task_type" : {
19
30
"type" : " string" ,
20
- "description" : " The model task type"
31
+ "description" : " The task type"
21
32
},
22
- "model_id " : {
33
+ "inference_id " : {
23
34
"type" : " string" ,
24
- "description" : " The model Id"
35
+ "description" : " The inference Id"
25
36
}
26
37
}
27
38
}
Original file line number Diff line number Diff line change 7
7
"stability" : " experimental" ,
8
8
"visibility" : " public" ,
9
9
"headers" : {
10
- "accept" : [" application/json" ]
10
+ "accept" : [" application/json" ],
11
+ "content_type" : [" application/json" ]
11
12
},
12
13
"url" : {
13
14
"paths" : [
14
15
{
15
- "path" : " /_inference/{task_type}/{model_id}" ,
16
+ "path" : " /_inference/{inference_id}" ,
17
+ "methods" : [" PUT" ],
18
+ "parts" : {
19
+ "inference_id" : {
20
+ "type" : " string" ,
21
+ "description" : " The inference Id"
22
+ }
23
+ }
24
+ },
25
+ {
26
+ "path" : " /_inference/{task_type}/{inference_id}" ,
16
27
"methods" : [" PUT" ],
17
28
"parts" : {
18
29
"task_type" : {
19
30
"type" : " string" ,
20
- "description" : " The model task type"
31
+ "description" : " The task type"
21
32
},
22
- "model_id " : {
33
+ "inference_id " : {
23
34
"type" : " string" ,
24
- "description" : " The model Id"
35
+ "description" : " The inference Id"
25
36
}
26
37
}
27
38
}
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ import { TaskType } from '@inference/_types/TaskType'
30
30
export interface Request extends RequestBase {
31
31
path_parts : {
32
32
/**
33
- * The model task type
33
+ * The task type
34
34
*/
35
- task_type : TaskType
35
+ task_type ? : TaskType
36
36
/**
37
- * The unique identifier of the inference model.
37
+ * The inference Id
38
38
*/
39
- model_id : Id
39
+ inference_id : Id
40
40
}
41
41
}
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ import { TaskType } from '@inference/_types/TaskType'
30
30
export interface Request extends RequestBase {
31
31
path_parts : {
32
32
/**
33
- * The model task type
33
+ * The task type
34
34
*/
35
- task_type : TaskType
35
+ task_type ? : TaskType
36
36
/**
37
- * The unique identifier of the inference model.
37
+ * The inference Id
38
38
*/
39
- model_id : Id
39
+ inference_id : Id
40
40
}
41
41
}
Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ import { TaskSettings } from '@inference/_types/Services'
31
31
export interface Request extends RequestBase {
32
32
path_parts : {
33
33
/**
34
- * The model task type
34
+ * The task type
35
35
*/
36
- task_type : TaskType
36
+ task_type ? : TaskType
37
37
/**
38
- * The unique identifier of the inference model.
38
+ * The inference Id
39
39
*/
40
- model_id : Id
40
+ inference_id : Id
41
41
}
42
42
body : {
43
43
/**
Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ import { TaskType } from '@inference/_types/TaskType'
31
31
export interface Request extends RequestBase {
32
32
path_parts : {
33
33
/**
34
- * The model task type
34
+ * The task type
35
35
*/
36
- task_type : TaskType
36
+ task_type ? : TaskType
37
37
/**
38
- * The unique identifier of the inference model.
38
+ * The inference Id
39
39
*/
40
- model_id : Id
40
+ inference_id : Id
41
41
}
42
42
/** @codegen_name model_config */
43
43
body : ModelConfig
You can’t perform that action at this time.
0 commit comments