Skip to content

abrasumente233/llm-deepseek

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llm-deepseek

PyPI Changelog Tests License

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-reasoner 'solve \\int \\frac{\\ln(x)\\arctan(x)}{x^2+1} dx'
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

About

Access deepseek.com models via API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%