Configuring your Rasa NLU via a pipeline
As mentioned in the previous section, Rasa NLU is a general framework based on pipelines. This gives Rasa NLU maximum flexibility.
What is a pipeline?
A pipeline in Rasa defines the dependency relationship and data flow direction between the different components, and it allows the developer to configure each of the components. The pipeline gives the Rasa framework great flexibility and extensibility. We will discuss the extensibility advantages of pipelines in Chapter 8, Working Principles and Customization of Rasa.
In the next section, we will learn how to use the pipeline to orchestrate components.
Configuring a pipeline
The configuration format Rasa NLU uses is YAML. Here is an example of a configuration file of Rasa NLU:
language: en pipeline: - name: WhitespaceTokenizer - name: RegexFeaturizer - name: LexicalSyntacticFeaturizer - name: CountVectorsFeaturizer ...