elasticsearch/docs/reference/inference/inference-shared.asciidoc
2024-07-01 10:12:16 +02:00

34 lines
No EOL
983 B
Text

tag::api-key-admonition[]
IMPORTANT: You need to provide the API key only once, during the {infer} model creation.
The <<get-inference-api>> does not retrieve your API key.
After creating the {infer} model, you cannot change the associated API key.
If you want to use a different API key, delete the {infer} model and recreate it with the same name and the updated API key.
end::api-key-admonition[]
tag::inference-id[]
The unique identifier of the {infer} endpoint.
end::inference-id[]
tag::request-per-minute-example[]
[source,text]
----
"rate_limit": {
"requests_per_minute": <<number_of_requests>>
}
----
end::request-per-minute-example[]
tag::service-settings[]
Settings used to install the {infer} model.
end::service-settings[]
tag::task-settings[]
Settings to configure the {infer} task.
These settings are specific to the `<task_type>` you specified.
end::task-settings[]
tag::task-type[]
The type of the {infer} task that the model will perform.
end::task-type[]