No project description provided
Project description
Junon
Overview
Junon is a Chatbot-like assistant on your jupyter notebook/lab.
Two types of assistants are built in.
- Data Analytics Assistant
- Writing Assistant
And, You can build your own assistant by using the junon.assistants module.
Getting Started
Installation
You can install this package from pypi.
pip install junon
Setup
Junon uses OpenAI API or Microsoft Azure OpenAI API to generate text.
Depending on which one you use, the required environment variables are different.
Please set the environment variables before the activation described below. (You need to set it before activation or importing junon package.)
OpenAI API
%env OPENAI_API_KEY XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Microsoft Azure OpenAI API
%env AZURE_OPENAI_API_KEY XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
%env AZURE_OPENAI_ENDPOINT https://xxxxxxxxxxxxxxxxxxxxxxx.openai.azure.com/
%env AZURE_OPENAI_DEFAULT_MODEL xxxxxx
note :
AZURE_OPENAI_DEFAULT_MODEL is not the model name, but the deployment name of the model deployed on Azure.
Activation
Run following magic command in your jupyter notebook/lab to activate the assistant you want to use.
Data Analytics Assistant :
%load_ext junon.assistants.data_analytics
Wrtiting Assistant :
%load_ext junon.assistants.writing_assistant
Usage
Junon is Chatbot-like assistant on your jupyter notebook/lab.
You can use it by sending a message to the assistant.
You can send a message to the assistant by executing the %%agent magic command in a code cell of Jupyter Notebook/Lab.
Example:
%%agent
Hello, My assistant!
I want to write a novel.
Can you help me?
The assistant will reply to your message.
Managment Conversation
You can manage the conversation with the assistant by using some magic commands.
To show the usage of the magic command, execute the following command in a code cell of Jupyter Notebook/Lab.
%usage
You have to activate the assistant before using the magic command.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file junon-0.1.0.tar.gz.
File metadata
- Download URL: junon-0.1.0.tar.gz
- Upload date:
- Size: 48.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c697c0b5951599b41d7bfc6a8fc36c69f15a92d1934f46fdb3788017deda3789
|
|
| MD5 |
3163be83d75eff336d97c69ea4adc999
|
|
| BLAKE2b-256 |
e2781aaeb0683e6a9c0c152bbd43e75cc186b3d7e3d4f7e48948d52c97d5c16b
|
File details
Details for the file junon-0.1.0-py3-none-any.whl.
File metadata
- Download URL: junon-0.1.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03501442730f1073c2d2250d9307a9a4ae3a1a14b6e5ab2620ab39c1e5eaf087
|
|
| MD5 |
c063a302f90e33cfe11c491ed3f2025f
|
|
| BLAKE2b-256 |
e98a9b1b2d60194fe9dfd278b0d12b5a6a2c15116d6a6934e8e1593e94a0ac14
|