speed up yaml parsing #7953
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
When parsing yaml files we currently look for environment variables to interpolate in every single line. While this is a useful feature for configuration files (
endpoints.yml
,config.yml
,credentials.yml
) and e.g. also used for Rasa X, this makes the training data reading very slow as stated here.Note that removing this would be a breaking change as some users might rely on it. We need some sort of smooth transition for it.
Note that I've not investigated how much this line also contributes to the slowness
Ideas for solutions:
Definition of Done
The text was updated successfully, but these errors were encountered: