Skip to content

Commit 9f69d0a

Browse files
authored
[8.18] Remove unused EIS types (#5107) (#5123)
* Remove unused EIS types (#5107) They were removed in PR 4212. (cherry picked from commit dcfb0ff) # Conflicts: # output/schema/schema.json # specification/inference/_types/CommonTypes.ts * Fix merge
1 parent ba83e48 commit 9f69d0a

File tree

3 files changed

+37
-60
lines changed

3 files changed

+37
-60
lines changed

output/schema/schema.json

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@
5656
"Dangling type 'indices._types:StringFielddata'",
5757
"Dangling type 'indices._types:StringFielddataFormat'",
5858
"Dangling type 'indices.stats:ShardFielddata'",
59-
"Dangling type 'inference._types:EisServiceSettings'",
60-
"Dangling type 'inference._types:EisServiceType'",
61-
"Dangling type 'inference._types:EisTaskType'",
6259
"Dangling type 'ingest._types:PipelineFailure'",
6360
"Dangling type 'ml._types:CountFunction'",
6461
"Dangling type 'ml._types:DistinctCountFunction'",

specification/inference/_types/CommonTypes.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -754,26 +754,6 @@ export class CohereTaskSettings {
754754
truncate?: CohereTruncateType
755755
}
756756

757-
export class EisServiceSettings {
758-
/**
759-
* The name of the model to use for the inference task.
760-
*/
761-
model_id: string
762-
/**
763-
* This setting helps to minimize the number of rate limit errors returned.
764-
* By default, the `elastic` service sets the number of requests allowed per minute to `240` in case of `chat_completion`.
765-
*/
766-
rate_limit?: RateLimitSetting
767-
}
768-
769-
export enum EisTaskType {
770-
chat_completion
771-
}
772-
773-
export enum EisServiceType {
774-
elastic
775-
}
776-
777757
export class ElasticsearchServiceSettings {
778758
/**
779759
* Adaptive allocations configuration details.

0 commit comments

Comments
 (0)