conda-forge / ruamel.yaml-feedstock

A conda-smithy repository for ruamel.yaml.
BSD 3-Clause "New" or "Revised" License
1 stars 19 forks source link

Using ruemal.yaml to deal with rasa #164

Open WilliamQue opened 1 year ago

WilliamQue commented 1 year ago

Comment:

The following is yaml configuration file from rasa. I do not know how to append part 2 into part 1, especially meeting vartical bar | after examples.

# part 1
version: "3.1"
nlu:
- intent: greet
  examples: |
    - Hey
    - Hi
    - hey there [Sara](name)

# part 2
- intent: greet2
  examples: |
    - aaa
    - bbb
ocefpaf commented 1 year ago

This looks like a question regarding ruamel.yaml use and not the package. You'll probably have better chances asking that on StackOverFlow or the upstream repo/docs page.