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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for superduper_anthropic-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1f46ebc4d49296d88667f5967ad0abaef9e01368ad3bbc592d74bd5dcf92629 |
|
MD5 | 0ecea74761c14ae10a45874209a9b740 |
|
BLAKE2b-256 | b69215cdfb03b2f69ad30a5ea6a020d2ab5a90a03c7c2c0646d5551b1ada33b4 |
Close
Hashes for superduper_anthropic-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbe73f2b7cd3b9d4093271299551db567b3585aa624d3aa84e31f10edac0e344 |
|
MD5 | 34e97dcfba5a0a22c130f0fed9f32d3b |
|
BLAKE2b-256 | 35ad8bdd71b682071cfeb3e722da3f56599f6cc79b39d65f986292e70c601d5a |