swarmauri_llm_ai21
Provider-specific Ai21 LLM package for Swarmauri. This package offers direct imports for AI21StudioModel while keeping implementation parity with swarmauri_standard.
Features
AI21StudioModeladapter exported fromswarmauri_standard.llms.AI21StudioModel.- Compatible with Python 3.10 through 3.12.
Installation
# uv
uv add swarmauri_llm_ai21
# pip
pip install swarmauri_llm_ai21
Usage
from swarmauri_llm_ai21 import AI21StudioModel
from swarmauri_standard.conversations.Conversation import Conversation
from swarmauri_standard.messages.HumanMessage import HumanMessage
conversation = Conversation()
conversation.add_message(HumanMessage(content="Hello from Swarmauri"))
model = AI21StudioModel()
# Configure provider credentials before making requests.
# result = model.predict(conversation=conversation)
Workflow Notes
- These adapters intentionally mirror the corresponding classes in
swarmauri_standard. - Use the provider package that matches your deployment and credential setup.
- Install only the provider packages you need to keep dependencies minimal.
Metadata
Release files for swarmauri_llm_ai21 0.1.0
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 |
|---|---|---|---|---|
| swarmauri_llm_ai21-0.1.0.tar.gz | 6.2 kB | Without provenance | Details for swarmauri_llm_ai21-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swarmauri_llm_ai21-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for swarmauri_llm_ai21-0.1.0-py3-none-any.whl |
Total release size: 13.3 kB
Release files / swarmauri_llm_ai21-0.1.0.tar.gz
| Download URL | swarmauri_llm_ai21-0.1.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3fb31621f28cdf0084966825e13326f45e5ec77f88d2f215393ac4cf7b8ee18
|
|
BLAKE2b-256 checksum How to use checksums |
6841692a5257357f2c692bab74f829f1e5f0024455fd3974e17d727ded071a27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / swarmauri_llm_ai21-0.1.0-py3-none-any.whl
| Download URL | swarmauri_llm_ai21-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52a96c8bf989f66eb699f842fc92e1667dde13e169ae49526b2fc064a0c444ea
|
|
BLAKE2b-256 checksum How to use checksums |
55d4fe25e9c37fc722c198828677ff3d5febdf2f7c6fed0406c6ddefcfe41296
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for swarmauri_llm_ai21 0.1.0
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.