Fixing L5-EVALUATION Dependency Issues
For reference, you can check the following GitHub link: [L5-EVALUATIONS Notebook] (LangChainHCCourse1/course_1/Q&A_over_docs.ipynb at main · RutamBhagat/LangChainHCCourse1 · GitHub).
To resolve the dependency issues encountered in the original L5-EVALUATIONS, follow the steps below:
Steps to Fix Dependency Issues:
-
Create a
requirements.txt
File
Navigate to the directory where your L5-EVALUATION notebook is located. You can create therequirements.txt
file by selecting File > Open within the notebook interface. -
Add Package Dependencies
Open therequirements.txt
file and paste the following package dependencies:python-dotenv==1.0.1 openai==1.23.2 langchain-openai==0.1.3 langchain[openai,pandoc,serpapi,wikipedia]==0.1.16 pandas==2.2.2 docarray==0.40.0 langchain-experimental==0.0.57 numexpr==2.10.0 wikipedia==1.4.0 langchainhub==0.1.15 black[jupyter]==24.4.2
-
Install Dependencies
Reopen the L5-EVALUATION notebook and run the following command in a code cell:pip install -r requirements.txt
-
Refer to the Updated Notebook
Use the provided GitHub link to follow the updates in the notebook and ensure everything is working smoothly.