Skip to main content

Superduper allows users to work with anthropic API models. The key integration is the integration of high-quality API-hosted LLM services.

Project description

superduper_anthropic

Superduper allows users to work with anthropic API models. The key integration is the integration of high-quality API-hosted LLM services.

Installation

pip install superduper_anthropic

API

Class Description
superduper_anthropic.model.Anthropic Anthropic predictor.
superduper_anthropic.model.AnthropicCompletions Cohere completions (chat) predictor.

Examples

AnthropicCompletions

from superduper_anthropic.model import AnthropicCompletions

model = AnthropicCompletions(
    identifier="claude-2.1",
    predict_kwargs={"max_tokens": 64},
)
model.predict_batches(["Hello, world!"])

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

superduper_anthropic-0.4.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

superduper_anthropic-0.4.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file superduper_anthropic-0.4.0.tar.gz.

File metadata

  • Download URL: superduper_anthropic-0.4.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for superduper_anthropic-0.4.0.tar.gz
Algorithm Hash digest
SHA256 16de41d279e54cb2fa08c80a52311158eabf284611502553609decab4c69884a
MD5 f251d21cd6a115fc6799a29d18649e8a
BLAKE2b-256 83fc1b74c84db0908ac86bc8a9835f96b1e663806646cd1146e143794f80a145

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_anthropic-0.4.0.tar.gz:

Publisher: release_plugins.yaml on superduper-io/superduper

Attestations:

File details

Details for the file superduper_anthropic-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for superduper_anthropic-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02ba890295c653d0d0b242ac83d20e09aa622f5c437aa7fd33e0863c25285725
MD5 9994edff82a7d588c4f2189dd7fd9ceb
BLAKE2b-256 e3b08ec9edf492d4f4d040c408aaa1908725a7b36abe15e300960415c119aec5

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_anthropic-0.4.0-py3-none-any.whl:

Publisher: release_plugins.yaml on superduper-io/superduper

Attestations:

Supported by

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