Skip to main content

Asyntai AI Assistant for JupyterLab

Ask your Asyntai knowledge base from a JupyterLab side panel. Your team gets answers about your data, metrics, guides and processes without leaving the notebook, in more than 80 languages.

Features

  • Ask from the side panel. Each conversation keeps its history, so follow-up questions work.
  • Insert in notebook. Put any answer in a new Markdown cell below the active cell.
  • Ask about the selection. Right-click a cell or a file and send the selected code or text to the panel.
  • Add a notebook to the knowledge base. Send the text and code of a notebook to Asyntai, so the assistant can answer from it.
  • Pick the knowledge base. If your account has more than one website, choose which one the panel asks.
  • Works with the light, dark and high-contrast themes.

Requirements

  • JupyterLab 4
  • Python 3.10 or later
  • An Asyntai account on the Starter plan or higher, because the extension uses the Asyntai API

Install

pip install jupyterlab-asyntai-ai-assistant

You can also open the Extension Manager in JupyterLab, search for Asyntai and click Install. Restart JupyterLab after the install.

Set up

  1. Sign in to Asyntai and copy your API key from Settings → API.
  2. Click the Asyntai icon in the right sidebar of JupyterLab.
  3. Paste the key and click Save key. The extension checks the key and remembers it.
  4. Write a question and press Enter. Press Shift+Enter for a new line.

Commands

Open the Command Palette (Ctrl+Shift+C, or Cmd+Shift+C on macOS) and type Asyntai:

Command What it does
Open Asyntai AI Assistant Opens the side panel
Ask Asyntai about the selection Puts the selected text, or the cell, in the question box
Add this notebook to the Asyntai knowledge base Sends the Markdown and code of the open notebook to the knowledge base
New Asyntai conversation Starts a new conversation with an empty history

Settings

Open Settings → Settings Editor → Asyntai AI Assistant:

Setting What it does
apiKey Your Asyntai API key. The panel fills it in when you click Save key
websiteId The website whose knowledge base the panel asks. The panel fills it in
apiBaseUrl The address of the Asyntai API. Keep the default

Documentation

Full guide: asyntai.com/documentation/integrations/jupyterlab

Uninstall

pip uninstall jupyterlab-asyntai-ai-assistant

Support

Email hello@asyntai.com.

Development

pip install "jupyterlab>=4" "jupyter-builder>=1.2,<2"
jlpm install
jlpm build
pip install -e .
jupyter labextension develop . --overwrite
jlpm jest          # unit tests

The browser test in test/ runs the installed extension in a real JupyterLab against a stand-in API. See test/README.md.

License

MIT

Metadata

Release files for jupyterlab-asyntai-ai-assistant 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-asyntai-ai-assistant 1.0.0
File Size Uploaded Provenance Actions
jupyterlab_asyntai_ai_assistant-1.0.0.tar.gz 163.7 kB Without provenance Details for jupyterlab_asyntai_ai_assistant-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-asyntai-ai-assistant 1.0.0
File Interpreter ABI Platform Actions
jupyterlab_asyntai_ai_assistant-1.0.0-py3-none-any.whl Python 3 none any Details for jupyterlab_asyntai_ai_assistant-1.0.0-py3-none-any.whl

Total release size: 189.0 kB

Release files / jupyterlab_asyntai_ai_assistant-1.0.0.tar.gz

Download URL jupyterlab_asyntai_ai_assistant-1.0.0.tar.gz
Size 163.7 kB
Tags Source
SHA-256 checksum
How to use checksums
71dadf2e8ec0c06b8a99907351780b30b992897ae386d1021b29676c4b63d068
BLAKE2b-256 checksum
How to use checksums
fcc5ba4a56947b4d5ba89c3de4f144f8578f99c8e817f85d105f844d3c49ca98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / jupyterlab_asyntai_ai_assistant-1.0.0-py3-none-any.whl

Download URL jupyterlab_asyntai_ai_assistant-1.0.0-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adbfa5ec2f0f039690e3c49cc35df4b125e7c022a4c5231f1818f64a67a38d9c
BLAKE2b-256 checksum
How to use checksums
2c6236621e13a3301c0cf1c654f948156ed20fa37c728fb522f81481d384b985
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for jupyterlab-asyntai-ai-assistant 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page