Skip to content

Import error #119

@Nileshsri2022

Description

@Nileshsri2022

ModuleNotFoundError Traceback (most recent call last)
/tmp/ipython-input-3447149011.py in <cell line: 0>()
4
5 # Original path append replaced for Colab compatibility
----> 6 from helper_functions import *
7 from evaluation.evalute_rag import *
8

/content/RAG_TECHNIQUES/helper_functions.py in
----> 1 from langchain.document_loaders import PyPDFLoader
2 from langchain.text_splitter import RecursiveCharacterTextSplitter
3 from langchain_openai import OpenAIEmbeddings
4 from langchain.vectorstores import FAISS
5 from langchain_core.pydantic_v1 import BaseModel, Field

ModuleNotFoundError: No module named 'langchain.document_loaders'


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions