calpoly-csai / swanton

Swanton Pacific Ranch chatbot with a knowledge graph
MIT License
3 stars 1 forks source link

Added functionality for story generation #27

Closed chidiewenike closed 3 years ago

chidiewenike commented 3 years ago

Summary

Added story_converter.py which converts formatted CSVs to the markdown and yaml files needed to train Rasa on stories. Also updated Speech_Generator.py to include generic utterances.

Details

The story_converter.py program takes the story and intents CSVs and generates the stories.md, nlu.md, and domain.yml files needed to train a Rasa model. Speech_Generator.py also takes multiple CSVs and includes functionality to generate audio and mapping for generic utterances.

Testing

Ran it on Powershell and it successfully generated the audio files and corresponding JSON.