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
File details
Details for the file cohere-aws-0.8.8.tar.gz
.
File metadata
- Download URL: cohere-aws-0.8.8.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28679dde7ee05eb7e22f3177367bfd03b8d36098b8cf3c91dce9aa661527ea2e |
|
MD5 | 85a349f16e8c616d7ac886cd11a9d57f |
|
BLAKE2b-256 | cd111e3491232365344b7c68ee2509f51d4224701370b9a975bd00835635222f |
File details
Details for the file cohere_aws-0.8.8-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: cohere_aws-0.8.8-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 12.8 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c0cb80dad5d47aa0ff073add0f639b45d5deae3c84a16501ac40d749eb46f78 |
|
MD5 | 0cab652de46c8d12a6d0c7eb779ad331 |
|
BLAKE2b-256 | 73f1dd8d8e580b34391ca63e06d5f39ee8939cdfe4ddea090a7a33c6cfa9084e |