logo

Beta

Get Started

Introduction

Core Concepts

Utilities

Integrations

Run a Singular Task

copy markdown

Interfaze lets you invoke specific tasks directly via the system message. Use this when you want faster results with guaranteed task execution regardless of how the prompt is phrased — bypassing Interfaze's default flow where a final model summarizes everything and returning the raw task output instead.

Available tasks

task NameDescription
web_searchWeb search
object_detectionDetect objects in images
speech_to_textSpeech to text transcription
scraperExtract structured data from web pages
ocrOptical character recognition

Examples

OpenAI SDK

LangChain SDK

Vercel AI SDK

...

Example Output

...

The output is the raw task result — no summarization or rephrasing is applied. The structure varies depending on the task invoked.

Behavior

  • When a task is requested via the system prompt, the requested task is always executed — the model's task selection logic is bypassed.
  • The response contains the raw task output directly. The final summarization model is skipped, so you get the unprocessed result from the task.
  • The response follows the standard OpenAI-compatible JSON structure with proper usage metadata.

Limitations

  • Only one <task> tag is parsed from the system message (the first match).
  • If a non-empty schema is provided alongside a <task> tag, the schema takes priority — the singular task execution is skipped and the model generates a structured response instead.
  • The response is the raw task output, not a natural language summary — plan your downstream processing accordingly.