Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
# KitKat
|
2 |
|
3 |
## Categories
|
|
|
4 |
- allotjament: 90
|
5 |
- banca: 120
|
6 |
- menjar_domicili: 80
|
@@ -11,8 +12,10 @@
|
|
11 |
- ajuntament: 120
|
12 |
- clinica: 59
|
13 |
- telefonia: 80
|
|
|
14 |
|
15 |
## Format
|
|
|
16 |
```
|
17 |
{
|
18 |
"id": 'ed3f7ae9-baaf-46ed-b51f-e3b4344d05ac',
|
@@ -23,10 +26,13 @@
|
|
23 |
{'role': 'usuari', 'text': 'Voldria reservar una de les vostres cases rurals per una setmana, durant el Nadal', 'intent': 'new_booking', 'slots': [...]}
|
24 |
{'role': 'agent', 'text': 'Perfecte. Em podria dir els dies exactes que voldria reservar?', 'intent': None, 'slots': None}
|
25 |
{'role': 'usuari', 'text': 'Doncs del 22 al 27, si pot ser', 'intent': 'response', 'slots': [...]}
|
|
|
26 |
]
|
27 |
}
|
28 |
```
|
29 |
|
|
|
|
|
30 |
## Usage
|
31 |
|
32 |
```python
|
|
|
1 |
# KitKat
|
2 |
|
3 |
## Categories
|
4 |
+
```
|
5 |
- allotjament: 90
|
6 |
- banca: 120
|
7 |
- menjar_domicili: 80
|
|
|
12 |
- ajuntament: 120
|
13 |
- clinica: 59
|
14 |
- telefonia: 80
|
15 |
+
```
|
16 |
|
17 |
## Format
|
18 |
+
Using the first example as a reference:
|
19 |
```
|
20 |
{
|
21 |
"id": 'ed3f7ae9-baaf-46ed-b51f-e3b4344d05ac',
|
|
|
26 |
{'role': 'usuari', 'text': 'Voldria reservar una de les vostres cases rurals per una setmana, durant el Nadal', 'intent': 'new_booking', 'slots': [...]}
|
27 |
{'role': 'agent', 'text': 'Perfecte. Em podria dir els dies exactes que voldria reservar?', 'intent': None, 'slots': None}
|
28 |
{'role': 'usuari', 'text': 'Doncs del 22 al 27, si pot ser', 'intent': 'response', 'slots': [...]}
|
29 |
+
...
|
30 |
]
|
31 |
}
|
32 |
```
|
33 |
|
34 |
+
The field `slots` is a list of dictionaries with the following keys: text, tag, Start_char, End_char
|
35 |
+
|
36 |
## Usage
|
37 |
|
38 |
```python
|