Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

superduper-cohere

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superduper-cohere

Superduper allows users to work with cohere API models.

  • 0.4.0
  • PyPI
  • Socket score

Maintainers
1

superduper_cohere

Superduper allows users to work with cohere API models.

Installation

pip install superduper_cohere

API

  • Code
  • API-docs
ClassDescription
superduper_cohere.model.CohereCohere predictor.
superduper_cohere.model.CohereEmbedCohere embedding predictor.
superduper_cohere.model.CohereGenerateCohere 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!'])

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc