From c669d9869364960b182e2a033d15b6fd7e7b6682 Mon Sep 17 00:00:00 2001 From: joaomsimoes <77450786+joaomsimoes@users.noreply.github.com> Date: Mon, 3 Jul 2023 11:23:12 +0300 Subject: [PATCH] Update get_started.mdx (#7005) typo in chat = ChatOpenAI(open_api_key="...") should be openai_api_key --- docs/snippets/modules/model_io/models/chat/get_started.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/snippets/modules/model_io/models/chat/get_started.mdx b/docs/snippets/modules/model_io/models/chat/get_started.mdx index b22be41f90..127283bb2e 100644 --- a/docs/snippets/modules/model_io/models/chat/get_started.mdx +++ b/docs/snippets/modules/model_io/models/chat/get_started.mdx @@ -16,7 +16,7 @@ If you'd prefer not to set an environment variable you can pass the key in direc ```python from langchain.chat_models import ChatOpenAI -chat = ChatOpenAI(open_api_key="...") +chat = ChatOpenAI(openai_api_key="...") ``` otherwise you can initialize without any params: