# Deepseek conversation

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"
    # Default maximum number of tokens the model may generate per request. A request-level maxTokens value greater than zero overrides this default. When unset, no cap is sent and the provider's own default applies. (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)

Default maximum number of tokens the model may generate per request. A request-level maxTokens value greater than zero overrides this default. When unset, no cap is sent and the provider's own default applies.

Example value: `2048`

### `model` (string)

The Deepseek LLM to use.

Default value: `deepseek-chat`

Example value: `deepseek-reasoner`
