PrivatecellConvert cell to text for LLM context.
Code cells are included as-is. Markdown cells are converted to comments.
Notebook cell
Cell content as text
PrivateextractExtract context from notebook cells.
Includes ALL cells before and after the active cell to provide maximum context. Markdown cells are converted to comments.
Completion request
Completion context
Prefix, suffix, and language for LLM prompt
Fetch inline completion suggestions.
Completion request with text and cursor offset
Completion context (notebook panel, active cell, etc.)
Promise resolving to list of completion items
PrivategetGet LLM completion via message passing to extension.
Code before cursor
Code after cursor
Programming language
Completion string or null if no models available
VS Code LLM-powered inline completion provider for Jupyter notebooks.
Uses VS Code's Language Model API (Copilot and other registered LLM providers) to provide intelligent code completions in notebook cells.