Class AzureQnAMakerSystem
Uses Azure Cognitive Services QnA Maker (https://www.qnamaker.ai/) to provide question-answering NLP functionality.
Inherited Members
Namespace: Ride.NLP
Assembly: cs.temp.dll.dll
Syntax
public class AzureQnAMakerSystem : RideSystemMonoBehaviour, INLPQnASystem, INLPSystem, IRideSystem, IApiInject, IIdentity
Fields
Name | Description |
---|---|
m_answerSize | |
m_authorizationKey | |
m_responseTime | |
m_uri |
Methods
Name | Description |
---|---|
AskQuestion(String, Action<NLPResponse>) | Asks question to NLP service. |
AskQuestion(String, String, Int32, String, Action<NLPResponse>) | Asks question to NLP service. |
AskQuestion(String, String, String, Action<NLPResponse>) | Asks question to NLP service. |
Initialize(RideConfigSystem) | Initializes the AzureQnAMakerSystem by setting up the endpoint URI and authorization key. The URI is formed by appending the knowledge base ID to the base endpoint. The authorization key is prefixed with 'EndpointKey' for use in the Azure QnA Maker service. |
Request(String, String, Action<NLPResponse>, String) | Requests QnAMaker NLP response based on provided user input. |