Module org.elasticsearch.xcore
Class InferenceActionProxy
java.lang.Object
org.elasticsearch.action.ActionType<InferenceAction.Response>
org.elasticsearch.xpack.core.inference.action.InferenceActionProxy
This action is used when making a REST request to the inference API. The transport handler
will then look at the task type in the params (or retrieve it from the persisted model if it wasn't
included in the params) to determine where this request should be routed. If the task type is chat completion
then it will be routed to the unified chat completion handler by creating the
UnifiedCompletionAction.
If not, it will be passed along to InferenceAction.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
NAME
- See Also:
-
-
Constructor Details
-
InferenceActionProxy
public InferenceActionProxy()
-