Skip to main content

A Python library for the Cohere endpoints in AWS Sagemaker & Bedrock

Project description

Cohere Python SDK (AWS SageMaker & Bedrock)

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

Installation

The package can be installed with pip:

pip install --upgrade cohere-aws

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-aws-0.8.14.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

cohere_aws-0.8.14-cp311-cp311-macosx_13_0_arm64.whl (17.8 kB view details)

Uploaded CPython 3.11 macOS 13.0+ ARM64

File details

Details for the file cohere-aws-0.8.14.tar.gz.

File metadata

  • Download URL: cohere-aws-0.8.14.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for cohere-aws-0.8.14.tar.gz
Algorithm Hash digest
SHA256 26c6aaeadddd01947f8b2f1c8705e884abbe9d93f2023a94d4e0612f5543ee74
MD5 f1e06851a62e431cb56e9e8f69805701
BLAKE2b-256 50c6c6b4274a0296f447dd73fdb898b100a6714a3c1173ab8f36b4e3cc09a7e2

See more details on using hashes here.

File details

Details for the file cohere_aws-0.8.14-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for cohere_aws-0.8.14-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3e02d42e195a08c9242a3e13d3287227c4981ab40182a630c52952434002f724
MD5 f6808d87e4a403326cba802f575baa8b
BLAKE2b-256 cd25dbb0bf0219f3016646465911e4d11842e90fd1ba2e5dd32c9e6a38601b10

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