Skip to main content

Deepseek

Type: conversation.deepseek

Status: alpha

Reference: https://docs.dapr.io/reference/components-reference/supported-conversation/setup-deepseek/

Example

apiVersion: cra.diagrid.io/v1beta1
kind: Component
metadata:
name: <name>
spec:
type: conversation.deepseek
version: v1
metadata:
# API key for Deepseek.
- name: key
value: |
**********
# Custom API endpoint URL for Deepseek. If not specified, the default endpoint will be used. (Optional)
#- name: endpoint
# value: "https://api.deepseek.com"
# Max tokens for each request (Optional)
#- name: maxTokens
# value: "2048"
# The Deepseek LLM to use. (Optional)
#- name: model
# value: "deepseek-chat"

Authentication profiles

Available authentication profiles:

  • API Key

API Key

Authenticate using an API key

key (string)

Required - API key for Deepseek.

Example value:

**********

Metadata

endpoint (string)

Custom API endpoint URL for Deepseek. If not specified, the default endpoint will be used.

Default value: https://api.deepseek.com

Example value: https://api.deepseek.com

maxTokens (number)

Max tokens for each request

Example value: 2048

model (string)

The Deepseek LLM to use.

Default value: deepseek-chat

Example value: deepseek-reasoner