Proveedor API DeepSeek

De MoodleDocs


¡Nueva característica
en Moodle 5.1 !

La integración de Moodle con DeepSeek proporciona acceso al texto generado por acciones de IA, resumir texto y explicar texto.

Requisitos

Usted necesitará una cuenta en DeepSeek con acceso a una clave API (de paga) de DeepSeek.

Configuración de API de proveedor DeepSeek

Para crear una instancia del proveedor:

  1. Go to Site administration > General > AI providers.
  2. Click 'Create a new provider instance' and select 'DeepSeek API provider'.
  3. Enter a name and your DeepSeek API key.
  4. If required, set a site-wide rate limit and/or a user rate limit.
  5. Click 'Create instance'.

To configure the DeepSeek AI provider instance:

  1. Go to Site administration > General > AI providers.
  2. Click the settings link for the DeepSeek API provider instance.
  3. Enable/disable actions as required.

For each action, you can customise the model's behaviour via the settings link.

AI models include deepseek-chat and deepseek-reasoner.

  • deepseek-chat (Non-thinking Mode) is optimised for general conversations and content creation. It provides quicker, more affordable, and direct responses.
  • deepseek-reasoner (Thinking Mode) is designed for tasks needing more reasoning or step-by-step answers.

Choose deepseek-chat for fast, simple outputs, and deepseek-reasoner for cases that need deeper reasoning.

To enable the DeepSeek API provider instance:

  1. Go to Site administration > General > AI providers.
  2. Click the toggle to enable the instance.

Solución de problemas

For error causes and solutions, see Error Codes | DeepSeek API Docs.