diff --git a/docs/README.md b/docs/README.md index 30803ea..5d1da08 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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 ( @@ -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