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: cacheTTL
    value: 10m

Spec metadata fields

FieldRequiredDetailsExample
keyYAPI key for Mistral.mykey
modelNThe Mistral LLM to use. Defaults to open-mistral-7b.open-mistral-7b
cacheTTLNA time-to-live value for a prompt cache to expire. Uses Golang duration format.10m