Engaging with Multiple AI Agents with Jam.
Project description
Jam.AI
Create Jam session with AI
Jam is an experimental collaboration tool to use multiple AI personnel together equipped with instructed function calls.
Quick Start
from jam import Jam
from jam.personnel import BasicPersonnel
from jam.instrument import PromptPainter
from jam.persistence import SQLitePersistence
jam_room = Jam(
members=[
BasicPersonnel.from_json('example/personnel/albert-einstein.json'),
BasicPersonnel.from_json('example/personnel/stephen-hawking.json')
],
instruments=[
PromptPainter()
],
persistence=SQLitePersistence()
)
prompt = jam_room.compose(
message='Give me a question',
multi=True
)
Don't forget to use your credentials. Primarily for OpenAI, the core engine of this project. https://platform.openai.com/account/api-keys
export OPENAI_KEY=YOUR_KEY
Installation
pip install jam-ai --upgrade
You need to use Pip to install jam. Conda package is currently unavailable.
Requirements
- Python >= 3.8
- OpenAI
Extra Requirements for Function Calls
- Requests
- Stability SDK
- Pillow
Extension
For the use of other libraries, please consider to always feed in your API Keys respectively. See below for example.
export STABILITY_KEY=YOUR_STABILITY_AI_KEY # If you are using Stability SDK
export WRITESONIC_KEY=YOUR_WRITE_SONIC_KEY # If you are using WriteSonic API
export CUSTOM_KEY=YOUR_CUSTOM_KEY # If there are any other added functionalities
Author
- Abhishta Gatya (Email) - Software and Machine Learning Engineer
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
File details
Details for the file jam_ai-0.1.7.tar.gz
.
File metadata
- Download URL: jam_ai-0.1.7.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c29abdda2dab5006161a38003d58fe5153c28009866ea0cc3dde25ed05058d95 |
|
MD5 | edfe7f52fe8d379961d823f892838e53 |
|
BLAKE2b-256 | ecddc41ac7e1af5508312f91754bb5ff5737c7b8b1ebf3ecb1d87c7127b986a7 |
File details
Details for the file jam_ai-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: jam_ai-0.1.7-py3-none-any.whl
- Upload date:
- Size: 32.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d146d84ce18ee0daa8e1ca1922f926c17245f168e7bf15de8f2f23fcfd1b678f |
|
MD5 | 4d4887a1d6843bcb6eb7c745f15d13ca |
|
BLAKE2b-256 | e02da98297cc2ad5f3ecb668eece687d2e12ce95c76716ba402c4dcd7cd785c5 |