How to convert csv into a format accepted by rasa with python

I found this and tried to modify the program to the format accepted by rasa.

But i don’t know what to do next

How to modify the program? (3.6 KB)

1 Like

I solved thanks.

@dan246 great, do share some solution with us, whenever you got some time. Many thanks in advance.

I split the Q&A set into questions and answers, and trained them in domain nlu and story respectively :grinning_face_with_smiling_eyes:

@dan246 nice, and what python code did you used or manual? (6.5 KB)

I modified this program

You can modify the question and answer set to this format 擷取1

q1~q8 is intent (Free setting) The following are the corresponding questions and answers (I use google translate, sorry :sweat_smile:)

@dan246 great, I will also try this method :wink: many thanks for sharing the solution.