Notebook dependency install

When authoring AI/LLM tutorials in Jupyter notebooks, ensure dependency installation is done with correct notebook syntax and that nearby explanatory text is unambiguous.

copy reviewer prompt

Prompt

Reviewer Prompt

When authoring AI/LLM tutorials in Jupyter notebooks, ensure dependency installation is done with correct notebook syntax and that nearby explanatory text is unambiguous.

  • Use Jupyter magics for installs inside cells (not commented shell commands or bare pip lines).
  • Keep documentation wording precise when describing session/message history behavior.

Example:

# In a notebook cell (ipynb), use the magic:
%pip install langchain_community

# And keep narrative wording clear when describing state:
# "...wraps the model and adds to this message history..."

Source discussions