Skip to content
1 min read · 135 words

@nhtio/adk/batteries/specialists/caption/transformers_js

transformers.js Caption specialist battery — dual-environment ONNX image-to-text.

Remarks

Environment-neutral (Node + browser, ONNX Runtime auto-selected). Re-exports the adapter class, the validation schema + validateOptions wrapper, every option / pipeline type alias, and the battery-scoped exceptions.

References

BatteryLifecycleBattery

Re-exports BatteryLifecycleBattery


BatteryLifecycleCallback

Re-exports BatteryLifecycleCallback


BatteryLifecycleHooks

Re-exports BatteryLifecycleHooks


BatteryLifecyclePhase

Re-exports BatteryLifecyclePhase


BatteryLifecycleReport

Re-exports BatteryLifecycleReport


CreateTransformersJsCaptionPipeline

Re-exports CreateTransformersJsCaptionPipeline


DescribeOptions

Re-exports DescribeOptions


DescribeResult

Re-exports DescribeResult


E_INVALID_TRANSFORMERS_JS_CAPTION_OPTIONS

Re-exports E_INVALID_TRANSFORMERS_JS_CAPTION_OPTIONS


E_TRANSFORMERS_JS_CAPTION_ENGINE_ERROR

Re-exports E_TRANSFORMERS_JS_CAPTION_ENGINE_ERROR


TransformersJsCaptionAdapter

Re-exports TransformersJsCaptionAdapter


TransformersJsCaptionAdapterOptions

Re-exports TransformersJsCaptionAdapterOptions


TransformersJsCaptionDataType

Re-exports TransformersJsCaptionDataType


TransformersJsCaptionDeviceType

Re-exports TransformersJsCaptionDeviceType


TransformersJsCaptionModelSource

Re-exports TransformersJsCaptionModelSource


transformersJsCaptionOptionsSchema

Re-exports transformersJsCaptionOptionsSchema


TransformersJsCaptionPipeline

Re-exports TransformersJsCaptionPipeline


TransformersJsCaptionProgressCallback

Re-exports TransformersJsCaptionProgressCallback


validateOptions

Re-exports validateOptions