Body: <p>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?</p>
  <p>For example:</p>
  <p>Text</p>
  <pre><code>&quot;Switch on the computer&quot;. 
  </code></pre>
  <p>JSON:</p>
  <pre><code>{&quot;actions&quot;:[&quot;switch on&quot;], &quot;object&quot;:&quot;computer&quot;}
  </code></pre>
  <p>Another Example:</p>
  <p>Text:</p>
  <pre><code>&quot;Lower the heater temperature to 25 degrees and before that play music for one hour&quot;.
  </code></pre>
  <p>JSON:</p>
  <pre><code> {&quot;actions&quot;: [&quot;lower the heater temperature&quot;,&quot;play the music&quot;],&quot;order&quot;:[1,0]}
  </code></pre>
  <p>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!!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-10T12:48:15.633Z
Comments.Text: You may be asking for a [semantic parsing model](https://en.m.wikipedia.org/wiki/Semantic_parsing)
Comments.UserDisplayName: Jacob Valdez
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-11T07:01:17.277Z
Comments.Text: Thank you, it looks something close to what I've been looking for.
Comments.UserDisplayName: tired and bored dev
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-01-17T07:18:50.347Z
Comments.Text: @tiredandboreddev did you ever find anything? Also looking for something similar.
Comments.UserDisplayName: jackofallcode
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-01-19T06:07:39.640Z
Comments.Text: For my purpose, I could find seq2seq models work to some extent...
Comments.UserDisplayName: tired and bored dev
Tags: <deep-learning><natural-language-processing><seq2seq>
Title: Any models for text to json
UserDisplayName: tired and bored dev
ThreadText: # Any models for text to json
  
  (Asked by: username_0 on 2022-10-10)
  
  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!!
  
  **Tags:** deep-learning, natural-language-processing, seq2seq
  > **Comments:**
  > **username_1**: You may be asking for a [semantic parsing model](https://en.m.wikipedia.org/wiki/Semantic_parsing)  
  > **username_0**: Thank you, it looks something close to what I've been looking for.  
  > **username_2**: @tiredandboreddev did you ever find anything? Also looking for something similar.  
  > **username_0**: For my purpose, I could find seq2seq models work to some extent...  
  
  ---
  
  ## 0 answers
  
  