Class InferenceService
java.lang.Object
org.elasticsearch.xpack.esql.inference.InferenceService
-
Constructor Summary
ConstructorsConstructorDescriptionInferenceService(Client client, ClusterService clusterService) Creates a new inference service with the given client. -
Method Summary
Modifier and TypeMethodDescriptionbulkInferenceRunner(BulkInferenceRunnerConfig bulkInferenceRunnerConfig) inferenceResolver(EsqlFunctionRegistry functionRegistry) Creates an inference resolver for resolving inference IDs in logical plans.Returns the settings for ES|QL inference features.
-
Constructor Details
-
InferenceService
Creates a new inference service with the given client.- Parameters:
client- the Elasticsearch client for inference operationsclusterService- used to read and update inference settings
-
-
Method Details
-
inferenceSettings
Returns the settings for ES|QL inference features.- Returns:
- the inference settings
-
inferenceResolver
Creates an inference resolver for resolving inference IDs in logical plans.- Parameters:
functionRegistry- the function registry to resolve functions- Returns:
- a new inference resolver instance
-
bulkInferenceRunner
-
bulkInferenceRunner
-