house-lights 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/cast-list/assets/map.html +56 -30
- package/skills/cast-list/examples/agents/bodega-cupons/actions/AbrirChamadoERP.mcs.yml +15 -0
- package/skills/cast-list/examples/agents/bodega-cupons/actions/ConsultarCuponsAtivos.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-cupons/actions/EnviarCupomEmail.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-cupons/actions/PromocoesMCP.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-cupons/agent.mcs.yml +12 -0
- package/skills/cast-list/examples/agents/bodega-cupons/connectionreferences.mcs.yml +7 -7
- package/skills/cast-list/examples/agents/bodega-cupons/topics/ConsultarRegulamentoCupons.topic.mcs.yml +3 -3
- package/skills/cast-list/examples/agents/bodega-cupons/topics/Escalate.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-cupons/topics/Fallback.topic.mcs.yml +5 -5
- package/skills/cast-list/examples/agents/bodega-cupons/topics/Greeting.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-cupons/topics/OnError.topic.mcs.yml +7 -7
- package/skills/cast-list/examples/agents/bodega-cupons/topics/RecebimentoOrquestrador.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-devolucoes/actions/AbrirChamadoERP.mcs.yml +15 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/actions/AbrirSolicitacaoDevolucao.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-devolucoes/agent.mcs.yml +13 -0
- package/skills/cast-list/examples/agents/bodega-devolucoes/connectionreferences.mcs.yml +2 -2
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/ConsultarPoliticaDevolucoes.topic.mcs.yml +3 -3
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/Escalate.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/Fallback.topic.mcs.yml +5 -5
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/Greeting.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/OnError.topic.mcs.yml +7 -7
- package/skills/cast-list/examples/agents/bodega-devolucoes/topics/RecebimentoOrquestrador.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-frete/actions/EnviarOpcoesFrete.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-frete/agent.mcs.yml +7 -0
- package/skills/cast-list/examples/agents/bodega-frete/connectionreferences.mcs.yml +2 -2
- package/skills/cast-list/examples/agents/bodega-frete/topics/ConsultarTabelaFrete.topic.mcs.yml +3 -3
- package/skills/cast-list/examples/agents/bodega-frete/topics/Desambiguar.topic.mcs.yml +11 -0
- package/skills/cast-list/examples/agents/bodega-frete/topics/Fallback.topic.mcs.yml +5 -5
- package/skills/cast-list/examples/agents/bodega-frete/topics/Greeting.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-frete/topics/OnError.topic.mcs.yml +7 -7
- package/skills/cast-list/examples/agents/bodega-frete/topics/RecebimentoOrquestrador.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-loja-fisica/actions/EnviarInstrucoesRetirada.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-loja-fisica/agent.mcs.yml +12 -0
- package/skills/cast-list/examples/agents/bodega-loja-fisica/connectionreferences.mcs.yml +2 -2
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/ConsultarGuiaLojaFisica.topic.mcs.yml +3 -3
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/Escalate.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/Fallback.topic.mcs.yml +5 -5
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/Greeting.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/OnError.topic.mcs.yml +6 -6
- package/skills/cast-list/examples/agents/bodega-loja-fisica/topics/RecebimentoOrquestrador.topic.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-orquestrador/agent.mcs.yml +2 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/actions/AbrirChamadoERP.mcs.yml +15 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/actions/EnviarResumoPedido.mcs.yml +1 -1
- package/skills/cast-list/examples/agents/bodega-pedidos/agent.mcs.yml +10 -0
- package/skills/cast-list/examples/agents/bodega-pedidos/connectionreferences.mcs.yml +2 -2
- package/skills/cast-list/examples/agents/bodega-pedidos/topics/ConsultarPoliticasPedidos Copy.topic.mcs.yml +56 -0
- package/skills/cast-list/examples/profile.cast.yaml +28 -0
- package/skills/cast-list/references/format.md +10 -3
- package/skills/cast-list/references/keys.md +12 -0
- package/skills/cast-list/references/profile.md +35 -0
- package/skills/cast-list/scripts/build.mjs +6 -4
- package/skills/cast-list/scripts/engine.mjs +126 -123
|
@@ -8,18 +8,18 @@ beginDialog:
|
|
|
8
8
|
id: main
|
|
9
9
|
actions:
|
|
10
10
|
- kind: SetVariable
|
|
11
|
-
id:
|
|
11
|
+
id: setVariable_j6CkQN
|
|
12
12
|
variable: init:Topic.CurrentTime
|
|
13
13
|
value: =Text(Now(), DateTimeFormat.UTC)
|
|
14
14
|
|
|
15
15
|
- kind: ConditionGroup
|
|
16
|
-
id:
|
|
16
|
+
id: conditionGroup_nfrYnK
|
|
17
17
|
conditions:
|
|
18
|
-
- id:
|
|
18
|
+
- id: conditionItem_KAIAko
|
|
19
19
|
condition: =System.Conversation.InTestMode = true
|
|
20
20
|
actions:
|
|
21
21
|
- kind: SendActivity
|
|
22
|
-
id:
|
|
22
|
+
id: sendMessage_myVBJo
|
|
23
23
|
activity: |-
|
|
24
24
|
Mensagem de erro: {System.Error.Message}
|
|
25
25
|
Código do erro: {System.Error.Code}
|
|
@@ -28,7 +28,7 @@ beginDialog:
|
|
|
28
28
|
|
|
29
29
|
elseActions:
|
|
30
30
|
- kind: SendActivity
|
|
31
|
-
id:
|
|
31
|
+
id: sendMessage_9uJ5Bv
|
|
32
32
|
activity:
|
|
33
33
|
text:
|
|
34
34
|
- |-
|
|
@@ -40,9 +40,9 @@ beginDialog:
|
|
|
40
40
|
- Ocorreu um erro, por favor tente novamente.
|
|
41
41
|
|
|
42
42
|
- kind: LogCustomTelemetryEvent
|
|
43
|
-
id:
|
|
43
|
+
id: logTelemetry_PcfoEN
|
|
44
44
|
eventName: BodegaCupons_OnError
|
|
45
45
|
properties: "={Agente: \"bodega-cupons\", ErrorMessage: System.Error.Message, ErrorCode: System.Error.Code, TimeUTC: Topic.CurrentTime, ConversationId: System.Conversation.Id}"
|
|
46
46
|
|
|
47
47
|
- kind: CancelAllDialogs
|
|
48
|
-
id:
|
|
48
|
+
id: cancelAllDialogs_7DG56T
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
mcs.metadata:
|
|
2
|
+
componentName: Abrir chamado no ERP
|
|
3
|
+
description: Abre um chamado no ERP da Bodega Azul pelo fluxo da solução.
|
|
4
|
+
kind: TaskDialog
|
|
5
|
+
inputs:
|
|
6
|
+
- kind: AutomaticTaskInput
|
|
7
|
+
propertyName: resumo
|
|
8
|
+
description: Resumo do pedido do cliente, em uma frase.
|
|
9
|
+
shouldPromptUser: false
|
|
10
|
+
|
|
11
|
+
modelDisplayName: Abrir chamado no ERP
|
|
12
|
+
modelDescription: Abre um chamado no ERP quando o cliente pede uma ação que a loja precisa executar (troca, cancelamento, reembolso).
|
|
13
|
+
action:
|
|
14
|
+
kind: InvokeFlowTaskAction
|
|
15
|
+
flowId: 7d1c2a4e-3b5f-4c6d-8e9f-0a1b2c3d4e5f
|
package/skills/cast-list/examples/agents/bodega-devolucoes/actions/AbrirSolicitacaoDevolucao.mcs.yml
CHANGED
|
@@ -23,7 +23,7 @@ modelDisplayName: Abrir solicitação de devolução
|
|
|
23
23
|
modelDescription: "Envia pelo Outlook um e-mail para a equipe de logística reversa com número do pedido, produto e motivo da devolução. Use depois de confirmar esses dados com o cliente."
|
|
24
24
|
action:
|
|
25
25
|
kind: InvokeConnectorTaskAction
|
|
26
|
-
connectionReference: cr7b2_bodegaDevolucoes.shared_office365.shared-office365-
|
|
26
|
+
connectionReference: cr7b2_bodegaDevolucoes.shared_office365.shared-office365-664433e6-6640-4087-b712-5b0b91b59b30
|
|
27
27
|
connectionProperties:
|
|
28
28
|
mode: Maker
|
|
29
29
|
|
|
@@ -14,6 +14,18 @@ instructions: |
|
|
|
14
14
|
- Responda sempre em português do Brasil, com empatia e objetividade
|
|
15
15
|
- Confirme o número do pedido e o motivo antes de abrir a solicitação
|
|
16
16
|
- Não prometa reembolso antes da análise do produto
|
|
17
|
+
|
|
18
|
+
Links:
|
|
19
|
+
- Formate links assim: [título](url), nunca a URL crua.
|
|
20
|
+
- Um link de ação vai no topo; o link da base de ajuda vai no fim.
|
|
21
|
+
- Nunca escreva as palavras «clique aqui».
|
|
22
|
+
- No máximo 3 links por resposta.
|
|
23
|
+
|
|
24
|
+
Responda em no máximo 3 bullets.
|
|
25
|
+
|
|
26
|
+
Não use emojis.
|
|
27
|
+
|
|
28
|
+
Responda somente com base no conhecimento publicado.
|
|
17
29
|
conversationStarters:
|
|
18
30
|
- title: "Trocar produto"
|
|
19
31
|
text: "Quero trocar um produto que comprei"
|
|
@@ -22,5 +34,6 @@ conversationStarters:
|
|
|
22
34
|
text: "Qual o prazo para devolver uma compra?"
|
|
23
35
|
|
|
24
36
|
aISettings:
|
|
37
|
+
useModelKnowledge: true
|
|
25
38
|
model:
|
|
26
39
|
modelNameHint: GPT5Chat
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
kind: ConnectionReferencesSourceFile
|
|
2
2
|
connectionReferences:
|
|
3
|
-
- id:
|
|
4
|
-
connectionReferenceLogicalName: cr7b2_bodegaDevolucoes.shared_office365.shared-office365-
|
|
3
|
+
- id: b247aa90-ae45-45a4-b55c-b71ab8c960a1
|
|
4
|
+
connectionReferenceLogicalName: cr7b2_bodegaDevolucoes.shared_office365.shared-office365-664433e6-6640-4087-b712-5b0b91b59b30
|
|
5
5
|
connectorId: /providers/Microsoft.PowerApps/apis/shared_office365
|
|
6
6
|
displayName: Office 365 Outlook
|
|
@@ -15,12 +15,12 @@ beginDialog:
|
|
|
15
15
|
intent: {}
|
|
16
16
|
actions:
|
|
17
17
|
- kind: CreateSearchQuery
|
|
18
|
-
id:
|
|
18
|
+
id: createSearchQuery_I91Nu9
|
|
19
19
|
userInput: =Topic.PerguntaCliente
|
|
20
20
|
result: Topic.SearchQuery
|
|
21
21
|
|
|
22
22
|
- kind: SearchAndSummarizeContent
|
|
23
|
-
id:
|
|
23
|
+
id: searchContent_9xWTCj
|
|
24
24
|
autoSend: false
|
|
25
25
|
variable: Topic.SearchResult
|
|
26
26
|
userInput: =Topic.SearchQuery.SearchQuery
|
|
@@ -37,7 +37,7 @@ beginDialog:
|
|
|
37
37
|
responseCaptureType: FullResponse
|
|
38
38
|
|
|
39
39
|
- kind: SetVariable
|
|
40
|
-
id:
|
|
40
|
+
id: setVariable_w9sFTC
|
|
41
41
|
variable: Topic.Resposta
|
|
42
42
|
value: =Topic.SearchResult.Text.Content
|
|
43
43
|
|
|
@@ -16,5 +16,5 @@ beginDialog:
|
|
|
16
16
|
|
|
17
17
|
actions:
|
|
18
18
|
- kind: SendActivity
|
|
19
|
-
id:
|
|
19
|
+
id: sendMessage_O4ttWg
|
|
20
20
|
activity: "A transferência para um atendente ainda não está disponível neste canal. Fale com a nossa equipe pelo e-mail devolucoes@bodegaazul.example, de segunda a sábado, das 9h às 18h."
|
|
@@ -8,13 +8,13 @@ beginDialog:
|
|
|
8
8
|
priority: -1
|
|
9
9
|
actions:
|
|
10
10
|
- kind: ConditionGroup
|
|
11
|
-
id:
|
|
11
|
+
id: conditionGroup_RBGXtS
|
|
12
12
|
conditions:
|
|
13
|
-
- id:
|
|
13
|
+
- id: conditionItem_nm7LSz
|
|
14
14
|
condition: =System.FallbackCount < 3
|
|
15
15
|
actions:
|
|
16
16
|
- kind: SendActivity
|
|
17
|
-
id:
|
|
17
|
+
id: sendMessage_9HZrxS
|
|
18
18
|
activity:
|
|
19
19
|
text:
|
|
20
20
|
- "Desculpe, não entendi. Pode reformular a sua pergunta?"
|
|
@@ -22,11 +22,11 @@ beginDialog:
|
|
|
22
22
|
|
|
23
23
|
elseActions:
|
|
24
24
|
- kind: SendActivity
|
|
25
|
-
id:
|
|
25
|
+
id: sendMessage_ryGn7S
|
|
26
26
|
activity:
|
|
27
27
|
text:
|
|
28
28
|
- "Estou com dificuldade para entender o seu pedido. Vou te encaminhar para alguém da equipe Bodega Azul."
|
|
29
29
|
|
|
30
30
|
- kind: BeginDialog
|
|
31
|
-
id:
|
|
31
|
+
id: beginDialog_05PvFg
|
|
32
32
|
dialog: cr7b2_bodegaDevolucoes.topic.Escalate
|
|
@@ -8,18 +8,18 @@ beginDialog:
|
|
|
8
8
|
id: main
|
|
9
9
|
actions:
|
|
10
10
|
- kind: SetVariable
|
|
11
|
-
id:
|
|
11
|
+
id: setVariable_oUQQmg
|
|
12
12
|
variable: init:Topic.CurrentTime
|
|
13
13
|
value: =Text(Now(), DateTimeFormat.UTC)
|
|
14
14
|
|
|
15
15
|
- kind: ConditionGroup
|
|
16
|
-
id:
|
|
16
|
+
id: conditionGroup_Dld8CV
|
|
17
17
|
conditions:
|
|
18
|
-
- id:
|
|
18
|
+
- id: conditionItem_OwdxDv
|
|
19
19
|
condition: =System.Conversation.InTestMode = true
|
|
20
20
|
actions:
|
|
21
21
|
- kind: SendActivity
|
|
22
|
-
id:
|
|
22
|
+
id: sendMessage_62USMu
|
|
23
23
|
activity: |-
|
|
24
24
|
Mensagem de erro: {System.Error.Message}
|
|
25
25
|
Código do erro: {System.Error.Code}
|
|
@@ -28,7 +28,7 @@ beginDialog:
|
|
|
28
28
|
|
|
29
29
|
elseActions:
|
|
30
30
|
- kind: SendActivity
|
|
31
|
-
id:
|
|
31
|
+
id: sendMessage_F3Bce0
|
|
32
32
|
activity:
|
|
33
33
|
text:
|
|
34
34
|
- |-
|
|
@@ -40,9 +40,9 @@ beginDialog:
|
|
|
40
40
|
- Ocorreu um erro, por favor tente novamente.
|
|
41
41
|
|
|
42
42
|
- kind: LogCustomTelemetryEvent
|
|
43
|
-
id:
|
|
43
|
+
id: logTelemetry_s0jOv1
|
|
44
44
|
eventName: BodegaDevolucoes_OnError
|
|
45
45
|
properties: "={Agente: \"bodega-devolucoes\", ErrorMessage: System.Error.Message, ErrorCode: System.Error.Code, TimeUTC: Topic.CurrentTime, ConversationId: System.Conversation.Id}"
|
|
46
46
|
|
|
47
47
|
- kind: CancelAllDialogs
|
|
48
|
-
id:
|
|
48
|
+
id: cancelAllDialogs_aJ4s5W
|
|
@@ -25,7 +25,7 @@ modelDisplayName: Enviar opções de frete por e-mail
|
|
|
25
25
|
modelDescription: "Envia ao cliente, pelo Outlook, um e-mail com as modalidades e prazos de frete consultados na conversa. Use somente quando o cliente pedir."
|
|
26
26
|
action:
|
|
27
27
|
kind: InvokeConnectorTaskAction
|
|
28
|
-
connectionReference: cr7b2_bodegaFrete.shared_office365.shared-office365-
|
|
28
|
+
connectionReference: cr7b2_bodegaFrete.shared_office365.shared-office365-87a66c95-f84e-4a65-a761-64ce01dc8c2e
|
|
29
29
|
connectionProperties:
|
|
30
30
|
mode: Maker
|
|
31
31
|
|
|
@@ -14,6 +14,13 @@ instructions: |
|
|
|
14
14
|
- Responda sempre em português do Brasil
|
|
15
15
|
- Prazos são sempre em dias úteis; deixe isso claro
|
|
16
16
|
- Não calcule valores de frete de cabeça: use apenas o que está na base
|
|
17
|
+
|
|
18
|
+
Links:
|
|
19
|
+
- Formate links assim: [título](url), nunca a URL crua.
|
|
20
|
+
- Nunca escreva as palavras «clique aqui».
|
|
21
|
+
- No máximo 5 links por resposta.
|
|
22
|
+
|
|
23
|
+
Não use emojis.
|
|
17
24
|
conversationStarters:
|
|
18
25
|
- title: "Prazo de entrega"
|
|
19
26
|
text: "Quanto tempo demora a entrega para o Nordeste?"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
kind: ConnectionReferencesSourceFile
|
|
2
2
|
connectionReferences:
|
|
3
|
-
- id:
|
|
4
|
-
connectionReferenceLogicalName: cr7b2_bodegaFrete.shared_office365.shared-office365-
|
|
3
|
+
- id: 2683e4c0-ea95-46c4-918a-b896ff983b3f
|
|
4
|
+
connectionReferenceLogicalName: cr7b2_bodegaFrete.shared_office365.shared-office365-87a66c95-f84e-4a65-a761-64ce01dc8c2e
|
|
5
5
|
connectorId: /providers/Microsoft.PowerApps/apis/shared_office365
|
|
6
6
|
displayName: Office 365 Outlook
|
package/skills/cast-list/examples/agents/bodega-frete/topics/ConsultarTabelaFrete.topic.mcs.yml
CHANGED
|
@@ -15,12 +15,12 @@ beginDialog:
|
|
|
15
15
|
intent: {}
|
|
16
16
|
actions:
|
|
17
17
|
- kind: CreateSearchQuery
|
|
18
|
-
id:
|
|
18
|
+
id: createSearchQuery_w48SSg
|
|
19
19
|
userInput: =Topic.PerguntaCliente
|
|
20
20
|
result: Topic.SearchQuery
|
|
21
21
|
|
|
22
22
|
- kind: SearchAndSummarizeContent
|
|
23
|
-
id:
|
|
23
|
+
id: searchContent_Li6Zd2
|
|
24
24
|
autoSend: false
|
|
25
25
|
variable: Topic.SearchResult
|
|
26
26
|
userInput: =Topic.SearchQuery.SearchQuery
|
|
@@ -37,7 +37,7 @@ beginDialog:
|
|
|
37
37
|
responseCaptureType: FullResponse
|
|
38
38
|
|
|
39
39
|
- kind: SetVariable
|
|
40
|
-
id:
|
|
40
|
+
id: setVariable_DSOy9A
|
|
41
41
|
variable: Topic.Resposta
|
|
42
42
|
value: =Topic.SearchResult.Text.Content
|
|
43
43
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
mcs.metadata:
|
|
2
|
+
componentName: Desambiguar
|
|
3
|
+
description: Pergunta ao cliente qual assunto ele quis dizer quando mais de um tópico serve.
|
|
4
|
+
kind: AdaptiveDialog
|
|
5
|
+
beginDialog:
|
|
6
|
+
kind: OnSelectIntent
|
|
7
|
+
id: main
|
|
8
|
+
actions:
|
|
9
|
+
- kind: SendActivity
|
|
10
|
+
id: sendMessage_tRiAg3
|
|
11
|
+
activity: Sobre qual destes assuntos você quer falar?
|
|
@@ -8,13 +8,13 @@ beginDialog:
|
|
|
8
8
|
priority: -1
|
|
9
9
|
actions:
|
|
10
10
|
- kind: ConditionGroup
|
|
11
|
-
id:
|
|
11
|
+
id: conditionGroup_GO3Bil
|
|
12
12
|
conditions:
|
|
13
|
-
- id:
|
|
13
|
+
- id: conditionItem_cAN26v
|
|
14
14
|
condition: =System.FallbackCount < 3
|
|
15
15
|
actions:
|
|
16
16
|
- kind: SendActivity
|
|
17
|
-
id:
|
|
17
|
+
id: sendMessage_i5aTx4
|
|
18
18
|
activity:
|
|
19
19
|
text:
|
|
20
20
|
- "Desculpe, não entendi. Pode reformular a sua pergunta?"
|
|
@@ -22,10 +22,10 @@ beginDialog:
|
|
|
22
22
|
|
|
23
23
|
elseActions:
|
|
24
24
|
- kind: SendActivity
|
|
25
|
-
id:
|
|
25
|
+
id: sendMessage_6esZ2m
|
|
26
26
|
activity:
|
|
27
27
|
text:
|
|
28
28
|
- "Não consegui entender a sua solicitação. Você pode escrever para atendimento@bodegaazul.example que a nossa equipe responde em até 1 dia útil."
|
|
29
29
|
|
|
30
30
|
- kind: CancelAllDialogs
|
|
31
|
-
id:
|
|
31
|
+
id: cancelAllDialogs_BIJUhV
|
|
@@ -8,18 +8,18 @@ beginDialog:
|
|
|
8
8
|
id: main
|
|
9
9
|
actions:
|
|
10
10
|
- kind: SetVariable
|
|
11
|
-
id:
|
|
11
|
+
id: setVariable_zATTmv
|
|
12
12
|
variable: init:Topic.CurrentTime
|
|
13
13
|
value: =Text(Now(), DateTimeFormat.UTC)
|
|
14
14
|
|
|
15
15
|
- kind: ConditionGroup
|
|
16
|
-
id:
|
|
16
|
+
id: conditionGroup_tT7GmP
|
|
17
17
|
conditions:
|
|
18
|
-
- id:
|
|
18
|
+
- id: conditionItem_pOGTUv
|
|
19
19
|
condition: =System.Conversation.InTestMode = true
|
|
20
20
|
actions:
|
|
21
21
|
- kind: SendActivity
|
|
22
|
-
id:
|
|
22
|
+
id: sendMessage_4KQSvY
|
|
23
23
|
activity: |-
|
|
24
24
|
Mensagem de erro: {System.Error.Message}
|
|
25
25
|
Código do erro: {System.Error.Code}
|
|
@@ -28,7 +28,7 @@ beginDialog:
|
|
|
28
28
|
|
|
29
29
|
elseActions:
|
|
30
30
|
- kind: SendActivity
|
|
31
|
-
id:
|
|
31
|
+
id: sendMessage_RpdnNx
|
|
32
32
|
activity:
|
|
33
33
|
text:
|
|
34
34
|
- |-
|
|
@@ -40,9 +40,9 @@ beginDialog:
|
|
|
40
40
|
- Ocorreu um erro, por favor tente novamente.
|
|
41
41
|
|
|
42
42
|
- kind: LogCustomTelemetryEvent
|
|
43
|
-
id:
|
|
43
|
+
id: logTelemetry_QOqZrK
|
|
44
44
|
eventName: BodegaFrete_OnError
|
|
45
45
|
properties: "={Agente: \"bodega-frete\", ErrorMessage: System.Error.Message, ErrorCode: System.Error.Code, TimeUTC: Topic.CurrentTime, ConversationId: System.Conversation.Id}"
|
|
46
46
|
|
|
47
47
|
- kind: CancelAllDialogs
|
|
48
|
-
id:
|
|
48
|
+
id: cancelAllDialogs_2fpaCR
|
package/skills/cast-list/examples/agents/bodega-loja-fisica/actions/EnviarInstrucoesRetirada.mcs.yml
CHANGED
|
@@ -25,7 +25,7 @@ modelDisplayName: Enviar instruções de retirada por e-mail
|
|
|
25
25
|
modelDescription: "Envia ao cliente, pelo Outlook, um e-mail com endereço, horário e documentos necessários para retirar o pedido na loja física. Use somente quando o cliente pedir."
|
|
26
26
|
action:
|
|
27
27
|
kind: InvokeConnectorTaskAction
|
|
28
|
-
connectionReference: cr7b2_bodegaLojaFisica.shared_office365.shared-office365-
|
|
28
|
+
connectionReference: cr7b2_bodegaLojaFisica.shared_office365.shared-office365-f0fdb545-532d-4d56-a81b-286eb298a1e7
|
|
29
29
|
connectionProperties:
|
|
30
30
|
mode: Maker
|
|
31
31
|
|
|
@@ -15,6 +15,18 @@ instructions: |
|
|
|
15
15
|
- Responda sempre em português do Brasil
|
|
16
16
|
- Confirme o número do pedido antes de dar instruções de retirada
|
|
17
17
|
- Horários especiais de feriado só valem se estiverem no guia
|
|
18
|
+
|
|
19
|
+
Links:
|
|
20
|
+
- Formate links assim: [título](url), nunca a URL crua.
|
|
21
|
+
- Um link de ação vai no topo; o link da base de ajuda vai no fim.
|
|
22
|
+
- Nunca escreva as palavras «clique aqui».
|
|
23
|
+
- No máximo 3 links por resposta.
|
|
24
|
+
|
|
25
|
+
Responda em no máximo 3 bullets.
|
|
26
|
+
|
|
27
|
+
Para dúvidas gerais, indique https://ajuda.bodega-azul.example/atendimento.
|
|
28
|
+
|
|
29
|
+
Use no máximo 5 frases por resposta.
|
|
18
30
|
conversationStarters:
|
|
19
31
|
- title: "Horário da loja"
|
|
20
32
|
text: "Qual o horário de funcionamento da loja física?"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
kind: ConnectionReferencesSourceFile
|
|
2
2
|
connectionReferences:
|
|
3
|
-
- id:
|
|
4
|
-
connectionReferenceLogicalName: cr7b2_bodegaLojaFisica.shared_office365.shared-office365-
|
|
3
|
+
- id: 5ff8574b-35b4-4aed-afda-88d178151c9b
|
|
4
|
+
connectionReferenceLogicalName: cr7b2_bodegaLojaFisica.shared_office365.shared-office365-f0fdb545-532d-4d56-a81b-286eb298a1e7
|
|
5
5
|
connectorId: /providers/Microsoft.PowerApps/apis/shared_office365
|
|
6
6
|
displayName: Office 365 Outlook
|
|
@@ -15,12 +15,12 @@ beginDialog:
|
|
|
15
15
|
intent: {}
|
|
16
16
|
actions:
|
|
17
17
|
- kind: CreateSearchQuery
|
|
18
|
-
id:
|
|
18
|
+
id: createSearchQuery_8WzjG8
|
|
19
19
|
userInput: =Topic.PerguntaCliente
|
|
20
20
|
result: Topic.SearchQuery
|
|
21
21
|
|
|
22
22
|
- kind: SearchAndSummarizeContent
|
|
23
|
-
id:
|
|
23
|
+
id: searchContent_BEHQYE
|
|
24
24
|
autoSend: false
|
|
25
25
|
variable: Topic.SearchResult
|
|
26
26
|
userInput: =Topic.SearchQuery.SearchQuery
|
|
@@ -37,7 +37,7 @@ beginDialog:
|
|
|
37
37
|
responseCaptureType: FullResponse
|
|
38
38
|
|
|
39
39
|
- kind: SetVariable
|
|
40
|
-
id:
|
|
40
|
+
id: setVariable_E3NIoo
|
|
41
41
|
variable: Topic.Resposta
|
|
42
42
|
value: =Topic.SearchResult.Text.Content
|
|
43
43
|
|
|
@@ -16,5 +16,5 @@ beginDialog:
|
|
|
16
16
|
|
|
17
17
|
actions:
|
|
18
18
|
- kind: SendActivity
|
|
19
|
-
id:
|
|
19
|
+
id: sendMessage_SyKagb
|
|
20
20
|
activity: "A transferência para um atendente ainda não está disponível neste canal. Fale com a nossa equipe pelo e-mail loja@bodegaazul.example, de segunda a sábado, das 9h às 18h."
|
|
@@ -8,13 +8,13 @@ beginDialog:
|
|
|
8
8
|
priority: -1
|
|
9
9
|
actions:
|
|
10
10
|
- kind: ConditionGroup
|
|
11
|
-
id:
|
|
11
|
+
id: conditionGroup_RZknOG
|
|
12
12
|
conditions:
|
|
13
|
-
- id:
|
|
13
|
+
- id: conditionItem_ouQR9I
|
|
14
14
|
condition: =System.FallbackCount < 3
|
|
15
15
|
actions:
|
|
16
16
|
- kind: SendActivity
|
|
17
|
-
id:
|
|
17
|
+
id: sendMessage_HJE10P
|
|
18
18
|
activity:
|
|
19
19
|
text:
|
|
20
20
|
- "Desculpe, não entendi. Pode reformular a sua pergunta?"
|
|
@@ -22,11 +22,11 @@ beginDialog:
|
|
|
22
22
|
|
|
23
23
|
elseActions:
|
|
24
24
|
- kind: SendActivity
|
|
25
|
-
id:
|
|
25
|
+
id: sendMessage_ofKN9l
|
|
26
26
|
activity:
|
|
27
27
|
text:
|
|
28
28
|
- "Estou com dificuldade para entender o seu pedido. Vou te encaminhar para alguém da equipe Bodega Azul."
|
|
29
29
|
|
|
30
30
|
- kind: BeginDialog
|
|
31
|
-
id:
|
|
31
|
+
id: beginDialog_9haQlu
|
|
32
32
|
dialog: cr7b2_bodegaLojaFisica.topic.Escalate
|
|
@@ -8,18 +8,18 @@ beginDialog:
|
|
|
8
8
|
id: main
|
|
9
9
|
actions:
|
|
10
10
|
- kind: SetVariable
|
|
11
|
-
id:
|
|
11
|
+
id: setVariable_Uv9BG8
|
|
12
12
|
variable: init:Topic.CurrentTime
|
|
13
13
|
value: =Text(Now(), DateTimeFormat.UTC)
|
|
14
14
|
|
|
15
15
|
- kind: ConditionGroup
|
|
16
|
-
id:
|
|
16
|
+
id: conditionGroup_7OYQil
|
|
17
17
|
conditions:
|
|
18
|
-
- id:
|
|
18
|
+
- id: conditionItem_fzDk3T
|
|
19
19
|
condition: =System.Conversation.InTestMode = true
|
|
20
20
|
actions:
|
|
21
21
|
- kind: SendActivity
|
|
22
|
-
id:
|
|
22
|
+
id: sendMessage_HlIi9C
|
|
23
23
|
activity: |-
|
|
24
24
|
Mensagem de erro: {System.Error.Message}
|
|
25
25
|
Código do erro: {System.Error.Code}
|
|
@@ -28,7 +28,7 @@ beginDialog:
|
|
|
28
28
|
|
|
29
29
|
elseActions:
|
|
30
30
|
- kind: SendActivity
|
|
31
|
-
id:
|
|
31
|
+
id: sendMessage_dN6hXK
|
|
32
32
|
activity:
|
|
33
33
|
text:
|
|
34
34
|
- |-
|
|
@@ -40,4 +40,4 @@ beginDialog:
|
|
|
40
40
|
- Ocorreu um erro, por favor tente novamente.
|
|
41
41
|
|
|
42
42
|
- kind: CancelAllDialogs
|
|
43
|
-
id:
|
|
43
|
+
id: cancelAllDialogs_zVC7En
|
|
@@ -20,6 +20,8 @@ instructions: |
|
|
|
20
20
|
Regras:
|
|
21
21
|
- Responda sempre em português do Brasil, de forma cordial e objetiva
|
|
22
22
|
- Se o cliente pedir para falar com uma pessoa, use o tópico de escalonamento
|
|
23
|
+
|
|
24
|
+
Não use emojis.
|
|
23
25
|
conversationStarters:
|
|
24
26
|
- title: "Meu pedido"
|
|
25
27
|
text: "Onde está o meu pedido?"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
mcs.metadata:
|
|
2
|
+
componentName: Abrir chamado no ERP
|
|
3
|
+
description: Abre um chamado no ERP da Bodega Azul pelo fluxo da solução.
|
|
4
|
+
kind: TaskDialog
|
|
5
|
+
inputs:
|
|
6
|
+
- kind: AutomaticTaskInput
|
|
7
|
+
propertyName: resumo
|
|
8
|
+
description: Resumo do pedido do cliente, em uma frase.
|
|
9
|
+
shouldPromptUser: false
|
|
10
|
+
|
|
11
|
+
modelDisplayName: Abrir chamado no ERP
|
|
12
|
+
modelDescription: Abre um chamado no ERP quando o cliente pede uma ação que a loja precisa executar (troca, cancelamento, reembolso).
|
|
13
|
+
action:
|
|
14
|
+
kind: InvokeFlowTaskAction
|
|
15
|
+
flowId: 7d1c2a4e-3b5f-4c6d-8e9f-0a1b2c3d4e5f
|
|
@@ -25,7 +25,7 @@ modelDisplayName: Enviar resumo do pedido por e-mail
|
|
|
25
25
|
modelDescription: "Envia ao cliente, pelo Outlook, um e-mail com o resumo do atendimento sobre o pedido. Use somente quando o cliente pedir o resumo por e-mail."
|
|
26
26
|
action:
|
|
27
27
|
kind: InvokeConnectorTaskAction
|
|
28
|
-
connectionReference: cr7b2_bodegaPedidos.shared_office365.shared-office365-
|
|
28
|
+
connectionReference: cr7b2_bodegaPedidos.shared_office365.shared-office365-d1f6a460-51c5-47c6-9010-aec0018a7a95
|
|
29
29
|
connectionProperties:
|
|
30
30
|
mode: Maker
|
|
31
31
|
|
|
@@ -14,6 +14,16 @@ instructions: |
|
|
|
14
14
|
- Responda sempre em português do Brasil, de forma curta e cordial
|
|
15
15
|
- Nunca invente números de pedido, valores ou prazos
|
|
16
16
|
- Se a dúvida for sobre devolução, frete, cupom ou loja física, diga que é outro especialista que cuida disso
|
|
17
|
+
|
|
18
|
+
Links:
|
|
19
|
+
- Formate links assim: [título](url), nunca a URL crua.
|
|
20
|
+
- Um link de ação vai no topo; o link da base de ajuda vai no fim.
|
|
21
|
+
- Nunca escreva as palavras «clique aqui».
|
|
22
|
+
- No máximo 3 links por resposta.
|
|
23
|
+
|
|
24
|
+
Responda em no máximo 3 bullets.
|
|
25
|
+
|
|
26
|
+
Não use emojis.
|
|
17
27
|
conversationStarters:
|
|
18
28
|
- title: "Status do pedido"
|
|
19
29
|
text: "Como acompanho o meu pedido?"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
kind: ConnectionReferencesSourceFile
|
|
2
2
|
connectionReferences:
|
|
3
|
-
- id:
|
|
4
|
-
connectionReferenceLogicalName: cr7b2_bodegaPedidos.shared_office365.shared-office365-
|
|
3
|
+
- id: 940ab1fc-5949-4001-8ef4-63459ea972ff
|
|
4
|
+
connectionReferenceLogicalName: cr7b2_bodegaPedidos.shared_office365.shared-office365-d1f6a460-51c5-47c6-9010-aec0018a7a95
|
|
5
5
|
connectorId: /providers/Microsoft.PowerApps/apis/shared_office365
|
|
6
6
|
displayName: Office 365 Outlook
|