Name | llm-reka JSON |
Version |
0.1a0
JSON |
| download |
home_page | None |
Summary | Access Reka models via the Reka API |
upload_time | 2024-04-18 02:26:49 |
maintainer | None |
docs_url | None |
author | Simon Willison |
requires_python | None |
license | Apache-2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# llm-reka
[![PyPI](https://img.shields.io/pypi/v/llm-reka.svg)](https://pypi.org/project/llm-reka/)
[![Changelog](https://img.shields.io/github/v/release/simonw/llm-reka?include_prereleases&label=changelog)](https://github.com/simonw/llm-reka/releases)
[![Tests](https://github.com/simonw/llm-reka/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-reka/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-reka/blob/main/LICENSE)
Access Reka models via the Reka API
## Installation
Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-reka
```
## Usage
Get [a Reka API key](https://platform.reka.ai/apikeys) and configure it like this:
```bash
llm keys set reka
# Paste in the API key
```
Use `llm -m reka-flash "prompt"` to run prompts against `reka-flash`.
The other models supported are `reka-core` and `reka-edge`.
Core is the most expensive, then Flash, then Edge is cheapest. [Pricing here]().
## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-reka
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-reka",
"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/fb/e8/66d8be167a5c9aac0f9cf91aafcaddb00bec3746bb360e365d35eb5b3417/llm_reka-0.1a0.tar.gz",
"platform": null,
"description": "# llm-reka\n\n[![PyPI](https://img.shields.io/pypi/v/llm-reka.svg)](https://pypi.org/project/llm-reka/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/llm-reka?include_prereleases&label=changelog)](https://github.com/simonw/llm-reka/releases)\n[![Tests](https://github.com/simonw/llm-reka/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-reka/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-reka/blob/main/LICENSE)\n\nAccess Reka models via the Reka API\n\n## Installation\n\nInstall this plugin in the same environment as [LLM](https://llm.datasette.io/).\n```bash\nllm install llm-reka\n```\n## Usage\n\nGet [a Reka API key](https://platform.reka.ai/apikeys) and configure it like this:\n```bash\nllm keys set reka\n# Paste in the API key\n```\n\nUse `llm -m reka-flash \"prompt\"` to run prompts against `reka-flash`.\n\nThe other models supported are `reka-core` and `reka-edge`.\n\nCore is the most expensive, then Flash, then Edge is cheapest. [Pricing here]().\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd llm-reka\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 Reka models via the Reka API",
"version": "0.1a0",
"project_urls": {
"CI": "https://github.com/simonw/llm-reka/actions",
"Changelog": "https://github.com/simonw/llm-reka/releases",
"Homepage": "https://github.com/simonw/llm-reka",
"Issues": "https://github.com/simonw/llm-reka/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6617ef759ffec854972c5dbcd4eaefa1943126a42893e5908b0ee17c523d8533",
"md5": "1dabb517bb4620b3cdd384cb2e24ba6a",
"sha256": "5b6951f324ab6ae3fbd140d085742d1830c331e368f98e991f435d68dd5a834c"
},
"downloads": -1,
"filename": "llm_reka-0.1a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1dabb517bb4620b3cdd384cb2e24ba6a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6716,
"upload_time": "2024-04-18T02:26:47",
"upload_time_iso_8601": "2024-04-18T02:26:47.473440Z",
"url": "https://files.pythonhosted.org/packages/66/17/ef759ffec854972c5dbcd4eaefa1943126a42893e5908b0ee17c523d8533/llm_reka-0.1a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fbe866d8be167a5c9aac0f9cf91aafcaddb00bec3746bb360e365d35eb5b3417",
"md5": "c2b3f4295af0c2fe76ef97a367d5701a",
"sha256": "ed0b3b639085d041e9e08f616a743eb38855592be8ac077bb1e4615a238785d1"
},
"downloads": -1,
"filename": "llm_reka-0.1a0.tar.gz",
"has_sig": false,
"md5_digest": "c2b3f4295af0c2fe76ef97a367d5701a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6423,
"upload_time": "2024-04-18T02:26:49",
"upload_time_iso_8601": "2024-04-18T02:26:49.099791Z",
"url": "https://files.pythonhosted.org/packages/fb/e8/66d8be167a5c9aac0f9cf91aafcaddb00bec3746bb360e365d35eb5b3417/llm_reka-0.1a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-18 02:26:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "simonw",
"github_project": "llm-reka",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "llm-reka"
}