Skip to main content

Swarmauri Perplexity LLM adapters from swarmauri_standard.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_llm_perplexity


swarmauri_llm_perplexity

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

Features

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

Installation

# uv
uv add swarmauri_llm_perplexity

# pip
pip install swarmauri_llm_perplexity

Usage

from swarmauri_llm_perplexity import PerplexityModel
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 = PerplexityModel()
# 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_perplexity-0.1.0.dev7.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_perplexity-0.1.0.dev7-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_llm_perplexity-0.1.0.dev7.tar.gz.

File metadata

  • Download URL: swarmauri_llm_perplexity-0.1.0.dev7.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_perplexity-0.1.0.dev7.tar.gz
Algorithm Hash digest
SHA256 71101a7dce8e013638dd68cfb1e31b11eae2c74df47094758a9ccf9b159aefcd
MD5 d206d77946732cb0cba549714ca58398
BLAKE2b-256 c19b5ab7b6c6c7e9702b26850a70fe9b3bf3e6c9e43af1f4b125dfdcd2b70d6b

See more details on using hashes here.

File details

Details for the file swarmauri_llm_perplexity-0.1.0.dev7-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_llm_perplexity-0.1.0.dev7-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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_perplexity-0.1.0.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 4f9d51744b3d9d232c441f7898c536aecc4f47ff64fe6d620ef74a11bf0da342
MD5 ef8508b87db61b72e1e9e178032ae404
BLAKE2b-256 ed1599b4ad27d1f10721ab380ff143a6311a9e54f6fcbae1637d9e56fa910f1f

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