swarmauri_llm_cohere
Provider-specific Cohere LLM package for Swarmauri. This package offers direct imports for CohereModel, CohereToolModel while keeping implementation parity with swarmauri_standard.
Features
CohereModeladapter exported fromswarmauri_standard.llms.CohereModel.CohereToolModeladapter exported fromswarmauri_standard.llms.CohereToolModel.- Compatible with Python 3.10 through 3.12.
Installation
# uv
uv add swarmauri_llm_cohere
# pip
pip install swarmauri_llm_cohere
Usage
from swarmauri_llm_cohere import CohereModel
from swarmauri_llm_cohere import CohereToolModel
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 = CohereModel()
# 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_cohere 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_cohere-0.1.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_llm_cohere-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / swarmauri_llm_cohere-0.1.0.tar.gz
| Download URL | swarmauri_llm_cohere-0.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04a8016771bcd9a747dbac7b0d1593ab67b36062b1e06d2f0185d6b42df0b39d
|
|
BLAKE2b-256 checksum How to use checksums |
867b453b1e97ef64acf76235a3b2e58b8b5e1f4751df342ee20bdfba743128ea
|
| 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_cohere-0.1.0-py3-none-any.whl
| Download URL | swarmauri_llm_cohere-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe5d158c1d7f1bad04570209b5bda11db1f0f5d608c964c1c79012d803d1128f
|
|
BLAKE2b-256 checksum How to use checksums |
e85f3dc90e24264a1d440e4421a11e13c8441a66b981b1242fd756608f1c1a81
|
| 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}
|