https://github.com/wolframresearch/chatbook
Wolfram Notebooks + LLMs
https://github.com/wolframresearch/chatbook
Last synced: 9 months ago
JSON representation
Wolfram Notebooks + LLMs
- Host: GitHub
- URL: https://github.com/wolframresearch/chatbook
- Owner: WolframResearch
- License: mit
- Created: 2023-03-20T02:23:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-02T10:50:25.000Z (9 months ago)
- Last Synced: 2025-04-04T23:28:59.612Z (9 months ago)
- Language: Mathematica
- Homepage:
- Size: 31.9 MB
- Stars: 89
- Watchers: 12
- Forks: 9
- Open Issues: 55
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Chatbook
[](https://github.com/WolframResearch/Chatbook/actions/workflows/Build.yml) [](https://github.com/WolframResearch/Chatbook/actions/workflows/Release.yml)
#### [Changelog](./docs/CHANGELOG.md)
This repository contains *Chatbook*, a paclet adding support for LLM-powered
notebooks to Wolfram.
## Getting Started
To start using Chatbook, install this paclet by evaluating:
```
PacletInstall[ResourceObject["Wolfram/Chatbook"]]
```
which will install the
[Wolfram/Chatbook](https://paclets.com/Wolfram/Chatbook/)
paclet resource.
Once installed, start using Chatbook by first creating an empty notebook,
and then selecting the `Format > Stylesheet > Chatbook` menu item to change
the notebook stylesheet.
Create new chat input cells by either:
* Selecting the `Format > Style > ChatUserInput` menu item.
* Typing `'` when the cursor is in-between cells, or as the first character in
an Input cell.
### Configuration
Before you can perform chat queries, you must specify your OpenAI API key by
performing the following evaluation:
```wolfram
SystemCredential["OPENAI_API_KEY"] = ""
```
where `` is a valid OpenAI API key.
*Note: This credential is the same as that used by the
[ChristopherWolfram/OpenAILink](https://paclets.com/ChristopherWolfram/OpenAILink) paclet*.
## Features
### Interact with ChatGPT:

### Generate immediately evaluatable Wolfram code:

Wolfram code in the chat output can be evaluated in place immediately:

## License
Licensed under the MIT license ([LICENSE-MIT](./LICENSE-MIT) or )
## Contributing
See [**Development.md**](./docs/Development.md) for instructions on how to
perform common development tasks when contributing to this project.