Wolfram/ Chatbook

(1.4.8) current version: 1.5.1 »

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:
PacletInstall["Wolfram/Chatbook"]


To load the code after installation, evaluate this code:
Needs["Wolfram`Chatbook`"]

Examples

Basic Examples (3) 

Create a new notebook with AI assistant integration:

In[1]:=
CreateNotebook["ChatEnabled"]
Out[1]=

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:

Disclosures

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

Compatibility

Wolfram Language Version 13.3

Version History

License Information

MIT License

Paclet Source

See Also