Fix the openaichat example (#1377)

The example was wrong.
This commit is contained in:
yakigac
2023-03-02 11:24:32 +09:00
committed by GitHub
parent 4b5e850361
commit cfae03042d

View File

@@ -527,8 +527,8 @@ class OpenAIChat(LLM, BaseModel):
Example:
.. code-block:: python
from langchain.llms import OpenAI
openai = OpenAI(model_name="gpt-3.5-turbo")
from langchain.llms import OpenAIChat
openaichat = OpenAIChat(model_name="gpt-3.5-turbo")
"""
client: Any #: :meta private: