diff --git a/output/schema/schema.json b/output/schema/schema.json index 3c6d4e8975..9587a8b130 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -164878,7 +164878,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L777-L811" + "specLocation": "inference/_types/CommonTypes.ts#L757-L791" }, { "kind": "enum", @@ -164891,7 +164891,7 @@ "name": "ElasticsearchServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L827-L829" + "specLocation": "inference/_types/CommonTypes.ts#L807-L809" }, { "kind": "interface", @@ -164914,7 +164914,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L813-L819" + "specLocation": "inference/_types/CommonTypes.ts#L793-L799" }, { "kind": "enum", @@ -164933,7 +164933,7 @@ "name": "ElasticsearchTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L821-L825" + "specLocation": "inference/_types/CommonTypes.ts#L801-L805" }, { "kind": "interface", @@ -164979,7 +164979,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L831-L857" + "specLocation": "inference/_types/CommonTypes.ts#L811-L837" }, { "kind": "enum", @@ -164992,7 +164992,7 @@ "name": "ElserServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L863-L865" + "specLocation": "inference/_types/CommonTypes.ts#L843-L845" }, { "kind": "enum", @@ -165005,7 +165005,7 @@ "name": "ElserTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L859-L861" + "specLocation": "inference/_types/CommonTypes.ts#L839-L841" }, { "kind": "enum", @@ -165018,7 +165018,7 @@ "name": "GoogleAiServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L890-L892" + "specLocation": "inference/_types/CommonTypes.ts#L870-L872" }, { "kind": "interface", @@ -165066,7 +165066,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L867-L883" + "specLocation": "inference/_types/CommonTypes.ts#L847-L863" }, { "kind": "enum", @@ -165082,7 +165082,7 @@ "name": "GoogleAiStudioTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L885-L888" + "specLocation": "inference/_types/CommonTypes.ts#L865-L868" }, { "kind": "interface", @@ -165156,7 +165156,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L894-L920" + "specLocation": "inference/_types/CommonTypes.ts#L874-L900" }, { "kind": "enum", @@ -165169,7 +165169,7 @@ "name": "GoogleVertexAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L938-L940" + "specLocation": "inference/_types/CommonTypes.ts#L918-L920" }, { "kind": "interface", @@ -165203,7 +165203,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L922-L931" + "specLocation": "inference/_types/CommonTypes.ts#L902-L911" }, { "kind": "enum", @@ -165219,7 +165219,7 @@ "name": "GoogleVertexAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L933-L936" + "specLocation": "inference/_types/CommonTypes.ts#L913-L916" }, { "kind": "interface", @@ -165267,7 +165267,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L942-L963" + "specLocation": "inference/_types/CommonTypes.ts#L922-L943" }, { "kind": "enum", @@ -165280,7 +165280,7 @@ "name": "HuggingFaceServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L969-L971" + "specLocation": "inference/_types/CommonTypes.ts#L949-L951" }, { "kind": "enum", @@ -165293,7 +165293,7 @@ "name": "HuggingFaceTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L965-L967" + "specLocation": "inference/_types/CommonTypes.ts#L945-L947" }, { "kind": "interface", @@ -166256,7 +166256,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L973-L1002" + "specLocation": "inference/_types/CommonTypes.ts#L953-L982" }, { "kind": "enum", @@ -166269,7 +166269,7 @@ "name": "JinaAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1032-L1034" + "specLocation": "inference/_types/CommonTypes.ts#L1012-L1014" }, { "kind": "enum", @@ -166288,7 +166288,7 @@ "name": "JinaAISimilarityType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1036-L1040" + "specLocation": "inference/_types/CommonTypes.ts#L1016-L1020" }, { "kind": "interface", @@ -166334,7 +166334,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1004-L1025" + "specLocation": "inference/_types/CommonTypes.ts#L984-L1005" }, { "kind": "enum", @@ -166350,7 +166350,7 @@ "name": "JinaAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1027-L1030" + "specLocation": "inference/_types/CommonTypes.ts#L1007-L1010" }, { "kind": "enum", @@ -166372,7 +166372,7 @@ "name": "JinaAITextEmbeddingTask", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1042-L1047" + "specLocation": "inference/_types/CommonTypes.ts#L1022-L1027" }, { "kind": "interface", @@ -166530,7 +166530,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1049-L1076" + "specLocation": "inference/_types/CommonTypes.ts#L1029-L1056" }, { "kind": "enum", @@ -166543,7 +166543,7 @@ "name": "MistralServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1082-L1084" + "specLocation": "inference/_types/CommonTypes.ts#L1062-L1064" }, { "kind": "enum", @@ -166556,7 +166556,7 @@ "name": "MistralTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1078-L1080" + "specLocation": "inference/_types/CommonTypes.ts#L1058-L1060" }, { "kind": "interface", @@ -166643,7 +166643,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1086-L1128" + "specLocation": "inference/_types/CommonTypes.ts#L1066-L1108" }, { "kind": "enum", @@ -166656,7 +166656,7 @@ "name": "OpenAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1144-L1146" + "specLocation": "inference/_types/CommonTypes.ts#L1124-L1126" }, { "kind": "interface", @@ -166678,7 +166678,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1130-L1136" + "specLocation": "inference/_types/CommonTypes.ts#L1110-L1116" }, { "kind": "enum", @@ -166697,7 +166697,7 @@ "name": "OpenAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1138-L1142" + "specLocation": "inference/_types/CommonTypes.ts#L1118-L1122" }, { "kind": "interface", @@ -167511,7 +167511,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1148-L1179" + "specLocation": "inference/_types/CommonTypes.ts#L1128-L1159" }, { "kind": "enum", @@ -167524,7 +167524,7 @@ "name": "VoyageAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1212-L1214" + "specLocation": "inference/_types/CommonTypes.ts#L1192-L1194" }, { "kind": "interface", @@ -167584,7 +167584,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1181-L1205" + "specLocation": "inference/_types/CommonTypes.ts#L1161-L1185" }, { "kind": "enum", @@ -167600,7 +167600,7 @@ "name": "VoyageAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1207-L1210" + "specLocation": "inference/_types/CommonTypes.ts#L1187-L1190" }, { "kind": "interface", @@ -167688,7 +167688,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1216-L1253" + "specLocation": "inference/_types/CommonTypes.ts#L1196-L1233" }, { "kind": "enum", @@ -167701,7 +167701,7 @@ "name": "WatsonxServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1259-L1261" + "specLocation": "inference/_types/CommonTypes.ts#L1239-L1241" }, { "kind": "enum", @@ -167714,7 +167714,7 @@ "name": "WatsonxTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1255-L1257" + "specLocation": "inference/_types/CommonTypes.ts#L1235-L1237" }, { "kind": "request", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index b6bfe1347c..807be35a42 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -56,9 +56,6 @@ "Dangling type 'indices._types:StringFielddata'", "Dangling type 'indices._types:StringFielddataFormat'", "Dangling type 'indices.stats:ShardFielddata'", - "Dangling type 'inference._types:EisServiceSettings'", - "Dangling type 'inference._types:EisServiceType'", - "Dangling type 'inference._types:EisTaskType'", "Dangling type 'ingest._types:PipelineFailure'", "Dangling type 'ml._types:CountFunction'", "Dangling type 'ml._types:DistinctCountFunction'", diff --git a/specification/inference/_types/CommonTypes.ts b/specification/inference/_types/CommonTypes.ts index eb9e58fcc5..2b34ff7d4e 100644 --- a/specification/inference/_types/CommonTypes.ts +++ b/specification/inference/_types/CommonTypes.ts @@ -754,26 +754,6 @@ export class CohereTaskSettings { truncate?: CohereTruncateType } -export class EisServiceSettings { - /** - * The name of the model to use for the inference task. - */ - model_id: string - /** - * This setting helps to minimize the number of rate limit errors returned. - * By default, the `elastic` service sets the number of requests allowed per minute to `240` in case of `chat_completion`. - */ - rate_limit?: RateLimitSetting -} - -export enum EisTaskType { - chat_completion -} - -export enum EisServiceType { - elastic -} - export class ElasticsearchServiceSettings { /** * Adaptive allocations configuration details.