swarmauri_llm_openai
Provider-specific Openai LLM package for Swarmauri. This package offers direct imports for OpenAIAudio, OpenAIAudioTTS, OpenAIModel, OpenAIReasonModel, OpenAIToolModel while keeping implementation parity with swarmauri_standard.
Features
OpenAIAudioadapter exported fromswarmauri_standard.llms.OpenAIAudio.OpenAIAudioTTSadapter exported fromswarmauri_standard.llms.OpenAIAudioTTS.OpenAIModeladapter exported fromswarmauri_standard.llms.OpenAIModel.OpenAIReasonModeladapter exported fromswarmauri_standard.llms.OpenAIReasonModel.OpenAIToolModeladapter exported fromswarmauri_standard.llms.OpenAIToolModel.- Compatible with Python 3.10 through 3.12.
Installation
# uv
uv add swarmauri_llm_openai
# pip
pip install swarmauri_llm_openai
Usage
from swarmauri_llm_openai import OpenAIAudio
from swarmauri_llm_openai import OpenAIAudioTTS
from swarmauri_llm_openai import OpenAIModel
from swarmauri_llm_openai import OpenAIReasonModel
from swarmauri_llm_openai import OpenAIToolModel
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 = OpenAIAudio()
# 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_openai 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 | |
|---|---|---|---|
| swarmauri_llm_openai-0.1.0.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_llm_openai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / swarmauri_llm_openai-0.1.0.tar.gz
| Download URL | swarmauri_llm_openai-0.1.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53cf8a3d86606f10da6af452581c6cdbe7e087bcf125061727966a56f79b7021
|
|
BLAKE2b-256 checksum How to use checksums |
fa748427c777be465fd0b34f2cf0226822fcf9be5a200bb3edc6fc2328d125fb
|
| 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_openai-0.1.0-py3-none-any.whl
| Download URL | swarmauri_llm_openai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc8d69ce3cc29e5db219a81c34c4ab7f84aca3ae3413c90e50f896bc6f84a276
|
|
BLAKE2b-256 checksum How to use checksums |
0ceeeec888d129f4cb7ee1c2144e828a85494061d16e6f2967f70b269401c14a
|
| 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}
|