Skip to content

Commit

Permalink
Update README to describe OPENAI_BASE_URL usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tijszwinkels committed Jul 8, 2024
1 parent d3dbd71 commit 0f0b5b0
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 @@ -131,6 +131,17 @@ Specify `--reference-models` multiple times to use multiple models as references
python bot.py --reference-models "mistralai/Mixtral-8x22B-Instruct-v0.1" --reference-models "Qwen/Qwen2-72B-Instruct"
```

## Other OpenAI Compatible API endpoints

To use different OpenAI-compatible API endpoints, set the OPENAI_BASE_URL and OPENAI_API_KEY variable.

```
export TOGETHER_API_KEY=
export OPENAI_BASE_URL="https://your-api-provider.com/v1"
export OPENAI_API_KEY="your-api-key-here"
```

This way, any 3rd party API can be used, including local models.

## Evaluation

Expand Down

0 comments on commit 0f0b5b0

Please sign in to comment.