Skip to content

Commit

Permalink
Add local build instructions. Closes promptfoo#250
Browse files Browse the repository at this point in the history
  • Loading branch information
typpo committed Oct 27, 2023
1 parent 4ef6a72 commit 3e59842
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,17 @@ We support OpenAI's API as well as a number of open-source models. It's also to

## Development

Here's how to build and run locally:

```sh
git clone https://github.com/promptfoo/promptfoo.git
cd promptfoo
npm i
cd path/to/experiment-with-promptfoo # contains your promptfooconfig.yaml
npx path/to/promptfoo-source eval
```

Contributions are welcome! Please feel free to submit a pull request or open an issue.

`promptfoo` includes several npm scripts to make development easier and more efficient. To use these scripts, run `npm run <script_name>` in the project directory.
Expand Down

0 comments on commit 3e59842

Please sign in to comment.