Happydog

Results 5 comments of Happydog
trafficstars

> ❓**Problem:** Loading vectorstore that was created using version openai.py embedding that did not contain max_retries attributes in class. `https://github.com/hwchase17/langchain/blob/383c67c1b259ddd0faada1469abdfa7b04cfe481/langchain/embeddings/openai.py` > > 💡**Solution:** Rebuild my vectorstore and all was good....

I have the same warning. ``` 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...

I have the same issue here, and fixed by setting `SSL_CERT_FILE`. Here is my code: ```py import certifi import os from pytube import YouTube print(certifi.where()) os.environ["SSL_CERT_FILE"] = certifi.where() yt =...