Skip to content

Commit 2a93678

Browse files
WhitWaldoalicejgibbonsmsfussell
authored
Added local echo conversation component (#4587)
* Added local echo conversation component Signed-off-by: Whit Waldo <[email protected]> * Update daprdocs/content/en/reference/components-reference/supported-conversation/local-echo.md Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Whit Waldo <[email protected]> * Update local-echo.md Fixed repeated text Signed-off-by: Mark Fussell <[email protected]> * Update generic.yaml Marking Echo stable, since it is only used for local testing Signed-off-by: Mark Fussell <[email protected]> --------- Signed-off-by: Whit Waldo <[email protected]> Signed-off-by: Mark Fussell <[email protected]> Co-authored-by: Alice Gibbons <[email protected]> Co-authored-by: Mark Fussell <[email protected]>
1 parent 5521405 commit 2a93678

File tree

2 files changed

+33
-0
lines changed
  • daprdocs

2 files changed

+33
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
type: docs
3+
title: "Local Testing"
4+
linkTitle: "Echo"
5+
description: Detailed information on the echo conversation component used for local testing
6+
---
7+
8+
## Component format
9+
10+
A Dapr `conversation.yaml` component file has the following structure:
11+
12+
```yaml
13+
apiVersion: dapr.io/v1alpha1
14+
kind: Component
15+
metadata:
16+
name: echo
17+
spec:
18+
type: conversation.echo
19+
version: v1
20+
```
21+
22+
{{% alert title="Information" color="warning" %}}
23+
This component is only meant for local validation and testing of a Conversation component implementation. It does not actually send the data to any LLM but rather echos the input back directly.
24+
{{% /alert %}}
25+
26+
## Related links
27+
28+
- [Conversation API overview]({{< ref conversation-overview.md >}})

daprdocs/data/components/conversation/generic.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@
2323
state: Alpha
2424
version: v1
2525
since: "1.15"
26+
- component: Local echo
27+
link: local-echo
28+
state: Stable
29+
version: v1
30+
since: "1.15"

0 commit comments

Comments
 (0)