Downloading of Course Material

Please provide a way to download the jupyter notebooks used in the courses

Try File->Open and there should be a bunch if files to download there, hopefully.

1 Like

cool, it worked, thanks!

1 Like

for some notebooks, it’s actually getting directed to a blank page :frowning:

Hi @s-1-n-t-h

I guess downloading as Jupyter notebook seems to be tricky sometimes - at least w/ chrome as browser that I have used today.

But also for the recently published LLM courses, these steps seem to be working fine: Download Jupyter Notebook - #2 by Christian_Simonis

  1. Open notebook
  2. Go to top left, “File → Open…”
  3. Select checkbox next to your notebook and then click “Shutdown”.
  4. select the checkbox next to your notebook again and then click “Download”

For me it worked well also for the LangChain assignments.

Best regards
Christian

4 Likes

that’s awesome! thanks :smile:

When I ran the OpenAI chatbot API I had the option of setting the key in the environment or just assigning the string value. Operationally in the notebooks there was no difference. Using langchain, to use the provided notebook as-is we need to use the environment variable. You can either do that through the operating system itself, or through the Python code

import openai

openai.api_key = 'sk-my_private_key'

import os

os.environ['OPENAI_API_KEY'] = openai.api_key

otherwise, you have to explicitly pass it to the call to ChatOpenAI() for example.

I am pretty confident that your github repo violates the terms of use for this content. Your post is flagged for review by deeplearning.ai staff.

I’ve removed it :slight_smile: although it was really useful. Thanks