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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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