Promptfoo Node.js Library

The Promptfoo Node.js package exposes the same evaluation engine programmatically so developers can embed evaluations, assertions, and dataset runs directly into JavaScript and TypeScript applications and pipelines.

Promptfoo Node.js Library is one of 6 APIs that Promptfoo publishes on the APIs.io network.

Tagged areas include SDK, Node.js, Library, and LLM Evaluation. The published artifact set on APIs.io includes API documentation and SDKs.

API entry from apis.yml

apis.yml Raw ↑
aid: promptfoo:promptfoo-library
name: Promptfoo Node.js Library
tags:
- SDK
- Node.js
- Library
- LLM Evaluation
humanURL: https://www.promptfoo.dev/docs/usage/node-package/
properties:
- url: https://www.promptfoo.dev/docs/usage/node-package/
  type: Documentation
- url: https://www.npmjs.com/package/promptfoo
  type: SDK
description: The Promptfoo Node.js package exposes the same evaluation engine programmatically so developers
  can embed evaluations, assertions, and dataset runs directly into JavaScript and TypeScript applications
  and pipelines.