AI Vision Processor
3 min
the ai vision processor sends an image through an analytics flow to an ai model and returns the model's response use it when a flow needs to interpret an image, for example a photo captured from an industrial camera or an image included in an incoming payload why use the ai vision processor use the ai vision processor when the data you want to interpret is an image rather than text or numeric values, for example inspecting a captured photo for a defect or reading a value off a physical gauge the processor's parameters let you tune the model's behavior for your use case set a system prompt to enforce a consistent tone, persona, or domain expertise across every response adjust temperature to trade consistency for creativity or the reverse parameters note file path always takes priority over a base64 image in the incoming payload to process an image from the payload, leave file path blank parameter details name the unique identifier for this instance of the ai vision processor ai model the ai model used to generate responses http timeout the maximum time (in seconds) to wait for a response from the model before the request times out and is ignored file path for image the path to the image file to process accepts jpg , png , and gif files if left blank, the model expects a base64 encoded image from the input payload instead if set, file path always supersedes an incoming payload image system prompt a predefined instruction that shapes the model's tone, persona, or domain expertise for every response temperature controls the randomness of responses lower values (for example, 0 2 ) produce more focused, deterministic output higher values (for example, 1 8 ) produce more varied, creative output default 1 0 max completion tokens limits the number of tokens the model can generate in a single response if not set, the model's default applies timer interval sets a timer (in milliseconds) that continuously publishes the output when no event triggers a response enter 0 to disable the timer pass through value determines whether the processor's output is the model's response or the original unchanged input value related topics analytics flows and processors docid\ xuohhgbpbuh0npti1xtwx ai models docid\ wpy1bci1y2gxjtzfavdm9