Use ClearRun with other tools

Score answers from other AI SDKs, CI systems and automation tools.

Last updated

Start here

  1. How to use ClearRun in GitHub Actions

    Add one step that runs clearrun score with a threshold. If an answer scores too low, the step exits with code 1 and the check fails. ClearRun help center.

  2. How to score OpenAI answers with ClearRun

    Get the answer from OpenAI as usual, then pass the prompt and the answer text to clearrun.evaluate(). Step-by-step help from the ClearRun help center.

  3. How to score Anthropic Claude answers with ClearRun

    Get Claude's answer with the Anthropic SDK, join its text blocks, then pass the prompt and the text to clearrun.evaluate(). From the ClearRun help center.

  4. How to use ClearRun mock mode in Jest or Vitest tests

    Use createKernelClient({ forceMock: true }) in Jest or Vitest tests. It needs no key or network. More inside.

All Use with other tools articles

Other topics