Skip to content

Commit e686ee6

Browse files
Merge remote-tracking branch 'origin/main' into feature/hugging-face-chat-completion-integration
2 parents dfa4ae4 + 42b4977 commit e686ee6

File tree

9 files changed

+66
-46
lines changed

9 files changed

+66
-46
lines changed

output/openapi/elasticsearch-openapi.json

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

output/openapi/elasticsearch-serverless-openapi.json

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

output/schema/schema.json

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

output/typescript/types.ts

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

specification/_json_spec/indices.get_data_stream_settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
"params": {
2727
"master_timeout": {
2828
"type": "time",
29-
"description": "Period to wait for a connection to the master node",
30-
"default": "30s"
29+
"description": "Period to wait for a connection to the master node"
3130
}
3231
}
3332
}

specification/_json_spec/indices.put_data_stream_settings.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@
3131
},
3232
"timeout": {
3333
"type": "time",
34-
"description": "Period to wait for a response",
35-
"default": "30s"
34+
"description": "Period to wait for a response"
3635
},
3736
"master_timeout": {
3837
"type": "time",
39-
"description": "Period to wait for a connection to the master node",
40-
"default": "30s"
38+
"description": "Period to wait for a connection to the master node"
4139
}
4240
},
4341
"body": {

specification/inference/_types/CommonTypes.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ export class MistralServiceSettings {
10121012
max_input_tokens?: integer
10131013
/**
10141014
* The name of the model to use for the inference task.
1015-
* Refer to the Mistral models documentation for the list of available text embedding models.
1015+
* Refer to the Mistral models documentation for the list of available models.
10161016
* @ext_doc_id mistral-api-models
10171017
*/
10181018
model: string
@@ -1024,7 +1024,9 @@ export class MistralServiceSettings {
10241024
}
10251025

10261026
export enum MistralTaskType {
1027-
text_embedding
1027+
text_embedding,
1028+
completion,
1029+
chat_completion
10281030
}
10291031

10301032
export enum MistralServiceType {

specification/inference/_types/TaskType.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ export enum TaskTypeHuggingFace {
9292
}
9393

9494
export enum TaskTypeMistral {
95-
text_embedding
95+
text_embedding,
96+
chat_completion,
97+
completion
9698
}
9799

98100
export enum TaskTypeOpenAI {

0 commit comments

Comments
 (0)