0.0.17 • Published 6 years ago
LicenseSEE LICENSE IN LI...
Builder Service
Conventions
Platforms
Platform | Version | Key |
---|
Alexa | - | ALEXA |
Google Assistant | - | GOOGLE |
Dialogflow | 1.0 | DIALOGFLOW_V1 |
Dialogflow | 2.0 | DIALOGFLOW_V2 |
Sovanta | 1.0 | SOVANTA |
Sovanta | 2.0 | SOVANTA_V2 |
Response Types
Platform | Version | Types |
---|
Sovanta | 1.0 | VOICE, TEXT, CARD, OPTION, CUSTOM, ARRAY |
Sovanta | 2.0 | VOICE, SIMPLE, CARD, OPTION, CUSTOM, MEDIA, TABLE, TASK, SLIDER |
Card Types
Platform | Version | Types |
---|
Sovanta | 1.0 | LIST, CAROUSEL |
Sovanta | 2.0 | LIST, CAROUSEL |
Chip Types
Platform | Version | Types |
---|
Sovanta | 1.0 | - |
Sovanta | 2.0 | LOCATION, IMAGE, ACCOUNT_LINKING |
Media Types
Platform | Version | Types |
---|
Sovanta | 1.0 | - |
Sovanta | 2.0 | AUDIO, VIDEO |
Vendor Specific Formats
Facebook Messenger
Amazon Alexa
Examples
Requests
noize.textRequest()
{
userId: 'userId',
sessionId: 'sessionId',
message: {
type: 'TEXT',
locale: 'de-DE',
data: {
message: 'Hi Steffen, ich bin Deine erste Nachricht.' }
}
}
Responses
noize.simple()
{
shouldEndSession: false,
shouldRestrictAnswer: false,
version: '2.0',
platform: 'DIALOGFLOW_V1',
vendor: {
id: '4b1ea105-91b6-4797-8431-006ca5b5754e',
timestamp: '2018-07-16T11:07:19.734Z',
resolvedQuery: 'ich heiße Steffen',
score: 1
},
language: 'de-DE',
response: {
type: 'TEXT',
status: 0,
message: 'Hi Steffen, ich bin Deine erste Nachricht.',
chips: [
[Object],
[Object],
'Chip 3'
]
},
raw: {}
}