File size: 1,282 Bytes
66a3eec
 
 
f420448
65fbdbe
f420448
 
 
65fbdbe
f420448
65fbdbe
f420448
65fbdbe
f420448
65fbdbe
f420448
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7dec775
f420448
 
 
 
 
 
7dec775
65fbdbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
license: mit
---
# Table of Contents

* [fixed\_reply](#fixed_reply)
  * [FixedReplyFlow](#fixed_reply.FixedReplyFlow)
    * [run](#fixed_reply.FixedReplyFlow.run)

<a id="fixed_reply"></a>

# fixed\_reply

<a id="fixed_reply.FixedReplyFlow"></a>

## FixedReplyFlow Objects

```python
class FixedReplyFlow(AtomicFlow)
```

This class implements a FixedReplyFlow. It's used to reply with a fixed reply.

*Configuration Parameters*:

- `name` (str): The name of the flow.

- `description` (str): A description of the flow. This description is used to generate the help message of the flow.

- `fixed_reply` (str): The fixed reply to reply with.

- The other configuration parameters are inherited from the default configuration of AtomicFlow (see AtomicFlow)

*Input Interface*:

- None

Output Interface:

- `fixed_reply` (str): The fixed reply.

**Arguments**:

- `\**kwargs` (`Dict[str, Any]`): The keyword arguments passed to the AtomicFlow constructor. Among these is the flow_config which should also contain the "fixed_reply" key.

<a id="fixed_reply.FixedReplyFlow.run"></a>

#### run

```python
def run(input_message: FlowMessage)
```

Runs the FixedReplyFlow. It's used to reply with a fixed reply.

**Arguments**:

- `input_message` (`FlowMessage`): The input message