rasa/core/agent.py
async def visualize(self,
                        resource_name: Text,
                        output_file: Text,
                        max_history: Optional[int] = None,
                        nlu_training_data: Optional[Text] = None,
                        should_merge_nodes: bool = True,
                        fontsize: int = 12
                        ) -> None:
        from rasa.core.training.visualization import visualize_stories
        from rasa.core.training.dsl import StoryFileReader
        """Visualize the loaded training data from the resource."""

        # if the user doesn't provide a max history, we will use the
        # largest value from any policy
        max_history = max_history or self._max_history()

        story_steps = await StoryFileReader.read_from_folder(resource_name,
                                                             self.domain)
        await visualize_stories(story_steps, self.domain, output_file,
                                max_history, self.interpreter,
                                nlu_training_data, should_merge_nodes,
                                fontsize)
Visualize the loaded training data from the resource.
Visualize the loaded training data from the resource.
Visualize the loaded training data from the resource .
async def visualize(self,
                        resource_name: Text,
                        output_file: Text,
                        max_history: Optional[int] = None,
                        nlu_training_data: Optional[Text] = None,
                        should_merge_nodes: bool = True,
                        fontsize: int = 12
                        ) -> None:
        from rasa.core.training.visualization import visualize_stories
        from rasa.core.training.dsl import StoryFileReader
        max_history = max_history or self._max_history()
        story_steps = await StoryFileReader.read_from_folder(resource_name,
                                                             self.domain)
        await visualize_stories(story_steps, self.domain, output_file,
                                max_history, self.interpreter,
                                nlu_training_data, should_merge_nodes,
                                fontsize)
async def visualize ( self , resource_name : Text , output_file : Text , max_history : Optional [ int ] = None , nlu_training_data : Optional [ Text ] = None , should_merge_nodes : bool = True , fontsize : int = 12 ) -> None : from rasa . core . training . visualization import visualize_stories from rasa . core . training . dsl import StoryFileReader max_history = max_history or self . _max_history ( ) story_steps = await StoryFileReader . read_from_folder ( resource_name , self . domain ) await visualize_stories ( story_steps , self . domain , output_file , max_history , self . interpreter , nlu_training_data , should_merge_nodes , fontsize )
Visualize the loaded training data from the resource.
Visualize the loaded training data from the resource .
"""Visualize the loaded training data from the resource.""" # if the user doesn't provide a max history, we will use the # largest value from any policy
self
resource_name
Text
output_file
Text
max_history
Optional[int]
nlu_training_data
Optional[Text]
should_merge_nodes
bool
fontsize
int