...
Code Block | ||
---|---|---|
| ||
{'intent': '[YOUR_INTENT]', 'parameters': {'[YOUR_PARAMETER]': '[PARAMETER_RESPONSE]'}, 'confidence': [CONFIDENCE_VALUE], 'text': '[RESPONSE_TEXT]', 'source': 'audio'} |
'intent':
str
the intent on which the audio was recognised, corresponding to the intent set on the agent
parameters‘parameters’:
dict
the parameters defined in the agent
each parameter is a
str
key, with the its response asstr
value pairing
'confidence level':
int
number ranging from 0 to 100 that defines how confident the API is with the intent and text detection
text‘text’:
str
speech-to-text response from the API
'source':
str
for the SIC framework Dialogflow usage, the source is always ‘audio’
...