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.0.5.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

superduper_anthropic-0.0.5-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

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