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.10.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for superduper_anthropic-0.10.0.tar.gz
Algorithm Hash digest
SHA256 48fd939d6d80e92716535bc82c64a4796986c40f4ddf91ed05703d874f1a5b70
MD5 1c5ceb6e5309c88ed3277968d355a3c5
BLAKE2b-256 68517fa6dd2c90f80d7981f0c5208dcc7f459ac01eee03ca7d76d2e0345151e8

See more details on using hashes here.

Provenance

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

Publisher: release_plugins.yaml on superduper-io/superduper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for superduper_anthropic-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5dc75a1766ed9f5af4eb30abad3e39de008d1af89fa90beae3c898aaf531d942
MD5 630772245cc0e6f9349f8412084105d7
BLAKE2b-256 461198dc679a60bcec06040a0391f6dc765b9806ba4aba06fa2e0dce5959e710

See more details on using hashes here.

Provenance

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

Publisher: release_plugins.yaml on superduper-io/superduper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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