Skip to content

Commit

Permalink
add missing slot mappings to examples in domain
Browse files Browse the repository at this point in the history
  • Loading branch information
amn41 committed Sep 21, 2023
1 parent da46629 commit fdafad3
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/docs/concepts/domain.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ Different slot types exist to restrict the possible values a slot can take.

```yaml-rasa
slots:
cuisine:
type: text
cuisine:
type: text
mappings:
- type: custom
```
- **Allowed Values**

Expand All @@ -90,8 +92,10 @@ Different slot types exist to restrict the possible values a slot can take.

```yaml-rasa
slots:
confirmation:
type: bool
confirmation:
type: bool
mappings:
- type: custom
```
- **Allowed Values**

Expand All @@ -105,6 +109,8 @@ Different slot types exist to restrict the possible values a slot can take.
slots:
risk_level:
type: categorical
mappings:
- type: custom
values:
- low
- medium
Expand All @@ -119,6 +125,8 @@ Different slot types exist to restrict the possible values a slot can take.
slots:
temperature:
type: float
mappings:
- type: custom
```

#### Any Slot
Expand All @@ -129,6 +137,8 @@ Different slot types exist to restrict the possible values a slot can take.
slots:
shopping_items:
type: any
mappings:
- type: custom
```


Expand All @@ -141,6 +151,8 @@ slots:
num_fallbacks:
type: float
initial_value: 0
mappings:
- type: custom
```

### Slot Mappings
Expand Down

0 comments on commit fdafad3

Please sign in to comment.