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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: