Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
{'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 as str 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’

...