Skip to main content

A Python library for the Cohere endpoints in AWS Sagemaker

Project description

Cohere Python SDK (AWS SageMaker)

This package provides functionality developed to simplify interfacing with the Cohere models via AWS SageMaker Marketplace in Python >=3.6

Installation

The package can be installed with pip:

pip install --upgrade cohere-sagemaker

Install from source:

python setup.py install

Quick Start

To use this library, you need to configure your AWS credentials. You can do this by running aws configure. Once that's set up, please refer to one of the Jupyter notebooks to get started. Here is the one for our medium command model

Note: by default we assume region configured in AWS CLI (aws configure get region), to override use region_name parameter, e.g.

client = Client(region_name='us-east-1')

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

cohere-sagemaker-0.8.1.tar.gz (10.1 kB view details)

Uploaded Source

File details

Details for the file cohere-sagemaker-0.8.1.tar.gz.

File metadata

  • Download URL: cohere-sagemaker-0.8.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cohere-sagemaker-0.8.1.tar.gz
Algorithm Hash digest
SHA256 6479bd8021f37b93b11a89ec9cb496540eee74936f99c2e616201a47e65c1939
MD5 9656e2c0544abb8dff5934b52a8a9125
BLAKE2b-256 a13128e8a205746040831fdcac360e82b7f2c8e65c19f4fc6b68e16266919496

See more details on using hashes here.

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