Interface TorchServeEndpointBuilderFactory.TorchServeBuilders
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder,EndpointRouteConfigurationBuilder
- Enclosing interface:
TorchServeEndpointBuilderFactory
public static interface TorchServeEndpointBuilderFactory.TorchServeBuilders
-
Method Summary
Modifier and TypeMethodDescriptionTorchServe (camel-torchserve) Provide access to PyTorch TorchServe servers to run inference with PyTorch models remotely Category: ai Since: 4.9 Maven coordinates: org.apache.camel:camel-torchservetorchserve(String path) TorchServe (camel-torchserve) Provide access to PyTorch TorchServe servers to run inference with PyTorch models remotely Category: ai Since: 4.9 Maven coordinates: org.apache.camel:camel-torchserve Syntax:torchserve:api/operationPath parameter: api (required) The TorchServe API There are 3 enums and the value can be one of: inference, management, metrics Path parameter: operation (required) The API operation There are 10 enums and the value can be one of: ping, predictions, explanations, register, scale-worker, describe, unregister, list, set-default, metricstorchserve(String componentName, String path) TorchServe (camel-torchserve) Provide access to PyTorch TorchServe servers to run inference with PyTorch models remotely Category: ai Since: 4.9 Maven coordinates: org.apache.camel:camel-torchserve Syntax:torchserve:api/operationPath parameter: api (required) The TorchServe API There are 3 enums and the value can be one of: inference, management, metrics Path parameter: operation (required) The API operation There are 10 enums and the value can be one of: ping, predictions, explanations, register, scale-worker, describe, unregister, list, set-default, metrics
-
Method Details
-
torchserve
TorchServe (camel-torchserve) Provide access to PyTorch TorchServe servers to run inference with PyTorch models remotely Category: ai Since: 4.9 Maven coordinates: org.apache.camel:camel-torchserve- Returns:
- the dsl builder for the headers' name.
-
torchserve
TorchServe (camel-torchserve) Provide access to PyTorch TorchServe servers to run inference with PyTorch models remotely Category: ai Since: 4.9 Maven coordinates: org.apache.camel:camel-torchserve Syntax:torchserve:api/operationPath parameter: api (required) The TorchServe API There are 3 enums and the value can be one of: inference, management, metrics Path parameter: operation (required) The API operation There are 10 enums and the value can be one of: ping, predictions, explanations, register, scale-worker, describe, unregister, list, set-default, metrics- Parameters:
path- api/operation- Returns:
- the dsl builder
-
torchserve
default TorchServeEndpointBuilderFactory.TorchServeEndpointBuilder torchserve(String componentName, String path) TorchServe (camel-torchserve) Provide access to PyTorch TorchServe servers to run inference with PyTorch models remotely Category: ai Since: 4.9 Maven coordinates: org.apache.camel:camel-torchserve Syntax:torchserve:api/operationPath parameter: api (required) The TorchServe API There are 3 enums and the value can be one of: inference, management, metrics Path parameter: operation (required) The API operation There are 10 enums and the value can be one of: ping, predictions, explanations, register, scale-worker, describe, unregister, list, set-default, metrics- Parameters:
componentName- to use a custom component name for the endpoint instead of the default namepath- api/operation- Returns:
- the dsl builder
-