ClearRun best practices

Where to put ClearRun, how to set thresholds, and how to talk about scores. Current npm packages are 1.2.0.

Last updated

Start here

  1. Where should ClearRun go in an AI pipeline?

    Put ClearRun right after the model answers and before anyone acts on it. Score the final answer with its prompt, then decide in code what a low score means.

  2. How to choose a ClearRun score threshold

    Score answers you already know are well argued and answers you know are not, then set the line between them. Step-by-step help from the ClearRun help center.

  3. What to do when an answer gets a low ClearRun score

    Treat a low score as a flag. The answer's stated confidence is ahead of the support in its reasoning. From the ClearRun help center.

  4. How to keep ClearRun API keys out of your repo

    Keep the key in an environment variable or in the file clearrun login saves. Never put it in a file you commit. Step-by-step help from the ClearRun help center.

All Best practices articles

Other topics