Skip to main content

LLM plugin for Amazon's Nova on AWS Bedrock

Project description

llm-bedrock-nova

PyPI License

Plugin for LLM adding support for Amazon's Nova models.

New: Nova Models Support

Nova models available on us-east-1

Installation

Install this plugin in the same environment as LLM. From the current directory

llm install llm-bedrock-nova

Configuration

You will need to specify AWS Configuration with the normal boto3 and environment variables.

For example, to use the region us-east-1 and AWS credentials under the personal profile, set the environment variables

export AWS_DEFAULT_REGION=us-east-1
export AWS_PROFILE=personal

Usage

This plugin adds models called bedrock-nova.

You can query them like this:

llm -m nova-micro "Ten great names for a new space station"

Options

  • max_tokens_to_sample, default 8_191: The maximum number of tokens to generate before stopping

Use like this:

llm -m nova-lite -o max_tokens_to_sample 20 "Sing me the alphabet"
 Here is the alphabet song:

A B C D E F G
H I J

Support Models

  • Amazon Nova Pro
  • Amazon Nova Lite
  • Amazon Nova micro

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

llm_bedrock_nova-0.1.0.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_bedrock_nova-0.1.0-py2.py3-none-any.whl (9.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file llm_bedrock_nova-0.1.0.tar.gz.

File metadata

  • Download URL: llm_bedrock_nova-0.1.0.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.14

File hashes

Hashes for llm_bedrock_nova-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c2112aa857dce63c79ffb79e6e7542db11cc1c385c75067cc38992111057bff5
MD5 86fa6b4541230baf05d96ac0a13cf774
BLAKE2b-256 ec334f63de725df24d0a17c871e36b1a53d34e3208a0ef1eb0f15d16f9a137cc

See more details on using hashes here.

File details

Details for the file llm_bedrock_nova-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for llm_bedrock_nova-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1a083d66bcae601daac5a030df576af258e7a29f34448d0cad4c6fe0c3e802f0
MD5 fbd8bf233e57153eeef18828b737e488
BLAKE2b-256 eeb5cfac3016778b127bccb63d8ef1e94867fe7b50fcb3cb71312820e019ff39

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page