Skip to content

Binary

Binary prepares a file for another component to use, from its web address or from its content encoded as text (Base64). For example, to pass an audio file to a component that transcribes it or an image to one that describes it.

When to use it

  • Transcribing an audio file that arrives as a link.
  • Describing an image that arrives encoded from an API.
  • Passing a document received by a webhook to another component.

Configuration

FieldWhat it does
Operations (required)Where the file comes from: From URL (a web address), From Base64 (a full Base64 text) or From structured data (default, from its separate parts).
URLWith From URL, the file’s address.
Base64 StringWith From Base64, the encoded file.
File NameWith From structured data, the file name.
Mime TypeWith From structured data, the file type, for example application/pdf, image/jpeg or audio/mpeg.
Base64 ContentWith From structured data, the encoded content.

Advanced options

FieldWhat it does
Generates HashComputes a fingerprint of the file to identify it. Off by default.

Output

The Binary output is the file, to connect to components that receive files, such as audio transcription or image description components.

Example

A call centre receives links to recordings and wants to transcribe them.

  1. Add Binary with Operations set to From URL and connect the link to URL.
  2. Connect Binary to a transcription component.