diff --git a/README.md b/README.md index 087d64de..7679bfff 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,14 @@ To work with OpenAI’s GPT 3.5 or GPT-4 models you need a paid [OpenAI API key] **Note**: This is different from being a “ChatGPT Plus” subscriber. -Add the `api_key` to the config.yaml or pass via the CLI with --api-key. +Pass your API key to holmes with the `--api-key` cli argument: + +``` +holmes ask --api-key="..." "what pods are crashing in my cluster and why?" +``` + +Alternatively, you can set the OPENAI_API_KEY environment variable or save the API key in a HolmesGPT config file. +
@@ -193,6 +200,9 @@ To work with Azure AI, you need the [Azure OpenAI](https://learn.microsoft.com/e holmes ask "what pods are unhealthy and why?" --llm=azure --api-key= --azure-endpoint='' ``` +Alternatively, you can set the AZURE_OPENAI_API_KEY environment variable or save the API key in a HolmesGPT config file. + +