For the complete documentation index, see llms.txt. This page is also available as Markdown.

Claude

Overview

The Claude Plugin enables seamless integration of Anthropic's language and multimodal models into your annotation workflows on Ango Hub. This plugin is designed to support a wide range of use cases, including text processing, image understanding, and named entity recognition (NER).

Cover

Claude

Plugin Functionality

The Claude Plugin processes assets and generates outputs based on the selected mode, model, and prompt configuration.

  • Text Processing: Generate summaries, classifications, structured outputs, or rewritten content from text inputs.

  • Image Understanding: Analyze visual content and generate descriptions, extract text (OCR-style), or answer questions about images.

  • Named Entity Recognition (NER): Identify and extract structured entities such as names, organizations, locations, and dates from text.

Prompt Construction

The plugin dynamically constructs the final prompt using:

  • prompt_prefix defines the task or instruction

  • Input content comes from the asset or annotation

  • prompt_suffix refines output format or constraints

This flexible structure allows you to standardize instructions across all assets.

Supported Modes

Workflow-1: Text Processing (Asset)

Category Schema

Workflow-2: Text Processing (Text Tool)

Category Schema

Workflow-3: Image Understanding

Category Schema

Workflow-4: Named Entity Recognition

In the "ner" mode, class mapping is not required. The plugin automatically assigns entity labels based on the project's category schema, so no manual mapping configuration is needed.

Category Schema

Supported Data Types

  • Image (image-prompt)

  • Text (NER, text-prompt+asset source)

  • Any Data Type (text-prompt+text annotation source)

Supported Annotation Tools

  • Text

  • Entity

  • Radio

  • Checkbox

  • Single-Select Dropdown

  • Multi-Select Dropdown

Plugin Configuration

The Overwrite setting in model plugins controls whether existing annotations are replaced or kept. When enabled, the plugin replaces all existing annotations with new model predictions; when disabled, it simply adds the new results without deleting what’s already there.

In the class mapping, the Claude plugin uses two fields: “Prompt Body” and “Reply Text”.

  • Prompt Body refers to the text tool from which the main content of the prompt is retrieved.

  • Reply Text refers to the text tool where the Claude response will be written.

Claude plugin integration to the workflow

You may vary a number of settings related to the model plugin from the Config JSON field. Each option is detailed below:

  • "mode": Defines the operating mode of the plugin. The selected mode determines the type of input the plugin processes and the kind of task it performs.

    • Options:

      • "text-prompt"

      • "image-prompt"

      • "ner"

    • Example:

      • "mode": "text-prompt"

  • "model_name": Specifies the Anthropic model that the plugin will use for inference. See the Anthropic models and pricing pages for available options and details.

    • Options:

      • "claude-3-5-haiku-latest"

      • "claude-fable-5"

      • "claude-mythos-5"

      • "claude-opus-4-8"

      • "claude-sonnet-4-6"

      • "claude-haiku-4-5-20251001"

      • ...

    • Example:

      • "model_name": "claude-sonnet-4-6"

  • "anthropic_api_key": Specifies the Anthrophic API key used to authenticate requests sent by the plugin. You can generate and manage your API keys from the Anthropic dashboard.

    • Example:

      • "anthropic_api_key": "<YOUR_ANTHROPIC_API_KEY>"

  • "prompt_prefix": A text string added before the main input content when constructing the prompt sent to the model.

    • Example:

      • "prompt_prefix": "Extract all company names from the following text:"

  • "prompt_suffix": A text string added after the main input content when constructing the prompt sent to the model.

    • Example:

      • "prompt_suffix": "Return the result as a JSON array."

Last updated