mirror of https://github.com/dapr/docs.git
Added local echo conversation component (#4587)
* Added local echo conversation component Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/reference/components-reference/supported-conversation/local-echo.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update local-echo.md Fixed repeated text Signed-off-by: Mark Fussell <markfussell@gmail.com> * Update generic.yaml Marking Echo stable, since it is only used for local testing Signed-off-by: Mark Fussell <markfussell@gmail.com> --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Signed-off-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
5521405b27
commit
2a9367884d
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
type: docs
|
||||||
|
title: "Local Testing"
|
||||||
|
linkTitle: "Echo"
|
||||||
|
description: Detailed information on the echo conversation component used for local testing
|
||||||
|
---
|
||||||
|
|
||||||
|
## Component format
|
||||||
|
|
||||||
|
A Dapr `conversation.yaml` component file has the following structure:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: echo
|
||||||
|
spec:
|
||||||
|
type: conversation.echo
|
||||||
|
version: v1
|
||||||
|
```
|
||||||
|
|
||||||
|
{{% alert title="Information" color="warning" %}}
|
||||||
|
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.
|
||||||
|
{{% /alert %}}
|
||||||
|
|
||||||
|
## Related links
|
||||||
|
|
||||||
|
- [Conversation API overview]({{< ref conversation-overview.md >}})
|
|
@ -23,3 +23,8 @@
|
||||||
state: Alpha
|
state: Alpha
|
||||||
version: v1
|
version: v1
|
||||||
since: "1.15"
|
since: "1.15"
|
||||||
|
- component: Local echo
|
||||||
|
link: local-echo
|
||||||
|
state: Stable
|
||||||
|
version: v1
|
||||||
|
since: "1.15"
|
||||||
|
|
Loading…
Reference in New Issue