Update get_started.mdx (#7005)

typo in chat = ChatOpenAI(open_api_key="...") should be openai_api_key
This commit is contained in:
joaomsimoes
2023-07-03 11:23:12 +03:00
committed by GitHub
parent 1cdb33a090
commit c669d98693

View File

@@ -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: