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 Type
    Method
    Description
    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
    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/operation Path 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
    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/operation Path 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/operation Path 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

      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/operation Path 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 name
      path - api/operation
      Returns:
      the dsl builder