Skip to main content

Swarmauri Llamacpp LLM adapters from swarmauri_standard.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_llm_llamacpp


swarmauri_llm_llamacpp

Provider-specific Llamacpp LLM package for Swarmauri. This package offers direct imports for LlamaCppModel while keeping implementation parity with swarmauri_standard.

Features

  • LlamaCppModel adapter exported from swarmauri_standard.llms.LlamaCppModel.
  • Compatible with Python 3.10 through 3.12.

Installation

# uv
uv add swarmauri_llm_llamacpp

# pip
pip install swarmauri_llm_llamacpp

Usage

from swarmauri_llm_llamacpp import LlamaCppModel
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 = LlamaCppModel()
# 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_llamacpp-0.1.0.dev8.tar.gz (6.3 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_llamacpp-0.1.0.dev8-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_llm_llamacpp-0.1.0.dev8.tar.gz.

File metadata

  • Download URL: swarmauri_llm_llamacpp-0.1.0.dev8.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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_llamacpp-0.1.0.dev8.tar.gz
Algorithm Hash digest
SHA256 32031dcc5ab51cab329001d2b20e829a9c9d953546d963e2a4241b9c128ba56c
MD5 61acb19c1b5e626ef04f2a7c90f56dc0
BLAKE2b-256 6740384d35e64b938a13c497b52a9ca58467b813abe3356afe4635b968bc6709

See more details on using hashes here.

File details

Details for the file swarmauri_llm_llamacpp-0.1.0.dev8-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_llm_llamacpp-0.1.0.dev8-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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_llamacpp-0.1.0.dev8-py3-none-any.whl
Algorithm Hash digest
SHA256 ff3a8c13cbc1ba2f6d5d54023c87f194b55d775a2a644f24c97ad61c35e43a67
MD5 4eeab2a3d715321ff57deaaa2537155b
BLAKE2b-256 b8e617a5a1e4e636b6a0819f9ee7f5fecfd532c554dff9472335fb98bfac7e48

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