Files
elasticsearch-js/docs/reference/api/InferencePutOpenaiRequest.md
2025-05-27 15:30:21 -05:00

1.6 KiB

Interface InferencePutOpenaiRequest

Name Type Description
body string ({ [key: string]: any; } & { task_type?: never; openai_inference_id?: never; chunking_settings?: never; service?: never; service_settings?: never; task_settings?: never; })
chunking_settings InferenceInferenceChunkingSettings The chunking configuration object.
openai_inference_id Id The unique identifier of the inference endpoint.
querystring { [key: string]: any; } & { task_type?: never; openai_inference_id?: never; chunking_settings?: never; service?: never; service_settings?: never; task_settings?: never; } All values in querystring will be added to the request querystring.
service_settings InferenceOpenAIServiceSettings Settings used to install the inference model. These settings are specific to the openai service.
service InferenceOpenAIServiceType The type of service supported for the specified task type. In this case, openai.
task_settings InferenceOpenAITaskSettings Settings to configure the inference task. These settings are specific to the task type you specified.
task_type InferenceOpenAITaskType The type of the inference task that the model will perform. NOTE: The chat_completion task type only supports streaming and only through the _stream API.