> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getpique.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# transcript_product

> Counts brand and product mentions in transcripts

## Overview

Counts brand and product name mentions in the transcript.

**Requires at least one configuration parameter** - Provide `brand_name` or `product_name`.

## Configuration

<ParamField body="config.brand_name" type="string">
  Brand name to count.
</ParamField>

<ParamField body="config.product_name" type="string">
  Product name to count.
</ParamField>

## Example Configuration

```json theme={null}
{
  "detector_name": "transcript_product",
  "config": {
    "brand_name": "Acme",
    "product_name": "Turbo Blender"
  }
}
```

## Result Schema

```json theme={null}
{
  "detector_name": "transcript_product",
  "pass_check": true,
  "score": 1.0,
  "rationale": "All names meet minimum: 'Acme': 2 mentions, 'Turbo Blender': 1 mentions",
  "metrics": {
    "exact_count": 3,
    "brand_count": 2,
    "product_count": 1,
    "partial_count": 0,
    "out_of_order_count": 0,
    "matches": {
      "exact": [[5, 7]],
      "brand": [[5, 6]],
      "product": [[6, 7]],
      "partial": [],
      "out_of_order": []
    },
    "matches_char": {
      "exact": [{"start": 42, "end": 54, "text": "Acme Turbo"}],
      "brand": [{"start": 42, "end": 46, "text": "Acme"}],
      "product": [{"start": 47, "end": 54, "text": "Turbo"}],
      "partial": [],
      "out_of_order": []
    },
    "brand_name": "Acme",
    "product_name": "Turbo Blender",
    "min_mentions": 1,
    "count_mode": "separate"
  }
}
```

## Interpreting Results

* **brand\_count/product\_count**: Mention counts per name.
* **matches**: Token-span matches by type (exact/brand/product).
* **matches\_char**: Character-span evidence for each match.
