nbinlineai

AI prompts in JupyterLab notebooks

View the Project on GitHub rahuldave/nbinlineai

User guide

Start with setup, then read the chapters you need. These chapters describe version 0.1.14, including default connection settings, inherited cell choices, and cleaner waiting answer cells. The FAQ answers common edge cases.

  1. Install and connect — install the extension, connect ChatGPT or an API key, and understand account limits.
  2. Write and run AI questions — create prompts, continue conversations, copy code, and request a new code cell.
  3. Models, styles, and effort — choose providers and models, customize response styles, and set thinking effort.
  4. Edit, rerun, and run notebooks — correct answers, use Keep answer, and run a whole notebook safely.
  5. Choose notebook context — select cells and tools, preview what fits, and compare OpenAI API, Claude API, and ChatGPT context budgets.
  6. Live values and tools — reference kernel values and offer Python functions and bundled notebook tools.
  7. Saved notebooks and privacy — understand saved AI cells, key storage, account state, and the request path.
  8. Troubleshooting and limits — resolve common problems and check size and tool-round limits.

The tools reference lists callable functions, and the examples guide has notebooks you can try.