Skip to main content

LLM access to LAMBDA's API

Project description

llm-lambda

PyPI GitHub release (latest by date including pre-releases) License

LLM access to Hermes3 models by lambda Labs

Installation

Install this plugin in the same environment as LLM.

llm install llm-lambda

Usage

First, set an API key for Lambda Labs:

llm keys set lambda
# Paste key here

Run llm models to list the models, and llm models --options to include a list of their options.

Run prompts like this:

llm -m h3-chat "Describe a Numogram ritual in Lemuria"
llm -m h3-completion "The time-sorcerer activated the Barbelith, causing"
llm -m h3-128-chat "Explain the concept of techno-shamanism"
llm -m h3-128-completion "In the year 2099, the first human-AI hybrid"

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-lambda
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

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_lambda-0.1.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

llm_lambda-0.1.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_lambda-0.1.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for llm_lambda-0.1.1.tar.gz
Algorithm Hash digest
SHA256 061924e878bf5dc24b56216cde602b89be6103df9cdf751e5db178c79e394c36
MD5 f07319f55222860508fc82ee8b64a4f4
BLAKE2b-256 f4481e4c8f02729df467e3b38872f9ea0eeee08583c60608b18364fba924ca27

See more details on using hashes here.

File details

Details for the file llm_lambda-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: llm_lambda-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for llm_lambda-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9cf97603adfd82cd8fc7c30da515ce295c1396d3f0185106b2a6425c890e5737
MD5 13e0ba1922ba50915baa2a531038450a
BLAKE2b-256 f97ddad35f5504989d0e4af91c9d0c545ee6393196429b6d064bb867e6782676

See more details on using hashes here.

Supported by

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