Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit f01a1ec

Browse files
authored
Update action definition: Spanish (#137)
1 parent 767528f commit f01a1ec

File tree

14 files changed

+127
-17
lines changed

14 files changed

+127
-17
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
custom:
2+
READ_METRICS: {}
3+
actions.intent.MAIN: {}

gluco-check-action/definitions/custom/intents/READ_METRICS.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ trainingPhrases:
1313
- ($DmMetric 'Carbs on board' auto=true)
1414
- Check my ($DmMetric 'blood sugar' auto=true)
1515
- What's my ($DmMetric 'BG' auto=true)
16-
- What's my ($DmMetric 'BG' auto=true), ($DmMetric 'IOB' auto=false) and ($DmMetric
17-
'carbs on board' auto=false)
16+
- What's my ($DmMetric 'BG' auto=true), ($DmMetric 'IOB' auto=true) and ($DmMetric
17+
'carbs on board' auto=true)
1818
- How many ($DmMetric 'carbs' auto=true) do I have
1919
- How much ($DmMetric 'insulin' auto=true) do I have
2020
- How's my ($DmMetric 'IOB' auto=true)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
trainingPhrases:
2+
- Cuál es mi ($DmMetric 'glucemia' auto=true), ($DmMetric 'insulina' auto=true) e
3+
($DmMetric 'hidratos de carbono' auto=true) activos
4+
- ¿Cual es mi ($DmMetric 'insulina' auto=true) activa?
5+
- Cuanta ($DmMetric 'insulina' auto=true) tengo
6+
- Cuantos ($DmMetric 'hidratos de carbono' auto=true) tengo
7+
- Cuál es mi ($DmMetric 'glucemia' auto=true)
8+
- Revisa mi ($DmMetric 'azúcar' auto=true) en la sangre
9+
- ($DmMetric 'Hidratos de carbono' auto=true) activos
10+
- Lee mi nivel de ($DmMetric 'azúcar' auto=true) en sangre
11+
- Qué antigüedad tiene mi ($DmMetric 'sensor' auto=true)
12+
- Pedir un ($DmMetric 'informe completo' auto=true)
13+
- Pide leer ($DmMetric 'todo' auto=true)
14+
- Obtener un ($DmMetric 'informe completo' auto=true)
15+
- Pregunta cuánto tiempo tiene mi ($DmMetric 'pod' auto=true)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
candidates:
2+
- promptResponse:
3+
firstSimple:
4+
variants:
5+
- speech: ¿Qué te gustaría saber?
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
candidates:
2+
- promptResponse:
3+
firstSimple:
4+
variants:
5+
- speech: Lo siento, no entendí eso. ¿Puedes intentarlo de nuevo?
6+
text: Lo siento, no entendí eso. ¿Puedes intentarlo de nuevo?
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
candidates:
2+
- promptResponse:
3+
firstSimple:
4+
variants:
5+
- speech: Lo siento, todavía no lo entendí. La aplicación se cerrará ahora.
6+
Por favor, inténtalo la aplicación de nuevo.
7+
text: Lo siento, todavía no lo entendí. La aplicación se cerrará ahora. Por
8+
favor, inténtalo la aplicación de nuevo.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
candidates:
2+
- promptResponse:
3+
firstSimple:
4+
variants:
5+
- speech: Lo siento, no entendí eso. ¿Puedes intentarlo de nuevo?
6+
text: Lo siento, no entendí eso. ¿Puedes intentarlo de nuevo?

gluco-check-action/definitions/custom/types/DmMetric.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ synonym:
5252
synonyms:
5353
- sensor age
5454
- sensor
55-
matchType: FUZZY_MATCH
55+
matchType: EXACT_MATCH
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
synonym:
2+
entities:
3+
blood sugar:
4+
synonyms:
5+
- glucosa
6+
- azúcar en sangre
7+
- azúcar
8+
- Glucemia
9+
cannula age:
10+
synonyms:
11+
- Cánula
12+
- edad de la cánula
13+
- pod
14+
- Set de infusión
15+
- catéter
16+
carbs on board:
17+
synonyms:
18+
- Hidratos de carbono activos
19+
- Hidratos de carbono
20+
- COB
21+
everything:
22+
synonyms:
23+
- todo
24+
- todo ello
25+
- Informe completo
26+
- Todos los valores
27+
insulin on board:
28+
synonyms:
29+
- IOB
30+
- Insulina activa
31+
- insulina
32+
pump battery:
33+
synonyms:
34+
- batería
35+
- batería de la bomba
36+
- nivel de batería
37+
pump reservoir:
38+
synonyms:
39+
- reservorio de la bomba
40+
- insulina restante
41+
- unidades en la bomba
42+
- Bomba
43+
- Reservorio
44+
- insulina restante
45+
- nivel de la bomba
46+
sensor age:
47+
synonyms:
48+
- Sensor
49+
- Días uso del sensor
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
localizedSettings:
2+
developerEmail: niels@glucocheck.app
3+
developerName: Niels Maerten
4+
displayName: Gluco Check
5+
fullDescription: |-
6+
Gluco Check lleva Nightscout a su Asistente de Google. Pregunte por su nivel actual de azúcar en sangre, cuántos hidratos de carbono tiene a bordo, cuándo cambió por última vez el sensor y más.
7+
8+
Antes de poder usar Gluco Check, debe vincular su sitio de Nightscout en: https://glucocheck.app
9+
10+
Nota: La información proporcionada por Gluco Check no sustituye el consejo de un profesional médico.
11+
privacyPolicyUrl: https://glucocheck.app/terms/es-ES
12+
pronunciation: Gluco Check
13+
sampleInvocations:
14+
- Hablar con Gluco Check
15+
- Pregúntale a Gluco Check cuánto tiempo tiene mi sensor
16+
- Pedirle a Gluco Check que lea mi glucosa
17+
- Pedirle a Gluco Check que lea mis hidratos de carbono activos
18+
shortDescription: Pídale a Google que lea su nivel de azúcar en sangre de Nightscout
19+
smallLogoImage: https://lh3.googleusercontent.com/iByZN58udeU-Y00jiCeY5I5piOdBaxzPRutPS1DAO8rhTd2rJJvc55t6aUzkM7b0833W9tAeK4mvlA
20+
termsOfServiceUrl: https://glucocheck.app/terms/es-ES
21+
voice: female_1

gluco-check-action/definitions/settings/settings.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ defaultLocale: en
66
localizedSettings:
77
developerEmail: niels@glucocheck.app
88
developerName: Niels Maerten
9-
displayName: {{actionName}}
9+
displayName: Gluco Check
1010
fullDescription: |-
1111
Gluco Check brings Nightscout to your Google Assistant. Ask for your current blood sugar level, how many carbs you've got on board, when you last changed your sensor, and more.
1212
1313
Before you can use Gluco Check you must link your Nightscout site on: https://glucocheck.app
1414
1515
Note: The information provided by Gluco Check is not a substitute for advice from a medical professional.
1616
privacyPolicyUrl: https://glucocheck.app/terms
17-
pronunciation: {{actionName}}
17+
pronunciation: Gluco Check
1818
sampleInvocations:
19-
- Talk to {{actionName}}
20-
- Ask {{actionName}} how old my sensor is
21-
- Ask {{actionName}} to read my glucose
22-
- Ask {{actionName}} to read my carbs on board
19+
- Talk to Gluco Check
20+
- Ask Gluco Check how old my sensor is
21+
- Ask Gluco Check to read my glucose
22+
- Ask Gluco Check to read my carbs on board
2323
shortDescription: Ask Google to read your blood sugar from Nightscout
2424
smallLogoImage: https://lh3.googleusercontent.com/iByZN58udeU-Y00jiCeY5I5piOdBaxzPRutPS1DAO8rhTd2rJJvc55t6aUzkM7b0833W9tAeK4mvlA
2525
termsOfServiceUrl: https://glucocheck.app/terms
2626
voice: female_1
27-
projectId: {{projectId}}
27+
projectId: gluco-check-prod
2828
testingInstructions: |-
2929
Hi!
3030
@@ -36,8 +36,8 @@ testingInstructions: |-
3636
Note: If you're using an 'aog.platform.***@gmail.com' account, we will automatically populate it with test data.
3737
Using another account? Follow these steps:
3838
2. Click the 'Link your Nightscout' button
39-
3. In the field "Nightscout URL", enter: "{{nightscoutTestUrl}}"
40-
4. In the field "Token", enter: "{{nightscoutTestToken}}"
39+
3. In the field "Nightscout URL", enter: "https://cgm.example.com" @TODO
40+
4. In the field "Token", enter: "aogreview-daf8b883ffbeef3b" @TODO
4141
5. Click Save
4242
4343
Done! You can now invoke the action.

gluco-check-action/definitions/webhooks/ActionsOnGoogleFulfillment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ handlers:
22
- name: default_metrics
33
- name: custom_metrics
44
httpsEndpoint:
5-
baseUrl: {{webhookUrl}}
5+
baseUrl: https://glucocheck.app/api/v1/handle-conversation?v=8
66
endpointApiVersion: 2

gluco-check-common/strings/es-ES/assistant-action.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,8 @@
3939
- catéter
4040
- Hidratos de carbono activos:
4141
- Hidratos de carbono
42-
- Hidratos de carbono
43-
- hidratos de carbono activos
4442
- COB
4543
- todo:
46-
- todo
4744
- todo ello
4845
- Informe completo
4946
- Todos los valores

gluco-check-common/strings/es-ES/assistant-responses.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ assistant_responses:
5757
common:
5858
disclaimer:
5959
assistant_IANAD: >
60-
Solo un recordatorio: no soy médico. Si necesita consejo médico, consulte a su doctor/a.
60+
Solo un recordatorio: no soy médico. Si necesita consejo médico, consulte a su doctor.
6161
metrics:
6262
blood sugar: azúcar en sangre
6363
insulin on board: Insulina activa

0 commit comments

Comments
 (0)