You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "C:\Users\Sky IT Tec\Documents\2_news_research_tool_project\main.py", line 43, in
vectorstore_openai = FAISS.from_documents(docs, embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\vectorstores\base.py", line 417, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\vectorstores\faiss.py", line 602, in from_texts
embeddings = embedding.embed_documents(texts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\embeddings\openai.py", line 483, in embed_documents
return self._get_len_safe_embeddings(texts, engine=self.deployment)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\embeddings\openai.py", line 367, in _get_len_safe_embeddings
response = embed_with_retry(
^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\embeddings\openai.py", line 100, in embed_with_retry
retry_decorator = _create_retry_decorator(embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\embeddings\openai.py", line 47, in _create_retry_decorator
retry_if_exception_type(openai.error.Timeout)
The text was updated successfully, but these errors were encountered:
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "C:\Users\Sky IT Tec\Documents\2_news_research_tool_project\main.py", line 43, in
vectorstore_openai = FAISS.from_documents(docs, embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\vectorstores\base.py", line 417, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\vectorstores\faiss.py", line 602, in from_texts
embeddings = embedding.embed_documents(texts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\embeddings\openai.py", line 483, in embed_documents
return self._get_len_safe_embeddings(texts, engine=self.deployment)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\embeddings\openai.py", line 367, in _get_len_safe_embeddings
response = embed_with_retry(
^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\embeddings\openai.py", line 100, in embed_with_retry
retry_decorator = _create_retry_decorator(embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Sky IT Tec\anaconda3\Lib\site-packages\langchain\embeddings\openai.py", line 47, in _create_retry_decorator
retry_if_exception_type(openai.error.Timeout)
The text was updated successfully, but these errors were encountered: