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.1.tar.gz (22.2 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.1-py2.py3-none-any.whl (10.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for llm_bedrock_nova-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e35fd9185734ff3a929feaf3e18c654c1fcc19c293faa91c60f8a82f18b0c0f5
MD5 509967edb0deb63a664dbcb8bd6517fd
BLAKE2b-256 17b5cd501998d12a2648dbe3110c353dd35b8232e09c575cff64e7a0b56b8b40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llm_bedrock_nova-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 43ad8ff63bd1213aa7660bf90db12483c6fc9b4aad098055d5703cc5d9cb27a2
MD5 9d22fb6c6e0f3066017b24149160b0ee
BLAKE2b-256 2308891e4cba83de57f77b20ce5ce190be8f70ff917a3396ee6ccf609cab55db

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