eval: Add support for reading from a .env file (#29426)
This PR adds support for the eval to read environment variables from a `.env` file located in the `crates/eval` directory. For instance, you can use it to set your Anthropic API key: ``` ANTHROPIC_API_KEY=<secret> ``` Release Notes: - N/A
This commit is contained in:
@@ -6,6 +6,8 @@ This eval assumes the working directory is the root of the repository. Run it wi
|
||||
cargo run -p eval
|
||||
```
|
||||
|
||||
The eval will optionally read a `.env` file in `crates/eval` if you need it to set environment variables, such as API keys.
|
||||
|
||||
## Explorer Tool
|
||||
|
||||
The explorer tool generates a self-contained HTML view from one or more thread
|
||||
|
||||
Reference in New Issue
Block a user