NAME

Langertha::Engine::DeepSeek - DeepSeek API

VERSION

version 0.303

SYNOPSIS

use Langertha::Engine::DeepSeek;

my $deepseek = Langertha::Engine::DeepSeek->new(
    api_key      => $ENV{DEEPSEEK_API_KEY},
    model        => 'deepseek-chat',
    system_prompt => 'You are a helpful assistant',
    temperature  => 0.5,
);

print $deepseek->simple_chat('Say something nice');

DESCRIPTION

Provides access to DeepSeek's models via their API. Composes Langertha::Role::OpenAICompatible with DeepSeek's endpoint (https://api.deepseek.com) and API key handling.

Available models: deepseek-chat (default, general-purpose), deepseek-reasoner (chain-of-thought reasoning), and deepseek-v3.2 (thinking integrated with tool use). Embeddings and transcription are not supported. Dynamic model listing via list_models().

Get your API key at https://platform.deepseek.com/ and set LANGERTHA_DEEPSEEK_API_KEY in your environment.

THIS API IS WORK IN PROGRESS

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudss.us/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.