> ## Documentation Index
> Fetch the complete documentation index at: https://au-2a4a5dc8.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# openlabel search

> Print the label sentences that best match a question.

```sh theme={null}
openlabel search <drug> "<question>" [--limit n]
```

```sh theme={null}
openlabel search dupixent "conjunctivitis and keratitis" --limit 3
```

```text theme={null}
Dupixent (dupilumab) · label v60

  §6.1 ¶151  Conjunctivitis and Keratitis
  §17 ¶9  Conjunctivitis, Keratitis, and Blepharitis
  §6 ¶3  Conjunctivitis and Keratitis [see Warnings and Precautions (5.2)]
```

| Option | Description |
| - | - |
| `--limit <n>` | How many sentences to print. Defaults to 8 |
| `--json` | Print `label` and `sentences` as JSON |

Search is keyword retrieval (BM25), not a model, so it needs no API key. It works best with the label's own vocabulary: "atopic dermatitis" rather than "eczema", "IGA 0 or 1" rather than "clear skin". Table rows match on their table's caption as well as their cells.

Short sentences that repeat the question's words, such as subheadings, tend to rank first. Raise `--limit` or rephrase to reach the sentences under them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.