From e424f9bd5acc75a7cffc329cd2b5bfa8347b312f Mon Sep 17 00:00:00 2001 From: Andriy Mulyar Date: Tue, 16 May 2023 12:58:05 -0400 Subject: [PATCH] Update gpt4all_chat.md (#597) Signed-off-by: Andriy Mulyar --- gpt4all-bindings/python/docs/gpt4all_chat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-bindings/python/docs/gpt4all_chat.md b/gpt4all-bindings/python/docs/gpt4all_chat.md index d99b5d1a..aa29ac59 100644 --- a/gpt4all-bindings/python/docs/gpt4all_chat.md +++ b/gpt4all-bindings/python/docs/gpt4all_chat.md @@ -24,7 +24,7 @@ import openai openai.api_base = "http://localhost:4891/v1" #openai.api_base = "https://api.openai.com/v1" -# Read the OpenAI API key from an environment variable +# Read the OpenAI API key from an environment variable (not needed if using local LLM) openai_api_key = os.environ.get("OPENAI_API_KEY") if not openai_api_key: raise ValueError("Please set the 'OPENAI_API_KEY' environment variable.")