Temp files are being created and it doesn't reflect new data

\AppData\Local\temp\tmpkkh0fvo\9852038025808-814_nlu.md

So the issue i am facing is Rasa keeps on creating different temp folder, every time i update my training data it created new folder but earlier version of temp data is also used. Lets say i removed an intent called “Access” in new data , yet it keeps appearing and creates error in interactive learning. Old intent also appears in data validation.

I have read about refactor _copy_files_to_new_dir to always delete tmp directories #3944 and its still open. Is there any way i can move ahead. its kind of dead end for me as i can’t access those temp folder. @erohmensing could you help on this?

We indeed have an open issue for that (refactor _copy_files_to_new_dir to always delete tmp directories · Issue #3944 · RasaHQ/rasa · GitHub), however I don’t think that’s the problem here.

So the issue i am facing is Rasa keeps on creating different temp folder, every time i update my training data it created new folder but earlier version of temp data is also used. Lets say i removed an intent called “Access” in new data , yet it keeps appearing and creates error in interactive learning. Old intent also appears in data validation.

Can you please specify which command you are executing / when exactly the data gets dump? And are you using rasa or rasa-x?

Hello. I just removed some intents and found my codes could not pass the rasa data validate. It warned that I used intents(those I removed) that were not listed in my domain file.

Then I guessed obsolete data may exist somewhere, for example, temp files. Then I found your post.

However, after carefully reviewing, I found I did leave some rule codes using those old intents undelete. That’s human error.

I don’t know if it is your case. Just sharing.