title: How should i process the data in a json/dataframe format so that is suitable for rasa chatbots
body: <p>I'm new with NLP and the rasa api. I'm trying to prepare the data so that it can be used as training data for intent recognition. The function that I'm trying to use is:</p>
  <pre><code>from rasa_nlu.training_data import load_data   #Import function
  train_data_rasa=load_data('/content/data_file.json') #Json file
  </code></pre>
  <p>However the next error pop ups:</p>
  <pre><code>AttributeError: 'str' object has no attribute 'get'
  </code></pre>
  <p>The json file is the result of using pandas.to_json() function. The original dataset, is the ATIS flight intent dataframe in which there are two columns: The text and the intent.
  Here is a preview of the json file:</p>
  <pre><code>{&quot;Intent&quot;:{&quot;0&quot;:&quot;atis_flight&quot;,&quot;1&quot;:&quot;atis_flight_time&quot;,&quot;2&quot;:&quot;atis_airfare&quot;,&quot;3&quot;:&quot;atis_airfare&quot;,&quot;4&quot;:&quot;atis_flight&quot;,&quot;5&quot;:&quot;atis_aircraft&quot;,&quot;6&quot; ........
  </code></pre>
  <p>I don't really know what is going on as the dataset seems to be clean. I have also tried multiple alternatives such as markdown (md) type of file but it does not seem to work.</p>
  <p>Thank you in advance !!</p>