Open benmcmaster opened 9 months ago
In 01_document_loading, I'm getting this issue:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[10], line 2
1 from langchain.document_loaders.generic import GenericLoader
----> 2 from langchain.document_loaders.parsers import OpenAIWhisperParser
3 from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
ImportError: cannot import name 'OpenAIWhisperParser' from 'langchain.document_loaders.parsers' (/Users/<user>/miniconda3/envs/deeplearningai/lib/python3.11/site-packages/langchain/document_loaders/parsers/__init__.py)
My deeplearning
environment has langchain version 0.0.179.
Scratch that... I just did a pip freeze
instead of !pip freeze
inside of the embedded notebook and it worked. It looks like I need to upgrade langchain to 0.0.213.
It's been a few months since this course was created, and it's hard to do this course without knowing the versions. For some reason, in
01_document_loading
, the!pip freeze
command isn't working on this deeplearning.ai embedded notebook...It would be great if there was a requirements.txt associated with this repo... Is there a better way to get the versions of all of the packages?