more content

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2025-01-17 14:36:22 -05:00
parent ed68687f5f
commit 6c41e3f444
1 changed files with 18 additions and 4 deletions

View File

@ -101,16 +101,30 @@ Exited App successfully
### What happened?
Running `dapr run -f .` in this Quickstart...
#### `dapr.yaml` Multi-App Run template file
#### `conversation.yaml` LLM component
Running the [Multi-App Run template file]({{< ref multi-app-dapr-run >}}) with `dapr run -f .` starts all applications in your project. In this Quickstart, the `dapr.yaml` file contains the following:
In [`conversation/components`](https://github.com/dapr/quickstarts/tree/master/conversation/components) directly of the quickstart, the [`conversation.yaml` file](https://github.com/dapr/quickstarts/tree/master/conversation/components/conversation.yml) configures the Anthropic LLM component.
```yml
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: conversation
spec:
type: conversation.anthropic
version: v1
metadata:
- name: key
secretKeyRef:
name: anthropic
key: anthropic
auth:
secretStore: envvar-secrets
```
For authentication, the component also uses a secret store called [`envvar-secrets`](https://github.com/dapr/quickstarts/tree/master/conversation/components/envvar.yml).
#### `Program.cs` conversation app
```csharp