langchain
langchain copied to clipboard
Community: integrate chat models with Yuan2.0
- integrate chat models with
Yuan2.0
- add a new doc for Yuan2.0 integration
Yuan2.0 is a new generation Fundamental Large Language Model developed by IEIT System. We have published all three models, Yuan 2.0-102B, Yuan 2.0-51B, and Yuan 2.0-2B.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
langchain | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 13, 2024 3:25pm |
I've deleted unnecessary import block and re-format related code block, it still failed in deployment, Can you give me some tips how to fix this? Thanks. @baskaryan @hwchase17
I've fixed some lint error. And I can see checks failed with:
from langchain_community.chat_models.yuan2 import ChatYuan2
File "/home/runner/work/langchain/langchain/libs/community/langchain_community/chat_models/yuan2.py", line 55, in <module>
from openai.types.chat import (
ModuleNotFoundError: No module named 'openai'
But I'm not familier with poetry
, my code depend on openai
package, but it seems that this package was not installed while check was running. How can I fix this?
Any suggestions would be appreciate. Thanks @baskaryan @hwchase17
Any suggestions or any updates here? @baskaryan @hwchase17
Thanks @baskaryan , I fixed some test error then.