Wolfram/ Chatbook

Wolfram Notebooks + LLMs

Contributed by: Connor Gray, Theodore Gray, Richard Hennigan

Chatbook adds support for new Wolfram Notebook features powered by generative AI.

This paclet will be regularly updated with Wolfram's latest experiments and advances in developing and integrating generative AI. Supports ChatGPT, GPT-4, and more.

Installation Instructions

To install this paclet in your Wolfram Language environment, evaluate this code:

To load the code after installation, evaluate this code:


Basic Examples (3) 

Create a new notebook with AI assistant integration:


Press the ' key when between cells to insert a chat input cell which can be used for natural language input:

Select some text and and choose "Ask AI Assistant" from the context menu:

A special chat query cell is automatically created and evaluated:

Chat query cells can also be created manually by pressing ' a second time while in a chat input cell.

Chat will usually appear automatically when there's an error:

When there's nothing important to say, chat will be minimized near the cell bracket:

Click the minimized chat icon to show the chat:

Scope (3) 

Chat input cells are meant for conversational inputs:

Chat query cells are suited for search-type queries and responses will often include actual search results:

Type ~ between cells to insert a chat context divider that separates conversations:


  • WL system configuration
  • WL built-in symbols
  • Paclet dependencies
  • Local system interactions
  • Learn More »


Wolfram Language Version 13.3

Version History

License Information

MIT License

Paclet Source

See Also