langserve icon indicating copy to clipboard operation
langserve copied to clipboard

docs: update code example, fix deprecation warning

Open muhajirdev opened this issue 1 year ago • 1 comments

There's this warning when I run the code

LangChainDeprecationWarning: The class `langchain_community.chat_models.openai.ChatOpenAI` was deprecated in langchain-community 0.0.10 and will be removed in 0.2.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it run `pip install -U langchain-openai` and import as `from langchain_openai import ChatOpenAI`.

muhajirdev avatar Jan 20 '24 05:01 muhajirdev

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the username @muhajirdev on file. In order for us to review and merge your code, please complete the Individual Contributor License Agreement here https://forms.gle/AQFbtkWRoHXUgipM6 .

This process is done manually on our side, so after signing the form one of the maintainers will add you to the contributors list.

For more details about why we have a CLA and other contribution guidelines please see: https://github.com/langchain-ai/langserve/blob/main/CONTRIBUTING.md.

cla-bot[bot] avatar Jan 20 '24 05:01 cla-bot[bot]