Tally has a natural language processing capability which accepts queries either from the Calculator Pane or from SMS Request. Tally has the intelligence of parsing received/ given commands, in order to process the same. This parsed information is used by the system to process the query and deliver the result. However, in certain cases, queries received might not be understood by the system. There have also been requirements in the market to support data updation queries like Ledger, Voucher Creation, etc
In order to cater to the above requirements, a new System Event NatLangQuery has been introduced. This event gives complete control in the hands of the TDL Developer, thereby enabling him to process the query received and do the needful. If the query is ignored by TDL, then the System continues to process it and provide the response as usual.
Syntax
[System : Event]
Event Name : NatLangQuery : Condition : Action : Action Parameters
Where,
Event Name - can be any unique name, indicating the purpose of the event.
Condition - if evaluated to TRUE on receiving a query, an action will be executed.
Action is the Action Call which can be used for processing the Query received/given.
Action Parameters can be a Function Name and its required Parameters.
In order to cater to the above requirements, a new System Event NatLangQuery has been introduced. This event gives complete control in the hands of the TDL Developer, thereby enabling him to process the query received and do the needful. If the query is ignored by TDL, then the System continues to process it and provide the response as usual.
Syntax
[System : Event]
Event Name : NatLangQuery : Condition : Action : Action Parameters
Where,
Event Name - can be any unique name, indicating the purpose of the event.
Condition - if evaluated to TRUE on receiving a query, an action will be executed.
Action is the Action Call which can be used for processing the Query received/given.
Action Parameters can be a Function Name and its required Parameters.
Skip to main content