Interface TorchServeConstants


public interface TorchServeConstants
Constants used in Camel TorchServe component.
  • Field Details

    • MODEL_NAME

      @Metadata(description="The name of model.", javaType="String") static final String MODEL_NAME
      See Also:
    • MODEL_VERSION

      @Metadata(description="The version of model.", javaType="String") static final String MODEL_VERSION
      See Also:
    • URL

      @Metadata(description="Model archive download url, support local file or HTTP(s) protocol. For S3, consider using pre-signed url.", javaType="String") static final String URL
      See Also:
    • REGISTER_OPTIONS

      @Metadata(description="Additional options for the register operation.", javaType="org.apache.camel.component.torchserve.client.model.RegisterOptions") static final String REGISTER_OPTIONS
      See Also:
    • SCALE_WORKER_OPTIONS

      @Metadata(description="Additional options for the scale-worker operation.", javaType="org.apache.camel.component.torchserve.client.model.ScaleWorkerOptions") static final String SCALE_WORKER_OPTIONS
      See Also:
    • UNREGISTER_OPTIONS

      @Metadata(description="Additional options for the unregister operation.", javaType="org.apache.camel.component.torchserve.client.model.UnregisterOptions") static final String UNREGISTER_OPTIONS
      See Also:
    • LIST_LIMIT

      @Metadata(description="The maximum number of items to return for the list operation. When this value is present, TorchServe does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a value, it defaults to 100.", javaType="Integer") static final String LIST_LIMIT
      See Also:
    • LIST_NEXT_PAGE_TOKEN

      @Metadata(description="The token to retrieve the next set of results for the list operation. TorchServe provides the token when the response from a previous call has more results than the maximum page size.", javaType="String") static final String LIST_NEXT_PAGE_TOKEN
      See Also:
    • METRICS_NAME

      @Metadata(description="Names of metrics to filter.", javaType="String") static final String METRICS_NAME
      See Also: