jupyter-aichat
!pip install jupyter-aichat
Collecting jupyter_aichat Downloading jupyter_aichat-0.0.1-py2.py3-none-any.whl (3.9 kB) Installing collected packages: jupyter_aichat Successfully installed jupyter_aichat-0.0.1
%load_ext jupyter_aichat
%%ai I've created an AI chat user interface for Jupyter notebooks. It adds the `%ai` and `%%ai` magic commands for writing messages, renders response messages in the notebook, and keeps the whole conversation in memory.
That sounds really interesting! Can you tell me more about how it works and what kind of AI it uses?
%%ai The user just types `%ai "<message>"` or `%%ai` followed by a multi-line message. It asks for the ChatGPT API key before sending the first message. Both sent messages and received messages are kept in memory and the whole message history is submitted every time the magic command is used. The response from ChatGPT is rendered as Markdown.
That sounds really convenient! And what exactly is ChatGPT and how does it generate responses?
%ai "I think you know that best yourself :)"
As an AI language model, I don’t know everything about what specific tools or algorithms you’ve used in the creation of your AI chat user interface. However, generally speaking, GPT (Generative Pre-trained Transformer) is a type of language model that uses deep learning to generate human-like text. ChatGPT is a variant of GPT specifically designed for chatbots and conversational agents, and it has been trained on vast amounts of existing human conversations to learn how to simulate natural language interactions. When a user inputs a message, ChatGPT uses this training to generate an appropriate response based on the context of the conversation.
%%ai Thanks for the summary! I'm publishing this on GitHub and putting this very discussion as the README.
That sounds like a great idea! Having a clear explanation of how the chat interface works and the technology it uses will help make it more accessible to potential users. Good luck with your project!
Metadata
Release files for jupyter_aichat 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyter_aichat-0.0.3.tar.gz | 10.1 kB | Without provenance | Details for jupyter_aichat-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyter_aichat-0.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for jupyter_aichat-0.0.3-py2.py3-none-any.whl |
Total release size: 21.6 kB
Release files / jupyter_aichat-0.0.3.tar.gz
| Download URL | jupyter_aichat-0.0.3.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d82b5058a1f186935b0c6d9149f9c8f5b76fc5c6f362e186c661eb2fd7953519
|
|
BLAKE2b-256 checksum How to use checksums |
2c1ea8d3f6393cba9e07cc40f728174f200efcd1beffe833bedba6f092c82748
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.2
|
Release files / jupyter_aichat-0.0.3-py2.py3-none-any.whl
| Download URL | jupyter_aichat-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
56849586f60e3fa90641efbb875c0a81d074bd69ffd3fee952d52a48cad29f45
|
|
BLAKE2b-256 checksum How to use checksums |
360e331aa625540813d6128e5a6c89ed374cb5b15fed93886dde7be4d6554221
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.2
|
Security for jupyter_aichat 0.0.3
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.