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
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
Hashes for cohere_aws-0.8.11-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86af93edbb2b8d7a75219b3d51c65bb23dc59d4a45719dc82587ab77480bb4c8 |
|
MD5 | 6daf4b6f15c15442260ecdbcc2269fa9 |
|
BLAKE2b-256 | bd11cdb7431696243dc190267cce66f346d3b1e321438c5ff7ebdd1e6f22858f |