Skip to content

Commit a897861

Browse files
committed
fix secret
1 parent 1d76b15 commit a897861

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

examples/symbolic_regression/README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,10 @@ This example leverages **LLM-SRBench**, a benchmark specifically designed for La
1616

1717
Follow these steps to set up and run the symbolic regression benchmark example:
1818

19-
### 1. Configure API Secrets
19+
### 1. Configure API Keys
2020

21-
You'll need to provide your API credentials for the language models used by OpenEvolve.
21+
THe API key is read from the environment `OPENAI_API_KEY` by default. The primary and secondary model we used in testing LLM-SRBench is `gpt-4o` and `o3`. You can check `create_config()` in `data_api.py`.
2222

23-
- Create a `secrets.yaml` file in the example directory.
24-
- Add your API key and model preferences:
25-
26-
YAML
27-
28-
```
29-
# secrets.yaml
30-
api_key: <YOUR_OPENAI_API_KEY>
31-
api_base: "https://api.openai.com/v1" # Or your custom endpoint
32-
primary_model: "gpt-4o"
33-
secondary_model: "o3" # Or another preferred model for specific tasks
34-
```
35-
36-
Replace `<YOUR_OPENAI_API_KEY>` with your actual OpenAI API key.
3723

3824
### 2. Load Benchmark Tasks & Generate Initial Programs
3925

0 commit comments

Comments
 (0)