Glific v0.3.1 Glific.Dialogflow.Sessions View Source

Helper to help manage intents

Link to this section Summary

Functions

Function to communicate with dialogflow to detect the intent of the request

Link to this section Functions

Link to this function

detect_intent(text, session_id, language \\ "en")

View Source

Specs

detect_intent(String.t(), String.t(), String.t()) :: tuple()

Function to communicate with dialogflow to detect the intent of the request