New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@empiricalrun/cli

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@empiricalrun/cli

[![npm](https://img.shields.io/npm/v/@empiricalrun/cli)](https://npmjs.com/package/@empiricalrun/cli) [![Discord](https://dcbadge.vercel.app/api/server/NeR6jj8dw9?style=flat&compact=true)](https://discord.gg/NeR6jj8dw9)

  • 0.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

empirical.run CLI

npm Discord

Empirical is the fastest way to test different LLMs, prompts and other model configurations, across all the scenarios that matter for your application.

With Empirical, you can:

  • Run your test datasets locally against off-the-shelf models
  • Test your own custom models and RAG applications (see how-to)
  • Reports to view, compare, analyze outputs on a web UI
  • Score your outputs with scoring functions
  • Run tests on CI/CD (coming soon!)

Watch demo video | See all docs

Usage

Empirical bundles together a CLI and a web app. The CLI handles running tests and the web app visualizes results.

Everything runs locally, with a JSON configuration file, empiricalrc.json.

Required: Node.js 20+ needs to be installed on your system.

Start with a basic example

This example converts incoming unstructured user messages into structured JSON objects using an LLM.

  1. Use the CLI to create a sample configuration file called empiricalrc.json.

    npx @empiricalrun/cli init
    
  2. Run the test samples against the models with the run command.

    npx @empiricalrun/cli run
    
  3. Use the ui command to open the reporter web app and see side-by-side results.

    npx @empiricalrun/cli ui
    

Make it yours

Edit the empiricalrc.json file to make Empirical work for your use-case.

FAQs

Package last updated on 01 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc