Menu
Create an OpenAI inference endpoint
Create an OpenAI inference endpoint
PUT
/_inference/{task_type}/{openai_inference_id}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Create an OpenAI inference endpoint action (under inference).
- Fill in the fields below, then reference the result from later steps as
{{createAnOpenaiInferenceEndpoint.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"service": null,
"service_settings": null,
"chunking_settings": null,
"task_settings": null
}
Response
Returns 200 with a any. Read it in later steps with {{createAnOpenaiInferenceEndpoint.response.data.<field>}}.
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?