Skip to main content

Echo conversation

Type: conversation.echo

Status: alpha

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

Example​

apiVersion: cra.diagrid.io/v1beta1
kind: Component
metadata:
name: <name>
spec:
type: conversation.echo
version: v1
metadata:
# Default maximum number of "tokens" (whitespace-delimited words) echoed back per request. A request-level maxTokens value greater than zero overrides this default. When the cap truncates the output, the finish reason is length. When unset, the input is echoed back in full without truncation. (Optional)
#- name: maxTokens
# value: "2048"

Metadata​

maxTokens (number)​

Default maximum number of "tokens" (whitespace-delimited words) echoed back per request. A request-level maxTokens value greater than zero overrides this default. When the cap truncates the output, the finish reason is length. When unset, the input is echoed back in full without truncation.

Example value: 2048