The documentation you are viewing is for Dapr v1.17 which is an older version of Dapr. For up-to-date documentation, see the latest version.

Mistral

Detailed information on the Mistral conversation component

Component format

A Dapr conversation.yaml component file has the following structure:

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: mistral
spec:
  type: conversation.mistral
  metadata:
  - name: key
    value: mykey
  - name: model
    value: open-mistral-7b
  - name: responseCacheTTL
    value: 10m

Spec metadata fields

FieldRequiredDetailsExample
keyYAPI key for Mistral.mykey
modelNThe Mistral LLM to use. Defaults to open-mistral-7b.open-mistral-7b
responseCacheTTLNTime-to-live for the in-memory response cache. When set, identical requests are served from cache until they expire.10m