Class GoogleDialogFlowSystem
Uses Google DialogFlow to provide question-answering NLP functionality.
Inheritance
System.Object
GoogleDialogFlowSystem
Assembly: cs.temp.dll.dll
Syntax
public class GoogleDialogFlowSystem : RideSystemMonoBehaviour, IRideSystem, IApiInject, IIdentity
Fields
Methods
Name |
Description |
AddIntent(String, String, List<String>, List<String>)
|
Add a new Intent to DialogFlow training via Web Call to the API
|
AnalyzeEntities(String, Action<NLPResponse>)
|
Analyzes entities through GoogleDialogflow Text Analytics on provided text.
|
AnalyzeSentiment(String, Action<NLPResponse>)
|
|
AskQuestion(String, Action<NLPResponse>)
|
|
AuthenticateGoogleCloudService()
|
|
DeleteIntent(String)
|
Delete an intent from the GCP DialogFlow via Web Call to the API
|
GetIntent(String)
|
Get list of all intents associated with the project via Web Call to the API
|
GoogleSentimentAnalysis(String, Double, Double, Action<NLPResponse>)
|
|
RequestAddIntent(String, String, String, List<String>, List<String>)
|
|
RequestAnalyzeEntities(String, String, Action<NLPResponse>)
|
|
RequestAuthentication(String)
|
|
RequestDeleteIntent(String)
|
|
RequestGetIntent(String)
|
|
RequestQnAAndSentiment(String, String, Action<NLPResponse>)
|
|
RequestUpdateSingleIntent(String, String, String, String, List<String>)
|
|
Start()
|
|
SystemInit()
|
Initializes the GoogleDialogFlowSystem with Google Service account, key file paths, OAuth2 token URLs, grant types, assertion types, and endpoint URIs for various DialogFlow functionalities. Also, it calls the method to authenticate with Google Cloud Service.
|
SystemUpdate(Single)
|
|
Update()
|
|
UpdateSingleIntent(String, String, String, List<String>, String)
|
|