speed up is_key_in_yaml
#7952
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
area:rasa-oss/training-data
Issues focused around Rasa training data (stories, NLU, domain, etc.)
feature:ux-cli+training-data
Feature: Improve user experience with Rasa CLI and training data for developers
type:maintenance 🔧
Improvements to tooling, testing, deployments, infrastructure, code style.
Problem
We currently use the function
is_key_in_yaml
to check if a file is a nlu or story file. This reads and parses the entire yaml file just to see if a key is present.This makes the training data reading slow because:
Proposed Solution:
The text was updated successfully, but these errors were encountered: