Skip to main content

Swarmauri Cohere LLM adapters from swarmauri_standard.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_llm_cohere

---

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

  • CohereModel adapter exported from swarmauri_standard.llms.CohereModel.
  • CohereToolModel adapter exported from swarmauri_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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_llm_cohere-0.1.1.dev2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_llm_cohere-0.1.1.dev2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_llm_cohere-0.1.1.dev2.tar.gz.

File metadata

  • Download URL: swarmauri_llm_cohere-0.1.1.dev2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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}

File hashes

Hashes for swarmauri_llm_cohere-0.1.1.dev2.tar.gz
Algorithm Hash digest
SHA256 4e798f015e0daf3eeea86eb32af2eefccaf7efda5f597e1e3d5c99e67edb04d7
MD5 4b6868e74f37a5ae39f49769388a09b3
BLAKE2b-256 3e718b24b86f4f1d5b41f94010bac38171bfd6c1e87b5a49ce7805c3c16eab66

See more details on using hashes here.

File details

Details for the file swarmauri_llm_cohere-0.1.1.dev2-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_llm_cohere-0.1.1.dev2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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}

File hashes

Hashes for swarmauri_llm_cohere-0.1.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 f65f7af5fa0ec872b2343349a3e1bcb1def05ba2f2f5000bba5fbb931e37dee7
MD5 a214d82ca86be4935dd81073c7c4afda
BLAKE2b-256 1f4f87c717784e0d73580e75b646bc894af190b1c720ec2aa6eb7cae29cf2bcb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page