feat: response and test file

This commit is contained in:
Adam Stelmaszyk 2024-06-13 19:59:34 +02:00
parent 832fe16749
commit ff53730a08
3 changed files with 958 additions and 15 deletions

View File

@ -1,14 +1,22 @@
{
"inform": {
"item": "Nasz sklep oferuje szeroki wybór artykułów, takich jak\n artykuły spożywcze,\n ogrodowe\n oraz kosmetyki. Proszę podaj produkt.",
"address": "Nasz sklep nie ma fizycznego adresu. To sklep internetowy.",
"item": [
"Nasz sklep oferuje szeroki wybór artykułów, takich jak\n artykuły spożywcze,\n ogrodowe\n oraz kosmetyki. Proszę podaj produkt.",
"W naszym sklepie znajdziesz produkty takie jak elektronika, artykuły biurowe i zabawki. Podaj produkt, który Cię interesuje."
],
"address": [
"Nasz sklep nie ma fizycznego adresu. To sklep internetowy.",
"Nasz sklep jest wyłącznie online, nie mamy fizycznego adresu."
],
"delivery_method": "Dostępne formy dostawy: INPOST, DPD, DHL.",
"payment_method": "Dostępne formy płatności: Karta, przy odbiorze",
"email": "Obsługa klienta: cs2137@gmail.com",
"card_nr": [
"Dzięki karcie rabatowej zbierasz punkty, które poźniej przekładają się na rabat.",
"Dzisiaj z kartą rabatową meble ogrodowe 200zł taniej!",
"Dzisiaj z kartą rabatową szampony 2 w cenie 1!"
"Dzisiaj z kartą rabatową szampony 2 w cenie 1!",
"Z kartą rabatową zbierasz punkty na każde zakupy.",
"Dzisiaj z kartą rabatową artykuły biurowe 50zł taniej!"
]
},
"canthelp": {
@ -17,19 +25,39 @@
"Nie jestem pewien, co masz na myśli. Czy możesz to wyjaśnić?",
"Nie rozumiem. Możesz to powtórzyć?",
"Nie jestem pewien, co masz na myśli. Możesz to wyjaśnić?",
"Nie jestem pewien, co masz na myśli. Czy możesz to wyjaśnić?"
"Nie jestem pewien, co masz na myśli. Czy możesz to wyjaśnić?",
"Proszę wyjaśnij, o co chodzi.",
"Nie jestem pewien, co masz na myśli. Czy możesz to powtórzyć?"
]
},
"request": {
"card_nr": "Podaj proszę numer karty rabatowej",
"address": "Podaj proszę adres do wysyłki",
"item": "Jaki produkt chcesz kupić?",
"item": [
"Jakie produkty chciałbyś zamówić?",
"Jaki produkt chcesz kupić?"
],
"email": "Podaj proszę email.",
"delivery_method": "Jaką formą dostawy jesteś zainteresowany?",
"payment_method": "Jaką formą płatności jesteś zainteresowany?",
"delivery_method": [
"Jaką formą dostawy jesteś zainteresowany?",
"Jaką formę dostawy wybierasz?"
],
"payment_method": [
"Jaką formą płatności jesteś zainteresowany?",
"Jaką formę płatności wybierasz?"
],
"price": "20ZŁ"
},
"bye": "Miłego dnia!",
"welcomemsg": "Dzień dobry!",
"confirmation": "Zamówienie zostało złożone!"
"bye": [
"Dziękujemy, do zobaczenia",
"Miłego dnia!"
],
"welcomemsg": [
"Dzień dobry!",
"Witamy w naszym sklepie!"
],
"confirmation": [
"Zamówienie zostało złożone!",
"Twoje zamówienie zostało pomyślnie złożone!"
]
}

View File

@ -782,3 +782,917 @@
1 Ul. inform B-address
2 Poznaska inform I-address
3 15 inform I-address
# text: Czy macie w ofercie rowery górskie?
# intent: request
# slots:
1 Czy request NoLabel
2 macie request NoLabel
3 w request NoLabel
4 ofercie request NoLabel
5 rowery request B-item
6 górskie request I-item
7 ? request NoLabel
# text: Tak, mamy rowery górskie w cenach od 2000ZL do 5000ZL.
# intent: inform
# slots:
1 Tak inform NoLabel
2 , inform NoLabel
3 mamy inform NoLabel
4 rowery inform B-item
5 górskie inform I-item
6 w inform NoLabel
7 cenach inform B-price
8 od inform NoLabel
9 2000ZL inform I-price
10 do inform NoLabel
11 5000ZL inform I-price
12 . inform NoLabel
# text: Chcę zamówić rower górski za 3000ZL.
# intent: inform
# slots:
1 Chcę inform NoLabel
2 zamówić inform NoLabel
3 rower inform B-item
4 górski inform I-item
5 za inform NoLabel
6 3000ZL inform B-price
7 . inform NoLabel
# text: Proszę o podanie adresu wysyłki.
# intent: request
# slots:
1 Proszę request NoLabel
2 o request NoLabel
3 podanie request NoLabel
4 adresu request B-address
5 wysyłki request I-address
6 . request NoLabel
# text: Ulica Zielona 12, 00-000 Warszawa
# intent: inform
# slots:
1 Ulica inform B-address
2 Zielona inform I-address
3 12 inform I-address
4 , inform NoLabel
5 00-000 inform I-address
6 Warszawa inform I-address
# text: Jakie są dostępne kolory rowerów?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 dostępne request NoLabel
4 kolory request B-color
5 rowerów request NoLabel
6 ? request NoLabel
# text: Dostępne kolory to czerwony, niebieski i czarny.
# intent: inform
# slots:
1 Dostępne inform NoLabel
2 kolory inform B-color
3 to inform NoLabel
4 czerwony inform I-color
5 , inform NoLabel
6 niebieski inform I-color
7 i inform NoLabel
8 czarny inform I-color
9 . inform NoLabel
# text: Czy są dostępne rozmiary kół 26 cali i 29 cali?
# intent: request
# slots:
1 Czy request NoLabel
2 są request NoLabel
3 dostępne request NoLabel
4 rozmiary request NoLabel
5 kół request NoLabel
6 26 request B-size
7 cali request I-size
8 i request NoLabel
9 29 request B-size
10 cali request I-size
11 ? request NoLabel
# text: Tak, mamy rowery z kołami 26 cali i 29 cali.
# intent: inform
# slots:
1 Tak inform NoLabel
2 , inform NoLabel
3 mamy inform NoLabel
4 rowery inform B-item
5 z inform NoLabel
6 kołami inform B-size
7 26 inform I-size
8 cali inform I-size
9 i inform NoLabel
10 29 inform B-size
11 cali inform I-size
12 . inform NoLabel
# text: Chciałbym wiedzieć, jakie są opcje płatności.
# intent: request
# slots:
1 Chciałbym request NoLabel
2 wiedzieć request NoLabel
3 , request NoLabel
4 jakie request NoLabel
5 są request NoLabel
6 opcje request B-payment_method
7 płatności request I-payment_method
8 . request NoLabel
# text: Oferujemy płatność kartą, przelewem oraz gotówką przy odbiorze.
# intent: inform
# slots:
1 Oferujemy inform NoLabel
2 płatność inform B-payment_method
3 kartą inform I-payment_method
4 , inform NoLabel
5 przelewem inform I-payment_method
6 oraz inform NoLabel
7 gotówką inform I-payment_method
8 przy inform NoLabel
9 odbiorze inform I-payment_method
10 . inform NoLabel
# text: Chciałbym zarezerwować rower i opłacić przelewem.
# intent: inform
# slots:
1 Chciałbym inform NoLabel
2 zarezerwować inform NoLabel
3 rower inform B-item
4 i inform NoLabel
5 opłacić inform NoLabel
6 przelewem inform B-payment_method
7 . inform NoLabel
# text: Czy mogę zwrócić rower, jeśli mi się nie spodoba?
# intent: request
# slots:
1 Czy request NoLabel
2 mogę request NoLabel
3 zwrócić request NoLabel
4 rower request B-item
5 , request NoLabel
6 jeśli request NoLabel
7 mi request NoLabel
8 się request NoLabel
9 nie request NoLabel
10 spodoba request NoLabel
11 ? request NoLabel
# text: Tak, możliwy jest zwrot w ciągu 14 dni od zakupu.
# intent: inform
# slots:
1 Tak inform NoLabel
2 , inform NoLabel
3 możliwy inform NoLabel
4 jest inform NoLabel
5 zwrot inform NoLabel
6 w inform NoLabel
7 ciągu inform NoLabel
8 14 inform B-duration
9 dni inform I-duration
10 od inform NoLabel
11 zakupu inform NoLabel
12 . inform NoLabel
# text: Jakie są warunki gwarancji?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 warunki request NoLabel
4 gwarancji request NoLabel
5 ? request NoLabel
# text: Gwarancja obejmuje 2 lata na wszystkie części.
# intent: inform
# slots:
1 Gwarancja inform NoLabel
2 obejmuje inform NoLabel
3 2 inform B-duration
4 lata inform I-duration
5 na inform NoLabel
6 wszystkie inform NoLabel
7 części inform NoLabel
8 . inform NoLabel
# text: Jak długo trwa realizacja zamówienia?
# intent: request
# slots:
1 Jak request NoLabel
2 długo request NoLabel
3 trwa request NoLabel
4 realizacja request NoLabel
5 zamówienia request NoLabel
6 ? request NoLabel
# text: Realizacja zamówienia trwa do 7 dni roboczych.
# intent: inform
# slots:
1 Realizacja inform NoLabel
2 zamówienia inform NoLabel
3 trwa inform NoLabel
4 do inform NoLabel
5 7 inform B-duration
6 dni inform I-duration
7 roboczych inform I-duration
8 . inform NoLabel
# text: Proszę o numer telefonu kontaktowego.
# intent: request
# slots:
1 Proszę request NoLabel
2 o request NoLabel
3 numer request NoLabel
4 telefonu request B-contact
5 kontaktowego request I-contact
6 . request NoLabel
# text: Numer telefonu to +48123456789.
# intent: inform
# slots:
1 Numer inform NoLabel
2 telefonu inform B-contact
3 to inform NoLabel
4 +48123456789 inform I-contact
5 . inform NoLabel
# text: Jakie są godziny otwarcia sklepu?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 godziny request B-hours
4 otwarcia request I-hours
5 sklepu request I-hours
6 ? request NoLabel
# text: Sklep jest otwarty od poniedziałku do piątku w godzinach 9:00-18:00, a w soboty od 10:00 do 14:00.
# intent: inform
# slots:
1 Sklep inform NoLabel
2 jest inform NoLabel
3 otwarty inform NoLabel
4 od inform NoLabel
5 poniedziałku inform B-hours
6 do inform I-hours
7 piątku inform I-hours
8 w inform NoLabel
9 godzinach inform NoLabel
10 9:00-18:00 inform B-hours
11 , inform NoLabel
12 a inform NoLabel
13 w inform NoLabel
14 soboty inform B-hours
15 od inform NoLabel
16 10:00 inform I-hours
17 do inform NoLabel
18 14:00 inform I-hours
19 . inform NoLabel
# text: Chciałbym kupić laptopa.
# intent: inform
# slots:
1 Chciałbym inform NoLabel
2 kupić inform NoLabel
3 laptopa inform B-item
4 . inform NoLabel
# text: Jakie modele laptopów oferujecie?
# intent: request
# slots:
1 Jakie request NoLabel
2 modele request B-item
3 laptopów request I-item
4 oferujecie request NoLabel
5 ? request NoLabel
# text: Mamy w ofercie laptopy Dell, HP oraz Lenovo.
# intent: inform
# slots:
1 Mamy inform NoLabel
2 w inform NoLabel
3 ofercie inform NoLabel
4 laptopy inform B-item
5 Dell inform I-item
6 , inform NoLabel
7 HP inform I-item
8 oraz inform NoLabel
9 Lenovo inform I-item
10 . inform NoLabel
# text: Jaki jest czas dostawy laptopa?
# intent: request
# slots:
1 Jaki request NoLabel
2 jest request NoLabel
3 czas request B-delivery_time
4 dostawy request I-delivery_time
5 laptopa request NoLabel
6 ? request NoLabel
# text: Dostawa laptopa trwa od 3 do 5 dni roboczych.
# intent: inform
# slots:
1 Dostawa inform NoLabel
2 laptopa inform B-item
3 trwa inform NoLabel
4 od inform NoLabel
5 3 inform B-delivery_time
6 do inform NoLabel
7 5 inform I-delivery_time
8 dni inform I-delivery_time
9 roboczych inform I-delivery_time
10 . inform NoLabel
# text: Proszę o podanie szczegółów dotyczących laptopa Dell.
# intent: request
# slots:
1 Proszę request NoLabel
2 o request NoLabel
3 podanie request NoLabel
4 szczegółów request NoLabel
5 dotyczących request NoLabel
6 laptopa request B-item
7 Dell request I-item
8 . request NoLabel
# text: Laptop Dell ma procesor Intel i7, 16GB RAM i dysk SSD 512GB.
# intent: inform
# slots:
1 Laptop inform B-item
2 Dell inform I-item
3 ma inform NoLabel
4 procesor inform B-spec
5 Intel inform I-spec
6 i7 inform I-spec
7 , inform NoLabel
8 16GB inform B-spec
9 RAM inform I-spec
10 i inform NoLabel
11 dysk inform B-spec
12 SSD inform I-spec
13 512GB inform I-spec
14 . inform NoLabel
# text: Czy jest możliwość rat na laptopa?
# intent: request
# slots:
1 Czy request NoLabel
2 jest request NoLabel
3 możliwość request NoLabel
4 rat request NoLabel
5 na request NoLabel
6 laptopa request B-item
7 ? request NoLabel
# text: Tak, oferujemy raty 0% na 12 miesięcy.
# intent: inform
# slots:
1 Tak inform NoLabel
2 , inform NoLabel
3 oferujemy inform NoLabel
4 raty inform B-promotion
5 0% inform I-promotion
6 na inform NoLabel
7 12 inform B-duration
8 miesięcy inform I-duration
9 . inform NoLabel
# text: Jakie są warunki gwarancji na laptopa HP?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 warunki request NoLabel
4 gwarancji request NoLabel
5 na request NoLabel
6 laptopa request B-item
7 HP request I-item
8 ? request NoLabel
# text: Gwarancja na laptopa HP wynosi 2 lata i obejmuje wszystkie części.
# intent: inform
# slots:
1 Gwarancja inform NoLabel
2 na inform NoLabel
3 laptopa inform B-item
4 HP inform I-item
5 wynosi inform NoLabel
6 2 inform B-duration
7 lata inform I-duration
8 i inform NoLabel
9 obejmuje inform NoLabel
10 wszystkie inform NoLabel
11 części inform NoLabel
12 . inform NoLabel
# text: Chciałbym zamówić laptopa Lenovo z dostawą.
# intent: inform
# slots:
1 Chciałbym inform NoLabel
2 zamówić inform NoLabel
3 laptopa inform B-item
4 Lenovo inform I-item
5 z inform NoLabel
6 dostawą inform NoLabel
7 . inform NoLabel
# text: Proszę podać adres dostawy.
# intent: request
# slots:
1 Proszę request NoLabel
2 podać request NoLabel
3 adres request B-address
4 dostawy request I-address
5 . request NoLabel
# text: Ulica Krótka 10, 00-001 Miasto
# intent: inform
# slots:
1 Ulica inform B-address
2 Krótka inform I-address
3 10 inform I-address
4 , inform NoLabel
5 00-001 inform I-address
6 Miasto inform I-address
# text: Chcę dowiedzieć się, jakie są opcje ubezpieczenia.
# intent: request
# slots:
1 Chcę request NoLabel
2 dowiedzieć request NoLabel
3 się request NoLabel
4 , request NoLabel
5 jakie request NoLabel
6 są request NoLabel
7 opcje request B-insurance
8 ubezpieczenia request I-insurance
9 . request NoLabel
# text: Oferujemy ubezpieczenie podstawowe i rozszerzone.
# intent: inform
# slots:
1 Oferujemy inform NoLabel
2 ubezpieczenie inform B-insurance
3 podstawowe inform I-insurance
4 i inform NoLabel
5 rozszerzone inform I-insurance
6 . inform NoLabel
# text: Jakie są zasady zwrotu towaru?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 zasady request NoLabel
4 zwrotu request NoLabel
5 towaru request NoLabel
6 ? request NoLabel
# text: Zwrot towaru jest możliwy w ciągu 14 dni od zakupu.
# intent: inform
# slots:
1 Zwrot inform NoLabel
2 towaru inform NoLabel
3 jest inform NoLabel
4 możliwy inform NoLabel
5 w inform NoLabel
6 ciągu inform NoLabel
7 14 inform B-duration
8 dni inform I-duration
9 od inform NoLabel
10 zakupu inform NoLabel
11 . inform NoLabel
# text: Czy oferujecie opcję odbioru osobistego?
# intent: request
# slots:
1 Czy request NoLabel
2 oferujecie request NoLabel
3 opcję request NoLabel
4 odbioru request NoLabel
5 osobistego request NoLabel
6 ? request NoLabel
# text: Tak, możliwy jest odbiór osobisty w naszym sklepie stacjonarnym.
# intent: inform
# slots:
1 Tak inform NoLabel
2 , inform NoLabel
3 możliwy inform NoLabel
4 jest inform NoLabel
5 odbiór inform NoLabel
6 osobisty inform NoLabel
7 w inform NoLabel
8 naszym inform NoLabel
9 sklepie inform NoLabel
10 stacjonarnym inform NoLabel
11 . inform NoLabel
# text: Chcę sprawdzić dostępność laptopa Lenovo.
# intent: request
# slots:
1 Chcę request NoLabel
2 sprawdzić request NoLabel
3 dostępność request NoLabel
4 laptopa request B-item
5 Lenovo request I-item
6 . request NoLabel
# text: Laptop Lenovo jest dostępny w magazynie.
# intent: inform
# slots:
1 Laptop inform B-item
2 Lenovo inform I-item
3 jest inform NoLabel
4 dostępny inform NoLabel
5 w inform NoLabel
6 magazynie inform NoLabel
7 . inform NoLabel
# text: Jaki jest czas realizacji zamówienia?
# intent: request
# slots:
1 Jaki request NoLabel
2 jest request NoLabel
3 czas request NoLabel
4 realizacji request NoLabel
5 zamówienia request NoLabel
6 ? request NoLabel
# text: Realizacja zamówienia trwa do 5 dni roboczych.
# intent: inform
# slots:
1 Realizacja inform NoLabel
2 zamówienia inform NoLabel
3 trwa inform NoLabel
4 do inform NoLabel
5 5 inform B-duration
6 dni inform I-duration
7 roboczych inform I-duration
8 . inform NoLabel
# text: Jakie są metody płatności?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 metody request B-payment_method
4 płatności request I-payment_method
5 ? request NoLabel
# text: Oferujemy płatność kartą, przelewem oraz gotówką przy odbiorze.
# intent: inform
# slots:
1 Oferujemy inform NoLabel
2 płatność inform B-payment_method
3 kartą inform I-payment_method
4 , inform NoLabel
5 przelewem inform I-payment_method
6 oraz inform NoLabel
7 gotówką inform I-payment_method
8 przy inform NoLabel
9 odbiorze inform I-payment_method
10 . inform NoLabel
# text: Czy mogę zarezerwować produkt online?
# intent: request
# slots:
1 Czy request NoLabel
2 mogę request NoLabel
3 zarezerwować request NoLabel
4 produkt request B-item
5 online request NoLabel
6 ? request NoLabel
# text: Tak, można zarezerwować produkty online na naszej stronie.
# intent: inform
# slots:
1 Tak inform NoLabel
2 , inform NoLabel
3 można inform NoLabel
4 zarezerwować inform NoLabel
5 produkty inform B-item
6 online inform NoLabel
7 na inform NoLabel
8 naszej inform NoLabel
9 stronie inform NoLabel
10 . inform NoLabel
# text: Jakie są dostępne rozmiary ubrań?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 dostępne request NoLabel
4 rozmiary request B-size
5 ubrań request NoLabel
6 ? request NoLabel
# text: Dostępne rozmiary to S, M, L, XL.
# intent: inform
# slots:
1 Dostępne inform NoLabel
2 rozmiary inform B-size
3 to inform NoLabel
4 S inform I-size
5 , inform NoLabel
6 M inform I-size
7 , inform NoLabel
8 L inform I-size
9 , inform NoLabel
10 XL inform I-size
11 . inform NoLabel
# text: Proszę o numer kontaktowy do obsługi klienta.
# intent: request
# slots:
1 Proszę request NoLabel
2 o request NoLabel
3 numer request B-contact
4 kontaktowy request I-contact
5 do request NoLabel
6 obsługi request NoLabel
7 klienta request NoLabel
8 . request NoLabel
# text: Numer kontaktowy do obsługi klienta to +48221122334.
# intent: inform
# slots:
1 Numer inform NoLabel
2 kontaktowy inform B-contact
3 do inform NoLabel
4 obsługi inform NoLabel
5 klienta inform NoLabel
6 to inform NoLabel
7 +48221122334 inform I-contact
8 . inform NoLabel
# text: Chcę zamówić telewizor.
# intent: inform
# slots:
1 Chcę inform NoLabel
2 zamówić inform NoLabel
3 telewizor inform B-item
4 . inform NoLabel
# text: Jakie modele telewizorów oferujecie?
# intent: request
# slots:
1 Jakie request NoLabel
2 modele request B-item
3 telewizorów request I-item
4 oferujecie request NoLabel
5 ? request NoLabel
# text: Mamy w ofercie telewizory Samsung, LG oraz Sony.
# intent: inform
# slots:
1 Mamy inform NoLabel
2 w inform NoLabel
3 ofercie inform NoLabel
4 telewizory inform B-item
5 Samsung inform I-item
6 , inform NoLabel
7 LG inform I-item
8 oraz inform NoLabel
9 Sony inform I-item
10 . inform NoLabel
# text: Jakie są dostępne rozdzielczości telewizorów?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 dostępne request NoLabel
4 rozdzielczości request B-spec
5 telewizorów request I-spec
6 ? request NoLabel
# text: Dostępne rozdzielczości to HD, Full HD oraz 4K.
# intent: inform
# slots:
1 Dostępne inform NoLabel
2 rozdzielczości inform B-spec
3 to inform NoLabel
4 HD inform I-spec
5 , inform NoLabel
6 Full inform I-spec
7 HD inform I-spec
8 oraz inform NoLabel
9 4K inform I-spec
10 . inform NoLabel
# text: Chciałbym kupić telewizor Samsung w rozdzielczości 4K.
# intent: inform
# slots:
1 Chciałbym inform NoLabel
2 kupić inform NoLabel
3 telewizor inform B-item
4 Samsung inform I-item
5 w inform NoLabel
6 rozdzielczości inform B-spec
7 4K inform I-spec
8 . inform NoLabel
# text: Proszę o szczegóły dotyczące telewizora LG.
# intent: request
# slots:
1 Proszę request NoLabel
2 o request NoLabel
3 szczegóły request NoLabel
4 dotyczące request NoLabel
5 telewizora request B-item
6 LG request I-item
7 . request NoLabel
# text: Telewizor LG ma ekran 55 cali, rozdzielczość 4K, Smart TV.
# intent: inform
# slots:
1 Telewizor inform B-item
2 LG inform I-item
3 ma inform NoLabel
4 ekran inform B-spec
5 55 inform I-spec
6 cali inform I-spec
7 , inform NoLabel
8 rozdzielczość inform B-spec
9 4K inform I-spec
10 , inform NoLabel
11 Smart inform B-spec
12 TV inform I-spec
13 . inform NoLabel
# text: Czy jest możliwość zakupu na raty?
# intent: request
# slots:
1 Czy request NoLabel
2 jest request NoLabel
3 możliwość request NoLabel
4 zakupu request NoLabel
5 na request NoLabel
6 raty request B-promotion
7 ? request NoLabel
# text: Tak, oferujemy raty 0% na 10 miesięcy.
# intent: inform
# slots:
1 Tak inform NoLabel
2 , inform NoLabel
3 oferujemy inform NoLabel
4 raty inform B-promotion
5 0% inform I-promotion
6 na inform NoLabel
7 10 inform B-duration
8 miesięcy inform I-duration
9 . inform NoLabel
# text: Jakie są metody płatności?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 metody request B-payment_method
4 płatności request I-payment_method
5 ? request NoLabel
# text: Oferujemy płatność kartą, przelewem oraz gotówką przy odbiorze.
# intent: inform
# slots:
1 Oferujemy inform NoLabel
2 płatność inform B-payment_method
3 kartą inform I-payment_method
4 , inform NoLabel
5 przelewem inform I-payment_method
6 oraz inform NoLabel
7 gotówką inform I-payment_method
8 przy inform NoLabel
9 odbiorze inform I-payment_method
10 . inform NoLabel
# text: Jakie są godziny pracy infolinii?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 godziny request B-hours
4 pracy request I-hours
5 infolinii request I-hours
6 ? request NoLabel
# text: Infolinia jest czynna od poniedziałku do piątku w godzinach 8:00-20:00.
# intent: inform
# slots:
1 Infolinia inform NoLabel
2 jest inform NoLabel
3 czynna inform NoLabel
4 od inform NoLabel
5 poniedziałku inform B-hours
6 do inform I-hours
7 piątku inform I-hours
8 w inform NoLabel
9 godzinach inform NoLabel
10 8:00-20:00 inform B-hours
11 . inform NoLabel
# text: Czy mogę zapłacić kartą przy odbiorze?
# intent: request
# slots:
1 Czy request NoLabel
2 mogę request NoLabel
3 zapłacić request NoLabel
4 kartą request B-payment_method
5 przy request I-payment_method
6 odbiorze request I-payment_method
7 ? request NoLabel
# text: Tak, płatność kartą przy odbiorze jest możliwa.
# intent: inform
# slots:
1 Tak inform NoLabel
2 , inform NoLabel
3 płatność inform B-payment_method
4 kartą inform I-payment_method
5 przy inform NoLabel
6 odbiorze inform I-payment_method
7 jest inform NoLabel
8 możliwa inform NoLabel
9 . inform NoLabel
# text: Jakie są dostępne formy wysyłki?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 dostępne request NoLabel
4 formy request B-delivery_method
5 wysyłki request I-delivery_method
6 ? request NoLabel
# text: Oferujemy wysyłkę kurierem, paczkomaty oraz odbiór osobisty.
# intent: inform
# slots:
1 Oferujemy inform NoLabel
2 wysyłkę inform B-delivery_method
3 kurierem inform I-delivery_method
4 , inform NoLabel
5 paczkomaty inform B-delivery_method
6 oraz inform NoLabel
7 odbiór inform B-delivery_method
8 osobisty inform I-delivery_method
9 . inform NoLabel
# text: Proszę podać dane kontaktowe.
# intent: request
# slots:
1 Proszę request NoLabel
2 podać request NoLabel
3 dane request B-contact
4 kontaktowe request I-contact
5 . request NoLabel
# text: Nasz kontakt to: telefon +48123456789, email: sklep@przyklad.pl
# intent: inform
# slots:
1 Nasz inform NoLabel
2 kontakt inform NoLabel
3 to inform NoLabel
4 : inform NoLabel
5 telefon inform B-contact
6 +48123456789 inform I-contact
7 , inform NoLabel
8 email inform B-contact
9 : inform NoLabel
10 sklep@przyklad.pl inform I-contact
11 . inform NoLabel
# text: Jakie są warunki promocji?
# intent: request
# slots:
1 Jakie request NoLabel
2 są request NoLabel
3 warunki request B-promotion
4 promocji request I-promotion
5 ? request NoLabel
# text: Promocja dotyczy zakupów powyżej 1000ZL, rabat 10%.
# intent: inform
# slots:
1 Promocja inform NoLabel
2 dotyczy inform NoLabel
3 zakupów inform B-promotion
4 powyżej inform I-promotion
5 1000ZL inform I-promotion
6 , inform NoLabel
7 rabat inform B-promotion
8 10% inform I-promotion
9 . inform NoLabel

View File

@ -4,6 +4,7 @@ from modules.state_monitor import DialogStateMonitor
from modules.generator import ResponseGenerator
from modules.strategy import DialoguePolicy
from modules.config import Config
import scipy.stats
import colorama
from colorama import Fore, Style