PrivatebuildBuild a simple system prompt that instructs the model to use Datalayer tools
PrivateconvertConvert VS Code chat history to language model messages. Extracts user prompts and assistant responses from previous turns.
PrivatehandlePrivateprocessProcess model response and handle tool calls in a loop
Chat participant that provides context from Datalayer notebooks and lexical documents
Provides interactive assistance with tool invocation for working with Jupyter notebooks and Lexical documents.
Uses Datalayer tools to interact with notebooks and lexical documents. Always calls getActiveDocument first, then listAvailableBlocks for lexical documents.
Example