Skip to content

Commit 0055e4e

Browse files
committed
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
1 parent ba83e48 commit 0055e4e

File tree

3 files changed

+58
-51
lines changed

3 files changed

+58
-51
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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@
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'",
59+
"Dangling type 'inference._types:DeepSeekServiceSettings'",
60+
"Dangling type 'inference._types:DeepSeekServiceType'",
6261
"Dangling type 'ingest._types:PipelineFailure'",
6362
"Dangling type 'ml._types:CountFunction'",
6463
"Dangling type 'ml._types:DistinctCountFunction'",

specification/inference/_types/CommonTypes.ts

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -754,24 +754,32 @@ export class CohereTaskSettings {
754754
truncate?: CohereTruncateType
755755
}
756756

757-
export class EisServiceSettings {
757+
export class DeepSeekServiceSettings {
758758
/**
759-
* The name of the model to use for the inference task.
759+
* A valid API key for your DeepSeek account.
760+
* You can find or create your DeepSeek API keys on the DeepSeek API key page.
761+
*
762+
* IMPORTANT: You need to provide the API key only once, during the inference model creation.
763+
* The get inference endpoint API does not retrieve your API key.
764+
* After creating the inference model, you cannot change the associated API key.
765+
* If you want to use a different API key, delete the inference model and recreate it with the same name and the updated API key.
766+
* @ext_doc_id deepseek-api-keys
767+
*/
768+
api_key: string
769+
/**
770+
* For a `completion` or `chat_completion` task, the name of the model to use for the inference task.
771+
*
772+
* For the available `completion` and `chat_completion` models, refer to the [DeepSeek Models & Pricing docs](https://api-docs.deepseek.com/quick_start/pricing).
760773
*/
761774
model_id: string
762775
/**
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`.
776+
* The URL endpoint to use for the requests. Defaults to `https://api.deepseek.com/chat/completions`.
765777
*/
766-
rate_limit?: RateLimitSetting
767-
}
768-
769-
export enum EisTaskType {
770-
chat_completion
778+
url?: string
771779
}
772780

773-
export enum EisServiceType {
774-
elastic
781+
export enum DeepSeekServiceType {
782+
deepseek
775783
}
776784

777785
export class ElasticsearchServiceSettings {

0 commit comments

Comments
 (0)