Anthropic
Type: conversation.anthropic
Status: alpha
Reference: https://docs.dapr.io/reference/components-reference/supported-conversation/anthropic/
Example
apiVersion: cra.diagrid.io/v1beta1
kind: Component
metadata:
name: <name>
spec:
type: conversation.anthropic
version: v1
metadata:
# API key for Anthropic.
- name: key
value: |
**********
# A time-to-live value for a prompt cache to expire. Uses Golang durations (Optional)
#- name: cacheTTL
# value: "10m"
# The Anthropic LLM to use. Defaults to claude-3-5-sonnet-20240620 (Optional)
#- name: model
# value: "claude-3-5-sonnet-20240620"
Authentication profiles
Available authentication profiles:
- API Key
API Key
Authenticate using an API key
key
(string)
Required - API key for Anthropic.
Example value:
**********
Metadata
cacheTTL
(string)
A time-to-live value for a prompt cache to expire. Uses Golang durations
Example value: 10m
model
(string)
The Anthropic LLM to use. Defaults to claude-3-5-sonnet-20240620
Example value: claude-3-5-sonnet-20240620