llm-bedrock-amazon
Plugin for LLM adding support for Amazon Titan Express model.
Installation
Install as LLM plugin:
$ llm install llm-bedrock-amazon
Install from the GitHub repository:
$ git clone https://github.com/avoidik/llm-bedrock-amazon
$ llm install -e llm-bedrock-amazon
Or, from the local directory:
$ llm install -e .
Configuration
You will need to specify AWS Configuration with the normal boto3 and environment variables.
For example, to use the region us-west-2 and AWS credentials under the personal profile, set the environment variables
export AWS_DEFAULT_REGION="us-west-2"
export AWS_PROFILE="personal"
The model must be enabled in your AWS account.
Usage
This plugin adds the following new model:
amazon.titan-text-express-v1 (aliases: bedrock-titan-express, bte)
You can query them like this:
$ llm -m bte "Give me 10 random names so that I can name my unnamed cat"
Options
-
max_token_count, default4096-- The maximum number of tokens to generate in the response. -
temperature, default0.7-- Use a lower value to decrease randomness in the response. -
diversity, default0.9-- Use a lower value to ignore less probable options and decrease the diversity of responses.
Metadata
Release files for llm-bedrock-amazon 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llm_bedrock_amazon-1.0.1.tar.gz | 7.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_bedrock_amazon-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / llm_bedrock_amazon-1.0.1.tar.gz
| Download URL | llm_bedrock_amazon-1.0.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb346393458346b0ede95d3e8ab3c38d89a518d3ce642e9f69a8d868e0af9be8
|
|
BLAKE2b-256 checksum How to use checksums |
27b94560b5fbfef93cd816bfe74d7b046151d588402f0eedfb5b3a58c01a20bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / llm_bedrock_amazon-1.0.1-py3-none-any.whl
| Download URL | llm_bedrock_amazon-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f8c4d2f31f6d0f582e2889f8a1f77e379e6ce7cd561413ef4963e16a16ba8e9
|
|
BLAKE2b-256 checksum How to use checksums |
860e706af915ab9fa2ee801c26027fd4c5d6ab9ec45e2af3279b06fe0673ace6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for llm-bedrock-amazon 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.