Skip to content

Commit

Permalink
Updated READMEs.
Browse files Browse the repository at this point in the history
  • Loading branch information
afourney committed Feb 7, 2025
1 parent c45d701 commit 289b166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
26 changes: 1 addition & 25 deletions python/packages/agbench/benchmarks/GAIA/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,7 @@ Navigate to GAIA
cd benchmarks/GAIA
```

Create a file called ENV.json with the following (required) contents (If you're using MagenticOne)

```json
{
"BING_API_KEY": "REPLACE_WITH_YOUR_BING_API_KEY",
"HOMEPAGE": "https://www.bing.com/",
"WEB_SURFER_DEBUG_DIR": "/autogen/debug",
"CHAT_COMPLETION_KWARGS_JSON": "{\"api_version\": \"2024-02-15-preview\", \"azure_endpoint\": \"YOUR_ENDPOINT/\", \"model_capabilities\": {\"function_calling\": true, \"json_output\": true, \"vision\": true}, \"azure_ad_token_provider\": \"DEFAULT\", \"model\": \"gpt-4o-2024-05-13\"}",
"CHAT_COMPLETION_PROVIDER": "azure"
}
```

You can also use the openai client by replacing the last two entries in the ENV file by:

- `CHAT_COMPLETION_PROVIDER='openai'`
- `CHAT_COMPLETION_KWARGS_JSON` with the following JSON structure:

```json
{
"api_key": "REPLACE_WITH_YOUR_API",
"model": "gpt-4o-2024-05-13"
}
```

You might need to add additional packages to the requirements.txt file inside the Templates/MagenticOne folder.
Update `config.yaml` to point to your model host, as appropriate. The default configuration points to 'gpt-4o'.

Now initialize the tasks.

Expand Down
2 changes: 1 addition & 1 deletion python/packages/agbench/benchmarks/HumanEval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Navigate to HumanEval
cd benchmarks/HumanEval
```

Update `config.yaml` to point to your model host, as appropriate. The default configuration point to 'gpt-4o'
Update `config.yaml` to point to your model host, as appropriate. The default configuration points to 'gpt-4o'.


Now initialize the tasks.
Expand Down

0 comments on commit 289b166

Please sign in to comment.