langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Tutorial for langchain LLM library

Results 14 langchain issues
Sort by recently updated
recently updated
newest added

OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\apdir\AppData\Roaming\Python\Python311\site-packages\torch\lib\shm.dll" or one of its dependencies.

fixed the ipynb file

Edited the command to set OpenAI API Key

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...

Traceback (most recent call last): File "D:\news agent\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script exec(code, module.__dict__) File "D:\news agent\main.py", line 31, in final = qa.qaretriever(question,urls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\news agent\qaretriever.py", line 35, in...

File "C:\Users\Ravinder.Ahuja\Desktop\Generative AI Course wirh contents\Projects\langchain-main (1)\langchain-main\2_news_research_tool_project\mm2\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.__dict__) File "C:\Users\Ravinder.Ahuja\Desktop\Generative AI Course wirh contents\Projects\langchain-main (1)\langchain-main\2_news_research_tool_project\main.py", line 43, in vectorstore_openai = FAISS.from_documents(docs, embeddings) File "C:\Users\Ravinder.Ahuja\Desktop\Generative AI...

ValidationError: 1 validation error for OpenAI __root__ ConnectionPool.__init__() got an unexpected keyword argument 'socket_options' (type=type_error) The code snippet looks like import os from dotenv import load_dotenv import openai from langchain...

receiving following error when running requirements.txt : Running on Mac Silicon, MacOS Sonoma 14.2.3. Python3.11.8. Any suggestions please? Using cached python_magic-0.4.27-py2.py3-none-any.whl.metadata (5.8 kB) ERROR: Ignored the following versions that require...