Access deepseek.com models via API
Project description
llm-deepseek
Access deepseek.com models via API
Installation
Install this plugin in the same environment as LLM.
llm install llm-deepseek
Usage
Obtain a DeepSeek API key and save it like this:
llm keys set deepseek
# <Paste key here>
Run llm models
to get a list of models.
Run prompts like this:
llm -m deepseek-chat 'five great names for a pet ocelot'
llm -m deepseek-coder 'how to reverse a linked list in python'
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-deepseek
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
llm_deepseek-0.1a0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for llm_deepseek-0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0f911f1711da656de1da80ff09bb7af58860c35795dd20ed1fd20e3a2344ced |
|
MD5 | 1b3f9f48f3a6c76a2d507a8c83de4587 |
|
BLAKE2b-256 | c6a2aa1850282bc28527fbd2e5b8d23506824ced568f1b2a4e2b848525fd57e4 |