Ollama
Type: conversation.ollama
Status: alpha
Reference: https://docs.dapr.io/reference/components-reference/supported-conversation/ollama/
Example
apiVersion: cra.diagrid.io/v1beta1
kind: Component
metadata:
name: <name>
spec:
type: conversation.ollama
version: v1
metadata:
# A time-to-live value for a prompt cache to expire. Uses Golang durations (Optional)
#- name: cacheTTL
# value: "10m"
# The Ollama LLM to use. Configurable via OLLAMA_MODEL environment variable. (Optional)
#- name: model
# value: "llama3.2:latest"
Metadata
cacheTTL (string)
A time-to-live value for a prompt cache to expire. Uses Golang durations
Example value: 10m
model (string)
The Ollama LLM to use. Configurable via OLLAMA_MODEL environment variable.
Default value: llama3.2:latest
Example value: llama3.2:latest