Skip to main content

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.

upload to pypi

python setup.py sdist bdist_wheel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

junon-0.1.1.tar.gz (49.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

junon-0.1.1-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file junon-0.1.1.tar.gz.

File metadata

  • Download URL: junon-0.1.1.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.1 Windows/10

File hashes

Hashes for junon-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1f13f1d055fc3748c73277ffe1254f8e1f0b4e45010cd053ee066386c66ae4d0
MD5 9e77b03976fcd30b4d5168a834878f7a
BLAKE2b-256 d97d8d3d01452bf49a5c9400c4f8adc690eb2c83cc30a534e0fd4345dfd22355

See more details on using hashes here.

File details

Details for the file junon-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: junon-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.1 Windows/10

File hashes

Hashes for junon-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3f0697133753565c6e1e04493dc06a32cbfda98ce9f3bbec12541288493a7aa
MD5 74db937938502977c692bd17e12ab890
BLAKE2b-256 d90c5408d8bf1c1cbd97872844dc52110d5a091e406b55a709bf43f1dc69ef3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page