Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #16 from rauldpm/6-add_horario_menu-main
Browse files Browse the repository at this point in the history
Add schedule and menu iteration
  • Loading branch information
Raul Del Pozo Moreno authored Jul 7, 2022
2 parents 484ec46 + 70e5f70 commit b4ca8d6
Show file tree
Hide file tree
Showing 14 changed files with 1,181 additions and 192 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ models/*.tar.gz
*.db
*.dot
*.html
results
304 changes: 298 additions & 6 deletions actions/actions.py

Large diffs are not rendered by default.

78 changes: 23 additions & 55 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,62 +7,30 @@ recipe: default.v1
language: en

pipeline:
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
# - name: WhitespaceTokenizer
# - name: RegexFeaturizer
# - name: LexicalSyntacticFeaturizer
# - name: CountVectorsFeaturizer
# - name: CountVectorsFeaturizer
# analyzer: char_wb
# min_ngram: 1
# max_ngram: 4
# - name: DIETClassifier
# epochs: 100
# constrain_similarities: true
# - name: EntitySynonymMapper
# - name: ResponseSelector
# epochs: 100
# constrain_similarities: true
# - name: FallbackClassifier
# threshold: 0.3
# ambiguity_threshold: 0.1

# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
# - name: WhitespaceTokenizer
# - name: RegexFeaturizer
# - name: LexicalSyntacticFeaturizer
# - name: CountVectorsFeaturizer
# - name: CountVectorsFeaturizer
# analyzer: char_wb
# min_ngram: 1
# max_ngram: 4
# - name: DIETClassifier
# epochs: 100
# constrain_similarities: true
# - name: EntitySynonymMapper
# - name: ResponseSelector
# epochs: 100
# constrain_similarities: true
# - name: FallbackClassifier
# threshold: 0.3
# ambiguity_threshold: 0.1
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 100
constrain_similarities: true
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
constrain_similarities: true
- name: FallbackClassifier
threshold: 0.3
ambiguity_threshold: 0.1

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
# # No configuration for policies was provided. The following default policies were used to train your model.
# # If you'd like to customize them, uncomment and adjust the policies.
# # See https://rasa.com/docs/rasa/policies for more information.
# - name: MemoizationPolicy
# - name: RulePolicy
# - name: UnexpecTEDIntentPolicy
# max_history: 5
# epochs: 100
# - name: TEDPolicy
# max_history: 5
# epochs: 100
# constrain_similarities: true
- name: RulePolicy
- name: AugmentedMemoizationPolicy
- name: TEDPolicy
epochs: 200
constrain_similarities: true
29 changes: 29 additions & 0 deletions data/menu/bebidas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"bebidas": [
{
"id": 40,
"nombre": "Vino Dulce de Invierno Verdejo y Gorda de Moldavia",
"precio": "4,5€ / copa"
},
{
"id": 41,
"nombre": "Vino Jerez",
"precio": "3,70€ / copa"
},
{
"id": 42,
"nombre": "Palo Cortado Juan Piñero",
"precio": "3,70€ / copa"
},
{
"id": 43,
"nombre": "Px Emilio Hidalgo",
"precio": "4,90€ / copa"
},
{
"id": 44,
"nombre": "Maestro Sierra Oloroso",
"precio": "4,50€ / copa"
}
]
}
29 changes: 29 additions & 0 deletions data/menu/carnes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"carnes": [
{
"id": 10,
"nombre": "Lomo con tomate al aroma de albahaca",
"precio": "32€"
},
{
"id": 11,
"nombre": "Chuletillas Lechazos",
"precio": "17€"
},
{
"id": 12,
"nombre": "Pulardita rellena de boletus y salsa de mostaza dijon",
"precio": "25€"
},
{
"id": 13,
"nombre": "Chuletón de cerdo ibérico a la parrilla",
"precio": "23€"
},
{
"id": 14,
"nombre": "Lomo bajo de buey a la parrilla",
"precio": "18€"
}
]
}
29 changes: 29 additions & 0 deletions data/menu/entrantes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"entrantes": [
{
"id": 0,
"nombre": "Alcachofa de temporada con foie caramelizado y velo panceta ibérica",
"precio": "4,5€ / unidad"
},
{
"id": 1,
"nombre": "Tempura de langostinos y esparragos trigueros con salsa Japo",
"precio": "16€"
},
{
"id": 2,
"nombre": "Garbanzos pedrosillanos salteados con carabinero",
"precio": "16€"
},
{
"id": 3,
"nombre": "Carpaccio de gamba, sriracha, tomate y ajoblanco",
"precio": "10€ / unidad"
},
{
"id": 4,
"nombre": "Carpaccio de vacuno con foie y aliño de trufa",
"precio": "12€"
}
]
}
32 changes: 32 additions & 0 deletions data/menu/horario.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"horario": {
"lunes": [
"08:00",
"23:00"
],
"martes": [
"Cerrado",
"Cerrado"
],
"miercoles": [
"08:00",
"23:00"
],
"jueves": [
"08:00",
"23:00"
],
"viernes": [
"08:00",
"23:00"
],
"sabado": [
"08:00",
"23:00"
],
"domingo": [
"08:00",
"23:00"
]
}
}
29 changes: 29 additions & 0 deletions data/menu/pescados.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"pescados": [
{
"id": 20,
"nombre": "Lubina a la espalda con salteado de ajetes tiernos",
"precio": "13€"
},
{
"id": 21,
"nombre": "Salmon parrilla",
"precio": "14€"
},
{
"id": 22,
"nombre": "Sardinas en escabeche",
"precio": "10€"
},
{
"id": 23,
"nombre": "Bacalao al pil-pil",
"precio": "15€"
},
{
"id": 24,
"nombre": "Ostras de Galicia en salsa tartara",
"precio": "12€"
}
]
}
29 changes: 29 additions & 0 deletions data/menu/postres.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"postres": [
{
"id": 30,
"nombre": "Queso, tarta cremosa",
"precio": "6€"
},
{
"id": 31,
"nombre": "Frutos rojos, en infusión con helado de yogur",
"precio": "5,50€"
},
{
"id": 32,
"nombre": "Milhojas de hojaldre y crema pastelera caramelizada",
"precio": "6€"
},
{
"id": 33,
"nombre": "Mango, curry rojo, apio y lima",
"precio": "6,5€"
},
{
"id": 34,
"nombre": "Tiramisú, así lo vemos nosotros",
"precio": "6€"
}
]
}
Loading

0 comments on commit b4ca8d6

Please sign in to comment.