Skip to main content

Jam.AI

Jam is an experimental collaboration tool to use multiple AI personnel together equipped with instructed function calls.

Create Jam session with AI

View Changelog

Demo

Quick Start

from jam import Jam
from jam.personnel import BasicPersonnel, AutoPersonnel
from jam.instrument import PromptPainter

jam_room = Jam(
    members=[
        BasicPersonnel.from_json(filepath='example/personnel/claude-monet.json'),  # Using custom JSON
        BasicPersonnel.from_preset(name='pablo-picasso'),  # Using example presets from Git
        AutoPersonnel.from_prompt(uid='wkandinsky', prompt='Wassily Kandinsky')  # Using GPT to build prompt
    ],
    instruments=[PromptPainter()]
)

prompt = jam_room.compose(
    message='who are you!',
    multi=True
)

print(prompt) # List of Prompts from Characters

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
  • Requests
  • Pillow

Extra Requirements for Function Calls

  • Psycopg2
  • PyMySQL
  • Stability SDK

Extension

Optional dependencies to fit any requirement needed.

pip install jam-ai[database] # Using Postgres, MySQL, Redis ...
pip install jam-ai[function] # Using Extended Function Calls requiring SDKs / Packages

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

Metadata

Release files for jam-ai 0.2.1

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

Source distribution (sdist)

Source distribution for jam-ai 0.2.1
File Size Uploaded Provenance Actions
jam_ai-0.2.1.tar.gz 26.3 kB Without provenance Details for jam_ai-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jam-ai 0.2.1
File Interpreter ABI Platform Actions
jam_ai-0.2.1-py3-none-any.whl Python 3 none any Details for jam_ai-0.2.1-py3-none-any.whl

Total release size: 69.0 kB

Release files / jam_ai-0.2.1.tar.gz

Download URL jam_ai-0.2.1.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7a8fdbb1ef7eed84e520952f36a161cf6a891519d3c613ef74dc3abed9b14f33
BLAKE2b-256 checksum
How to use checksums
fd8b2ff9ec3e813524a9a57eeb82cc48976803066ad1d16741b29bea0789e528
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / jam_ai-0.2.1-py3-none-any.whl

Download URL jam_ai-0.2.1-py3-none-any.whl
Size 42.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68ca73b3296d9837ec4edb7bd7f97d999a2cd0c89c2e53de8966f33b050a48c9
BLAKE2b-256 checksum
How to use checksums
b17f90d58897d257275836ba67867b24b1cace37c6e544b02e53ae7de9b4021f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Security for jam-ai 0.2.1

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.

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