Skip to content

Commit

Permalink
Merge branch 'master' into e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
tabergma committed Nov 9, 2020
2 parents 1e6fa3f + d37631e commit fe9b0e7
Show file tree
Hide file tree
Showing 91 changed files with 2,103 additions and 1,886 deletions.
1 change: 1 addition & 0 deletions changelog/6966.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added warning for when an option is provided for a [component](components.mdx) that is not listed as a key in the defaults for that component.
1 change: 1 addition & 0 deletions changelog/6973.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ignore rules when validating stories
1 change: 1 addition & 0 deletions changelog/6973.doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Correct data validation docs
1 change: 1 addition & 0 deletions changelog/7031.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The converter tool is now able to convert test stories that contain a number as entity type.
1 change: 1 addition & 0 deletions changelog/7061.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Gray out "Download" button in Rasa Playground when the project is not yet ready to be downloaded.
16 changes: 16 additions & 0 deletions changelog/7068.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Slot mappings for [Forms](forms.mdx) in the domain are now optional. If you do not
provide any slot mappings as part of the domain, you need to provide
[custom slot mappings](forms.mdx#custom-slot-mappings) through a custom action.
A form without slot mappings is specified as follows:

```rasa-yaml
forms:
my_form:
# no mappings
```

The action for [forms](forms.mdx) can now be overridden by defining a custom action
with the same name as the form. This can be used to keep using the deprecated
Rasa Open Source `FormAction` which is implemented within the Rasa SDK. Note that it is
**not** recommended to override the form action for anything else than using the
deprecated Rasa SDK `FormAction`.
6 changes: 6 additions & 0 deletions changelog/7132.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Adapt the training data reader and emulator for LUIS to
[their latest format](https://westcentralus.dev.cognitive.microsoft.com/docs/services/luis-endpoint-api-v3-0/)
and add support for roles.
Update the instructions in the
["Migrate from LUIS" documentation page](migrate-from/microsoft-luis-to-rasa.mdx)
to reflect the recent changes made to the UI of LUIS.
1 change: 1 addition & 0 deletions changelog/7140.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed error when starting Rasa X locally without a proper git setup.
3 changes: 3 additions & 0 deletions changelog/7160.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Adapt the [training data reader and emulator for DialogFlow](migrate-from/google-dialogflow-to-rasa.mdx) to
[their latest format](https://cloud.google.com/dialogflow/es/docs/reference/rest/v2/DetectIntentResponse)
and add support for regex entities.
1 change: 1 addition & 0 deletions changelog/7186.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Properly validate incoming webhook requests for the Slack connector to be authentic.
2 changes: 1 addition & 1 deletion changelog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Each file should be named like `<ISSUE>.<TYPE>.md`, where
* `feature`: new user facing features, like new command-line options and new behavior.
* `improvement`: improvement of existing functionality, usually without requiring user intervention.
* `bugfix`: fixes a reported bug.
* `doc`: documentation improvement, like rewording an entire session or adding missing docs.
* `doc`: documentation improvement, like rewording an entire section or adding missing docs.
* `removal`: feature deprecation or feature removal.
* `misc`: fixing a small typo or internal change, will not be included in the changelog.

Expand Down
30 changes: 26 additions & 4 deletions data/examples/dialogflow/agent.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"description": "",
"language": "en",
"shortDescription": "",
"examples": "",
"linkToDocs": "",
"disableInteractionLogs": false,
"disableStackdriverLogs": true,
"googleAssistant": {
"googleAssistantCompatible": false,
"project": "rasanlu-development",
Expand All @@ -10,23 +15,40 @@
"endIntentIds": [],
"oAuthLinking": {
"required": false,
"providerId": "",
"authorizationUrl": "",
"tokenUrl": "",
"scopes": "",
"privacyPolicyUrl": "",
"grantType": "AUTH_CODE_GRANT"
},
"voiceType": "MALE_1",
"capabilities": [],
"protocolVersion": "V2"
"env": "",
"protocolVersion": "V2",
"autoPreviewEnabled": false,
"isDeviceAgent": false
},
"defaultTimezone": "Asia/Hong_Kong",
"webhook": {
"url": "",
"username": "",
"headers": {},
"available": false,
"useForDomains": false,
"cloudFunctionsEnabled": false,
"cloudFunctionsInitialized": false
},
"isPrivate": true,
"customClassifierMode": "use.after",
"mlMinConfidence": 0.3,
"supportedLanguages": [
"es"
]
}
],
"enableOnePlatformApi": true,
"onePlatformApiVersion": "v2",
"analyzeQueryTextSentiment": false,
"enabledKnowledgeBaseNames": [],
"knowledgeServiceConfidenceAdjustment": 0.0,
"dialogBuilderMode": false,
"baseActionPackagesUrl": ""
}
6 changes: 4 additions & 2 deletions data/examples/dialogflow/entities/cuisine.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"name": "cuisine",
"isOverridable": true,
"isEnum": false,
"automatedExpansion": false
}
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
2 changes: 1 addition & 1 deletion data/examples/dialogflow/entities/cuisine_entries_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"india"
]
}
]
]
2 changes: 1 addition & 1 deletion data/examples/dialogflow/entities/cuisine_entries_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"india"
]
}
]
]
9 changes: 9 additions & 0 deletions data/examples/dialogflow/entities/flightNumber.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "fc93d510-e240-4b71-bafe-7dd7a3303e79",
"name": "flightNumber",
"isOverridable": true,
"isEnum": false,
"isRegexp": true,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"value": "flight [A-Z]{2} [0-9]{4}",
"synonyms": [
"flight [A-Z]{2} [0-9]{4}"
]
}
]
6 changes: 4 additions & 2 deletions data/examples/dialogflow/entities/location.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"name": "location",
"isOverridable": true,
"isEnum": false,
"automatedExpansion": false
}
"isRegexp": false,
"automatedExpansion": false,
"allowFuzzyExtraction": false
}
2 changes: 1 addition & 1 deletion data/examples/dialogflow/entities/location_entries_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"north"
]
}
]
]
2 changes: 1 addition & 1 deletion data/examples/dialogflow/entities/location_entries_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
"norte"
]
}
]
]
23 changes: 15 additions & 8 deletions data/examples/dialogflow/intents/Default Fallback Intent.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,23 @@
"parameters": [],
"messages": [
{
"type": 0,
"type": "0",
"title": "",
"textToSpeech": "",
"lang": "es",
"speech": [
"Ups, no he entendido a que te refieres.",
"¿Podrías repetirlo, por favor?",
"¿Disculpa?",
"¿Decías?",
"¿Cómo?"
]
],
"condition": ""
},
{
"type": 0,
"type": "0",
"title": "",
"textToSpeech": "",
"lang": "en",
"speech": [
"I didn\u0027t get that. Can you say it again?",
Expand All @@ -37,17 +42,19 @@
"Say that again?",
"I didn\u0027t get that.",
"I missed that."
]
],
"condition": ""
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1507539905,
"fallbackIntent": true,
"events": []
}
"events": [],
"conditionalResponses": [],
"condition": "",
"conditionalFollowupEvents": []
}
28 changes: 20 additions & 8 deletions data/examples/dialogflow/intents/affirm.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,40 @@
"responses": [
{
"resetContexts": false,
"action": "",
"affectedContexts": [],
"parameters": [],
"messages": [
{
"type": 0,
"type": "0",
"title": "",
"textToSpeech": "",
"lang": "es",
"speech": "Me alegro de ayudarte, compañero :)"
"speech": [
"Me alegro de ayudarte, compañero :)"
],
"condition": ""
},
{
"type": 0,
"type": "0",
"title": "",
"textToSpeech": "",
"lang": "en",
"speech": "Glad I help you, mate :)"
"speech": [
"Glad I help you, mate :)"
],
"condition": ""
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1507540481,
"fallbackIntent": false,
"events": []
}
"events": [],
"conditionalResponses": [],
"condition": "",
"conditionalFollowupEvents": []
}
9 changes: 8 additions & 1 deletion data/examples/dialogflow/intents/affirm_usersays_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
],
"isTemplate": false,
"count": 0,
"lang": "en",
"updated": 0
},
{
Expand All @@ -21,6 +22,7 @@
],
"isTemplate": false,
"count": 0,
"lang": "en",
"updated": 0
},
{
Expand All @@ -33,6 +35,7 @@
],
"isTemplate": false,
"count": 0,
"lang": "en",
"updated": 0
},
{
Expand All @@ -45,6 +48,7 @@
],
"isTemplate": false,
"count": 0,
"lang": "en",
"updated": 0
},
{
Expand All @@ -57,6 +61,7 @@
],
"isTemplate": false,
"count": 0,
"lang": "en",
"updated": 0
},
{
Expand All @@ -69,6 +74,7 @@
],
"isTemplate": false,
"count": 0,
"lang": "en",
"updated": 0
},
{
Expand All @@ -81,6 +87,7 @@
],
"isTemplate": false,
"count": 0,
"lang": "en",
"updated": 0
}
]
]
Loading

0 comments on commit fe9b0e7

Please sign in to comment.