Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jan 7, 2025
1 parent 0172f3b commit 9928d48
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ SET VARIABLE openprompt_api_token = 'your_api_key_here';
SET VARIABLE openprompt_model_name = 'qwen2.5:0.5b';
```

Alternatively the following ENV variables can be used at runtime
```
OPEN_PROMPT_API_URL='http://localhost:11434/v1/chat/completions'
OPEN_PROMPT_API_TOKEN='your_api_key_here'
OPEN_PROMPT_MODEL_NAME='qwen2.5:0.5b'
OPEN_PROMPT_API_TIMEOUT='30'
```

For persistent usage, configure parameters using DuckDB SECRETS
```sql
CREATE SECRET IF NOT EXISTS open_prompt (
Expand All @@ -42,14 +50,6 @@ CREATE SECRET IF NOT EXISTS open_prompt (
);
```

Alternatively the following ENV variables can be used at runtime
```
OPEN_PROMPT_API_URL
OPEN_PROMPT_API_TOKEN
OPEN_PROMPT_MODEL_NAME
OPEN_PROMPT_API_TIMEOUT
```


### Usage
```sql
Expand Down

0 comments on commit 9928d48

Please sign in to comment.