arcticfly 187d6492f8 Reevaluate all prompt stats when scenario is hidden (#32)
* Reevaluate when scenario is hidden

* Add newline
2023-07-10 13:51:40 -06:00
2023-06-26 23:40:05 -07:00
2023-07-07 14:47:54 -07:00
2023-07-07 12:22:27 -07:00
2023-07-08 22:12:47 -07:00
2023-07-07 12:27:21 -07:00
2023-07-05 21:34:00 -07:00
2023-06-19 16:15:35 -07:00
2023-07-08 22:12:47 -07:00
2023-07-03 22:49:26 -07:00
2023-06-28 06:49:44 -07:00
2023-07-08 22:12:47 -07:00
2023-07-10 06:47:16 -07:00
2023-07-10 01:33:07 -06:00
2023-07-07 12:27:21 -07:00
2023-06-26 15:26:40 -07:00
2023-07-08 22:12:47 -07:00

OpenPipe

OpenPipe is a flexible playground for comparing and optimizing LLM prompts. It lets you quickly generate, test and compare candidate prompts with realistic sample data.

Live Demo: https://openpipe.ai

demo

Currently there's a public playground available at https://openpipe.ai/, but the recommended approach is to run locally.

High-Level Features

Configure Multiple Prompts
Set up multiple prompt configurations and compare their output side-by-side. Each configuration can be configured independently.

Visualize Responses
Inspect prompt completions side-by-side.

Test Many Inputs
OpenPipe lets you template a prompt. Use the templating feature to run the prompts you're testing against many potential inputs for broader coverage of your problem space than you'd get with manual testing.

🪄 Auto-generate Test Scenarios
OpenPipe includes a tool to generate new test scenarios based on your existing prompts and scenarios. Just click "Autogenerate Scenario" to try it out!

Prompt Validation and Typeahead
We use OpenAI's OpenAPI spec to automatically provide typeahead and validate prompts.

typeahead

Function Call Support
Natively supports OpenAI function calls on supported models.

function calls

Supported Models

OpenPipe currently supports GPT-3.5 and GPT-4. Wider model support is planned.

Running Locally

  1. Install Postgresql.
  2. Install NodeJS 20 (earlier versions will very likely work but aren't tested).
  3. Install pnpm: npm i -g pnpm
  4. Clone this repository: git clone https://github.com/openpipe/openpipe
  5. Install the dependencies: cd openpipe && pnpm install
  6. Create a .env file (cp .env.example .env) and enter your OPENAI_API_KEY.
  7. Update DATABASE_URL if necessary to point to your Postgres instance and run pnpm prisma db push to create the database.
  8. Start the app: pnpm dev.
  9. Navigate to http://localhost:3000
Description
Turn expensive prompts into cheap fine-tuned models
Readme Apache-2.0 5 MiB
Languages
TypeScript 88.9%
Python 8.9%
JavaScript 1.3%
PLpgSQL 0.4%
Shell 0.3%
Other 0.2%