2

There are many sequence to sequence (seq2seq) models and end to end models, like text to sql. I was wondering are there any text to json deep learning models?

For example:

Text

"Switch on the computer". 

JSON:

{"actions":["switch on"], "object":"computer"}

Another Example:

Text:

"Lower the heater temperature to 25 degrees and before that play music for one hour".

JSON:

 {"actions": ["lower the heater temperature","play the music"],"order":[1,0]}

Note that JSON has different or some additional elements depending on the text. This is different from regular seq2seq models. Any suggestions on which models to use? Thank you!!

0 Answers0