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.7.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.7.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: superduper_anthropic-0.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 93eb90aa0bb151a341929c499d6e1108bfdb810270167ffc57831e624665a2f6
MD5 725c76f283a6642bfbd03da406f44830
BLAKE2b-256 843aa0fa30e283fdf0478537a2f0eb333f9490219aeef1be24653698c44ae28d

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_anthropic-0.7.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.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for superduper_anthropic-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c19acbac7025e7781127fdd99eb426e6eab7a370cd8305dbefd8241352ace1c8
MD5 b944a0d3b6a51276b504af81c33087bd
BLAKE2b-256 bc7acbf11b1ab74c78e5bf65b990faeb6adf4538ec429d1fa223e1bb01cec973

See more details on using hashes here.

Provenance

The following attestation bundles were made for superduper_anthropic-0.7.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