llm-command-r


Namellm-command-r JSON
Version 0.1 PyPI version JSON
download
home_pageNone
SummaryAccess the Cohere Command R family of models
upload_time2024-04-04 14:33:06
maintainerNone
docs_urlNone
authorSimon Willison
requires_pythonNone
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # llm-command-r

[![PyPI](https://img.shields.io/pypi/v/llm-command-r.svg)](https://pypi.org/project/llm-command-r/)
[![Changelog](https://img.shields.io/github/v/release/simonw/llm-command-r?include_prereleases&label=changelog)](https://github.com/simonw/llm-command-r/releases)
[![Tests](https://github.com/simonw/llm-command-r/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-command-r/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-command-r/blob/main/LICENSE)

Access the [Cohere Command R](https://docs.cohere.com/docs/command-r) family of models via the Cohere API

## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-command-r
```

## Configuration

You will need a [Cohere API key](https://dashboard.cohere.com/api-keys). Configure it like this:

```bash
llm keys set cohere
# Paste key here
```

## Usage

This plugin adds two models.

```bash
llm -m command-r 'Say hello from Command R'
llm -m command-r-plus 'Say hello from Command R Plus'
```

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-command-r
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
llm install -e '.[test]'
```
To run the tests:
```bash
pytest
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llm-command-r",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Simon Willison",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/67/c8/7f5b5a6403a0527065ba9248068446abb41813d7e1c48a2c0980e0342e12/llm-command-r-0.1.tar.gz",
    "platform": null,
    "description": "# llm-command-r\n\n[![PyPI](https://img.shields.io/pypi/v/llm-command-r.svg)](https://pypi.org/project/llm-command-r/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/llm-command-r?include_prereleases&label=changelog)](https://github.com/simonw/llm-command-r/releases)\n[![Tests](https://github.com/simonw/llm-command-r/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-command-r/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-command-r/blob/main/LICENSE)\n\nAccess the [Cohere Command R](https://docs.cohere.com/docs/command-r) family of models via the Cohere API\n\n## Installation\n\nInstall this plugin in the same environment as [LLM](https://llm.datasette.io/).\n```bash\nllm install llm-command-r\n```\n\n## Configuration\n\nYou will need a [Cohere API key](https://dashboard.cohere.com/api-keys). Configure it like this:\n\n```bash\nllm keys set cohere\n# Paste key here\n```\n\n## Usage\n\nThis plugin adds two models.\n\n```bash\nllm -m command-r 'Say hello from Command R'\nllm -m command-r-plus 'Say hello from Command R Plus'\n```\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd llm-command-r\npython3 -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\nllm install -e '.[test]'\n```\nTo run the tests:\n```bash\npytest\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Access the Cohere Command R family of models",
    "version": "0.1",
    "project_urls": {
        "CI": "https://github.com/simonw/llm-command-r/actions",
        "Changelog": "https://github.com/simonw/llm-command-r/releases",
        "Homepage": "https://github.com/simonw/llm-command-r",
        "Issues": "https://github.com/simonw/llm-command-r/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "437d414639a84fcda0510feb281f77fd61c9de59d13eae5549609d89ee19db36",
                "md5": "38d309303dcdc17c4c9d476e180cfc19",
                "sha256": "762a93ca40d2bc27da217cf9ad1f072512138a5a516a6a36ac05e9aea1ec4bb6"
            },
            "downloads": -1,
            "filename": "llm_command_r-0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "38d309303dcdc17c4c9d476e180cfc19",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7011,
            "upload_time": "2024-04-04T14:33:04",
            "upload_time_iso_8601": "2024-04-04T14:33:04.501282Z",
            "url": "https://files.pythonhosted.org/packages/43/7d/414639a84fcda0510feb281f77fd61c9de59d13eae5549609d89ee19db36/llm_command_r-0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67c87f5b5a6403a0527065ba9248068446abb41813d7e1c48a2c0980e0342e12",
                "md5": "86d8b9815e81739bd1a598211b0e1178",
                "sha256": "95d094aa415936ed2561038879fc1da298bb10c807c286ab908a7295d5f8462a"
            },
            "downloads": -1,
            "filename": "llm-command-r-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "86d8b9815e81739bd1a598211b0e1178",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6678,
            "upload_time": "2024-04-04T14:33:06",
            "upload_time_iso_8601": "2024-04-04T14:33:06.337736Z",
            "url": "https://files.pythonhosted.org/packages/67/c8/7f5b5a6403a0527065ba9248068446abb41813d7e1c48a2c0980e0342e12/llm-command-r-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-04 14:33:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "simonw",
    "github_project": "llm-command-r",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "llm-command-r"
}
        
Elapsed time: 0.71575s