Skip to content

Commit

Permalink
chore: update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfluegge authored Oct 7, 2023
1 parent 1a0fc0a commit e752dd7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,21 @@ the configuration process is initiated, where the embeddings and llms can be cho

## 🌐 Remote models

If remote models are preferred instead of local, some environment variables needs to be specified in advance.
If remote models are used, it is prompted to enter the following required environmnet variables which are then stored in `.config/codeqai/.env`.

### OpenAI

```bash
export OPENAI_API_KEY = "your OpenAI api key"
$OPENAI_API_KEY = "your OpenAI api key"
```

### Azure OpenAI

```bash
export OPENAI_API_TYPE = "azure"
export OPENAI_API_BASE = "https://<your-endpoint.openai.azure.com/"
export OPENAI_API_KEY = "your AzureOpenAI api key"
export OPENAI_API_VERSION = "2023-05-15"
$OPENAI_API_TYPE = "azure"
$OPENAI_API_BASE = "https://<your-endpoint.openai.azure.com/"
$OPENAI_API_KEY = "your AzureOpenAI api key"
$OPENAI_API_VERSION = "2023-05-15"
```

## 💡 How it works
Expand Down

0 comments on commit e752dd7

Please sign in to comment.