From fb62dda1dad8c52478ae9087e5d4f736e0ded04d Mon Sep 17 00:00:00 2001 From: Kye Gomez <98760976+kyegomez@users.noreply.github.com> Date: Sun, 15 Sep 2024 20:14:13 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 857711fc..f3f648a8 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ api_key = os.getenv("OPENAI_API_KEY") # Create an instance of the OpenAIChat class model = OpenAIChat( - api_key=api_key, model_name="gpt-4o-mini", temperature=0.1 + openai_api_key=api_key, model_name="gpt-4o-mini", temperature=0.1 ) # Initialize the agent @@ -198,7 +198,7 @@ memory = ChromaDB( # Model model = OpenAIChat( - api_key=os.getenv("OPENAI_API_KEY"), + openai_api_key=os.getenv("OPENAI_API_KEY"), model_name="gpt-4o-mini", temperature=0.1, )