llm-lambda


Namellm-lambda JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryLLM access to LAMBDA's API
upload_time2024-09-10 19:09:49
maintainerNone
docs_urlNone
authorNick Mystic
requires_pythonNone
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # llm-lambda

[![PyPI](https://img.shields.io/pypi/v/llm-lambda.svg)](https://pypi.org/project/llm-lambda/0.1.1)
[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/ghostofpokemon/llm-lambda?include_prereleases)](https://github.com/ghostofpokemon/llm-lambda/releases)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/ghostofpokemon/llm-lambda/blob/main/LICENSE)

LLM access to Hermes3 models by lambda Labs

## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).

```bash
llm install llm-lambda
```

## Usage

First, set an [API key](https://cloud.lambdalabs.com/api-keys) for Lambda Labs:

```bash
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:

```bash
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:

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

Now install the dependencies and test dependencies:

```bash
llm install -e '.[test]'
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llm-lambda",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Nick Mystic",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/f4/48/1e4c8f02729df467e3b38872f9ea0eeee08583c60608b18364fba924ca27/llm_lambda-0.1.1.tar.gz",
    "platform": null,
    "description": "# llm-lambda\n\n[![PyPI](https://img.shields.io/pypi/v/llm-lambda.svg)](https://pypi.org/project/llm-lambda/0.1.1)\n[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/ghostofpokemon/llm-lambda?include_prereleases)](https://github.com/ghostofpokemon/llm-lambda/releases)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/ghostofpokemon/llm-lambda/blob/main/LICENSE)\n\nLLM access to Hermes3 models by lambda Labs\n\n## Installation\n\nInstall this plugin in the same environment as [LLM](https://llm.datasette.io/).\n\n```bash\nllm install llm-lambda\n```\n\n## Usage\n\nFirst, set an [API key](https://cloud.lambdalabs.com/api-keys) for Lambda Labs:\n\n```bash\nllm keys set lambda\n# Paste key here\n```\n\nRun `llm models` to list the models, and `llm models --options` to include a list of their options.\n\nRun prompts like this:\n\n```bash\nllm -m h3-chat \"Describe a Numogram ritual in Lemuria\"\nllm -m h3-completion \"The time-sorcerer activated the Barbelith, causing\"\nllm -m h3-128-chat \"Explain the concept of techno-shamanism\"\nllm -m h3-128-completion \"In the year 2099, the first human-AI hybrid\"\n```\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n\n```bash\ncd llm-lambda\npython3 -m venv venv\nsource venv/bin/activate\n```\n\nNow install the dependencies and test dependencies:\n\n```bash\nllm install -e '.[test]'\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "LLM access to LAMBDA's API",
    "version": "0.1.1",
    "project_urls": {
        "CI": "https://github.com/ghostofpokemon/llm-lambda/actions",
        "Homepage": "https://github.com/ghostofpokemon/llm-lambda",
        "Issues": "https://github.com/ghostofpokemon/llm-lambda/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f97ddad35f5504989d0e4af91c9d0c545ee6393196429b6d064bb867e6782676",
                "md5": "13e0ba1922ba50915baa2a531038450a",
                "sha256": "9cf97603adfd82cd8fc7c30da515ce295c1396d3f0185106b2a6425c890e5737"
            },
            "downloads": -1,
            "filename": "llm_lambda-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "13e0ba1922ba50915baa2a531038450a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8379,
            "upload_time": "2024-09-10T19:09:47",
            "upload_time_iso_8601": "2024-09-10T19:09:47.577482Z",
            "url": "https://files.pythonhosted.org/packages/f9/7d/dad35f5504989d0e4af91c9d0c545ee6393196429b6d064bb867e6782676/llm_lambda-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4481e4c8f02729df467e3b38872f9ea0eeee08583c60608b18364fba924ca27",
                "md5": "f07319f55222860508fc82ee8b64a4f4",
                "sha256": "061924e878bf5dc24b56216cde602b89be6103df9cdf751e5db178c79e394c36"
            },
            "downloads": -1,
            "filename": "llm_lambda-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f07319f55222860508fc82ee8b64a4f4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8392,
            "upload_time": "2024-09-10T19:09:49",
            "upload_time_iso_8601": "2024-09-10T19:09:49.098355Z",
            "url": "https://files.pythonhosted.org/packages/f4/48/1e4c8f02729df467e3b38872f9ea0eeee08583c60608b18364fba924ca27/llm_lambda-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-10 19:09:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ghostofpokemon",
    "github_project": "llm-lambda",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "llm-lambda"
}
        
Elapsed time: 0.62010s