ChatYuan2()Yuan2.0 Chat models API.
To use, you should have the openai-python package installed, if package
not installed, using pip install openai to install it. The
environment variable YUAN2_API_KEY set to your API key, if not set,
everyone can access apis.
Any parameters that are valid to be passed to the openai.create call can be passed in, even if not explicitly saved on this class.
Example:
.. code-block:: python
from langchain_community.chat_models import ChatYuan2
chat = ChatYuan2()