llm-bedrock-mistral
Plugin for LLM adding support for Mistral models in Amazon Bedrock
Installation
Install this plugin in the same environment as LLM. From the current directory
llm install llm-bedrock-mistral
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 model called bedrock-mistral-7b-instruct and bedrock-mixtral-8x7b-instruct. You can also use it with the alias bm7 or bm8.
You can query them like this:
llm -m bedrock-mistral-7b-instruct "Ten great names for a new space station"
llm -m bm7 "Ten great names for a new space station"
You can also chat with the model:
llm chat -m bm8
Options
-o max_tokens, Specify the maximum number of tokens to use in the generated response.-o temperature, Controls the randomness of predictions made by the model.-o top_p, Controls the diversity of text that the model generates by setting the percentage.-o top_k, Controls the number of most-likely candidates that the model considers for the next token.
Use like this:
llm -m bm7 -o max_tokens 20 -o temperature 0 "Return the alphabet. Be succinct."
Here is the alphabet in English: A, B, C, D, E, F,
Metadata
Release files for llm-bedrock-mistral 0.1.0
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_mistral-0.1.0.tar.gz | 7.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_bedrock_mistral-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / llm_bedrock_mistral-0.1.0.tar.gz
| Download URL | llm_bedrock_mistral-0.1.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75260048291966386bc870b0a18f0d1fcb9257fb81036fa45b8f22be632149ac
|
|
BLAKE2b-256 checksum How to use checksums |
3ed31ce111baf1dba95a6619839df80d2492d4af30da9824297d87b60af0067e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / llm_bedrock_mistral-0.1.0-py3-none-any.whl
| Download URL | llm_bedrock_mistral-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27b01ef3e7f6fa583a6b7f6edee13636d3c3d24a99acd7c7b7b10ee03113e16a
|
|
BLAKE2b-256 checksum How to use checksums |
35b4ed4dc7660c3fa5d8efcd6713ed35e77342eb5d885c38c6c43bda6ebf75e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for llm-bedrock-mistral 0.1.0
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.