Skip to content

Commit fe84f79

Browse files
committed
[Inference API] Make contrib.
1 parent 15fef28 commit fe84f79

File tree

6 files changed

+250
-13
lines changed

6 files changed

+250
-13
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 31 additions & 0 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: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 85 additions & 4 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: 85 additions & 4 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: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/inference/_types/Services.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@
1818
*/
1919

2020
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
21-
import { TaskType } from '../_types/TaskType'
2221
import { integer } from '@_types/Numeric'
22+
import { TaskType } from '../_types/TaskType'
2323

2424
/**
2525
* Configuration options when storing the inference endpoint
2626
*/
2727
export class InferenceEndpoint {
28+
/**
29+
* Chunking configuration object
30+
*/
31+
chunking_settings?: InferenceChunkingSettings
2832
/**
2933
* The service type
3034
*/
@@ -77,10 +81,11 @@ export class InferenceChunkingSettings extends InferenceEndpoint {
7781
* @server_default 1
7882
*/
7983
sentence_overlap?: integer
80-
/**
81-
* Specifies the chunking strategy
82-
* It could be either `sentence` or `word`
83-
*/
84+
/**
85+
* Specifies the chunking strategy
86+
* It could be either `sentence` or `word`
87+
* @server_default sentence
88+
*/
8489
strategy?: string
8590
}
8691

0 commit comments

Comments
 (0)