Find answers from the community

Home
Members
Arun Chauhan
A
Arun Chauhan
Offline, last seen 3 months ago
Joined September 25, 2024
A
Arun Chauhan
·

Mp4

Yes sure, I'll try this out also after transcripting first.
To give a more better picture of my problem, let me elaborate it more.

I took one youtube video link which was in English. I loaded it & indexed it using GPTSimpleVectorIndex & then queried the index according to my question. This worked well.

YoutubeTranscriptReader = download_loader("YoutubeTranscriptReader")loader = YoutubeTranscriptReader()documents = loader.load_data(ytlinks=['...'])index = GPTSimpleVectorIndex.from_documents(documents)

Now next part is I downloaded this youtube video in my local and saved it as myyoutubevideo.mp4 in the same directory where this code script is present. I'd like to perform the same task i.e. loading, indexing & querying, but I don't know how to implement that from local storage
2 comments
A
L
My dear folks, I've a query while using SimpleDirectoryReader. I'd like to load a local file example - demo.pdf and then I'd like to index it and query some questions to get the response.

But the file is not getting loaded, even I kept this pdf file in same directory but somehow it's not picking.
When printing documents : print(documents) it's showing [] (blank)

Please guide. Let me know what I'm missing.

documents = SimpleDirectoryReader('demo.pdf').load_data()
2 comments
A
L