0ptim / JellyChat

🪼 AI chatbot for the DeFiChain ecosystem.
https://defichainwiki.com/jellychat
MIT License
11 stars 2 forks source link

Update Chat Model Initialization #16

Closed 0ptim closed 1 year ago

0ptim commented 1 year ago

On python .\index_tester.py, this warning is printed to console:

UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI`