Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Dialogflow

DEPRECATED FROM REL. 2.5.7

Description

This box allows you to build a voice bot using the Google Dialogflow integration (click clip1 and clip2 and learn more about this topic!)

*Internet connection is required for this box to work


Parameters

  • Label: here you can type a brief description

  • Key: your acquired client api key from the console.dialogflow.com account

  • Text: the text you want to send

  • Language: the language you want use for the bot

Please note Dialogflow require a valid key from the console.dialogflow.com website and a sufficient amount of acquired credits.

Furthermore it is pure experimental and it can bring to unexpected behaviour.

The Dialogflow block saves the results in the following variables:

    • DIALOGFLOW_SOURCE: Request source name. 

    • DIALOGFLOW_RESOLVEDQUERY: The query that was used to produce the result.

    • DIALOGFLOW_ACTION: Matched Dialogflow intent action name.

    • DIALOGFLOW_SPEECH: Text to be pronounced to the user.

    • DIALOGFLOW_SCORE: Matching score for the intent (0-1).

    • DIALOGFLOW_STATUSCODE: Response status code. For more information, please see here https://dialogflow.com/docs/fulfillment#errors

    • DIALOGFLOW_ENDCONVERSATION: True when 'end conversation' flag is set for the matched dialogflow intent. Useful when you want to transfer a call to an agent (true/false).

    • DIALOGFLOW_ISFALLBACKINTENT: True when matched dialogflow intent is fallback intent (true-false).

Release notes

DIALOGFLOW_ENDCONVERSATION and DIALOGFLOW_ISFALLBACKINTENT variables are available from version 2.0.77


Exit Arrows

This box provides just one arrow out to the next step

Remember: this software is managed by others. Check if it works properly.

click here to learn more about voicebot triggers useful to enable conversation transcript view

DialogflowV2

available from rel. 2.5.7

Description

This box allows you to build a voice bot using the Google Dialogflow integration

Explore this documentation to find out How to retrieve Google Key for Cally Square blocks

*Internet connection is required for this box to work


Parameters

  • Label: here you can type a brief description

  • Project ID: Cloud Platform project ID

  • Client Email: email address associated to Service Account Key

  • Private Key: private key associated to Service Account Key

  • Language: the language you want use for the bot

  • Text: the text you want to send

Please note Dialogflow requires a valid Service Account Key and a sufficient amount of acquired credits.

Furthermore it is pure experimental and it can bring to unexpected behaviour.

The DialogflowV2 block saves the results in the following variables:

    • DIALOGFLOW_ACTION: Matched Dialogflow intent action name

    • DIALOGFLOW_ALLREQUIREDPARAMSPRESENT: True if all required parameter values have been collected (true-false)

    • DIALOGFLOW_ENDCONVERSATION: True when 'end conversation' flag is set for the matched dialogflow intent. It is useful when you want to transfer a call to an agent (true/false)

    • DIALOGFLOW_FULLFILLMENTTEXT: The text to be pronounced to the user or shown on the screen

    • DIALOGFLOW_INTENTNAME: The unique identifier of the intent

    • DIALOGFLOW_INTENTDISPLAYNAME: The display name of the intent

    • DIALOGFLOW_ISFALLBACKINTENT: True when matched dialogflow intent is fallback intent (true-false)

    • DIALOGFLOW_LANGUAGECODE: The language that was triggered during intent detection

    • DIALOGFLOW_QUERYTEXT: User input

    • DIALOGFLOW_RESPONSEID: The unique identifier of the response

    • DIALOGFLOW_SCORE: Matching score for the intent (0-1)

    • DIALOGFLOW_SPEECH: Text to be pronounced to the user

    • DIALOGFLOW_RESOLVEDQUERY: The query that was used to produce the result.


Exit Arrows

This box provides just one arrow out to the next step

Remember: this software is managed by others. Check if it works properly.

click here to learn more about voicebot triggers useful to enable conversation transcript view

Amazon Lex

available from rel. 2.0.77

Description

This box allows you to build a voice bot using the Amazon Lex integration.

For additional information see https://docs.aws.amazon.com/en_us/lex/latest/dg/getting-started.html

*Internet connection is required for this box to work


Parameters

The Amazon Lex block saves the results in the following variables:

    • AWS_LEX_INTENTNAME: The current user intent that Amazon Lex is aware of. (Read more)

    • AWS_LEX_MESSAGE: The message to convey to the user. 

    • AWS_LEX_MESSAGEFORMAT: The format of the response message. (Read more)

    • AWS_LEX_DIALOGSTATE: Identifies the current state of the user interaction. (Read more)

    • AWS_LEX_SLOTTOELICIT: If the AWS_LEX_DIALOGSTATE value is ElicitSlot, returns the name of the slot for which Amazon Lex is eliciting a value.

    • AWS_LEX_SLOT_*: The intent slots that Amazon Lex detected from the user input in the conversation. (ex. AWS_LEX_SLOT_PICKUPCITY)


Exit Arrows

This box provides just one arrow out to the next step

Remember: this software is managed by others. Check if it works properly.

click here to learn more about voicebot triggers useful to enable conversation transcript view

  • No labels