README.md•619 B
# Running phoenix-evals Examples
To run the TypeScript examples in this directory, you need to have `tsx` installed globally. `tsx` allows you to run TypeScript files directly without compiling them first.
## Install tsx globally
```sh
pnpm install tsx -g
```
## Run an example
You can run any example TypeScript file in this directory using `tsx` like this:
```sh
tsx <example-file>.ts
```
For example, to run `classification_example.ts`:
```sh
tsx classification_example.ts
```
Make sure you are in the `examples` directory when running the command, or provide the correct relative path to the example file.