Superduper allows users to work with cohere API models.
Project description
superduper_cohere
Superduper allows users to work with cohere API models.
Installation
pip install superduper_cohere
API
| Class | Description |
|---|---|
superduper_cohere.model.Cohere |
Cohere predictor. |
superduper_cohere.model.CohereEmbed |
Cohere embedding predictor. |
superduper_cohere.model.CohereGenerate |
Cohere realistic text generator (chat predictor). |
Examples
CohereEmbed
from superduper_cohere.model import CohereEmbed
model = CohereEmbed(identifier='embed-english-v2.0', batch_size=1)
model..predict('Hello world')
CohereGenerate
from superduper_cohere.model import CohereGenerate
model = CohereGenerate(identifier='base-light', prompt='Hello, {context}')
model.predict('', context=['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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file superduper_cohere-0.6.0.tar.gz.
File metadata
- Download URL: superduper_cohere-0.6.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24968d31346af1cb9e4a3ee707b79b16079ac867ab7a329b90ddcae8d81046eb
|
|
| MD5 |
cce8994853f98c756304238a0d98e81d
|
|
| BLAKE2b-256 |
19a09d5e6e7aaf6725b5686be97828b7a07c34e22a195675ebaf43b6375f231d
|
Provenance
The following attestation bundles were made for superduper_cohere-0.6.0.tar.gz:
Publisher:
release_plugins.yaml on superduper-io/superduper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
superduper_cohere-0.6.0.tar.gz -
Subject digest:
24968d31346af1cb9e4a3ee707b79b16079ac867ab7a329b90ddcae8d81046eb - Sigstore transparency entry: 188557803
- Sigstore integration time:
-
Permalink:
superduper-io/superduper@fef7fe19fa2a9cb81d02607c20eb00d41f71b04f -
Branch / Tag:
refs/heads/0.6 - Owner: https://github.com/superduper-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_plugins.yaml@fef7fe19fa2a9cb81d02607c20eb00d41f71b04f -
Trigger Event:
push
-
Statement type:
File details
Details for the file superduper_cohere-0.6.0-py3-none-any.whl.
File metadata
- Download URL: superduper_cohere-0.6.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c3e002ef2ede1e68183ae6d11adec4f6063835741487388e905708f98299a66
|
|
| MD5 |
f714dd7feca6ff10f6ed6f12edd38121
|
|
| BLAKE2b-256 |
823e8c6d5005ca9e159331c39aa60aada708985008fc43e8b43573890d359fd6
|
Provenance
The following attestation bundles were made for superduper_cohere-0.6.0-py3-none-any.whl:
Publisher:
release_plugins.yaml on superduper-io/superduper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
superduper_cohere-0.6.0-py3-none-any.whl -
Subject digest:
4c3e002ef2ede1e68183ae6d11adec4f6063835741487388e905708f98299a66 - Sigstore transparency entry: 188557805
- Sigstore integration time:
-
Permalink:
superduper-io/superduper@fef7fe19fa2a9cb81d02607c20eb00d41f71b04f -
Branch / Tag:
refs/heads/0.6 - Owner: https://github.com/superduper-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_plugins.yaml@fef7fe19fa2a9cb81d02607c20eb00d41f71b04f -
Trigger Event:
push
-
Statement type: