L4 - RetrievalQA seems unresponsive

I am working my way through L4 in the LangChain course, and everything seems to be running.

Toward the end of the lesson, though it seems to get stuck once we got to retrieval. It returns nothing. I don’t get any errors – rather nothing is returned. I have run through the code, line by line, again just to make sure I didn’t skip anything, which doesn’t seem to be the case.

This is what it looks like:

As you can see nothing shows when I ask it to display(Markdown(response)) in both cases.

Any suggestions?

Thanks in advance.
Kim

1 Like

You should possibly try again later or restart the kernel!

1 Like

Same here, been trying for 3 days. The chain is taking looooong time and at the end no response can be displayed. Very frustrating

Hello, I had a similar issue.

  • I have tried using HuggingFace embeddings instead of default OpenAI embeddings.
  • As I was using Google Colab, I had switched to GPU runtime

Please see the below Notebook on how to use the HuggingFace embeddings.

I’m also trying to get OpenAI paid account and will check if that will help to resolve this issue.

1 Like