#My Blueprint broke STP : The symptoms

1 messages · Page 1 of 1 (latest)

warm comet
#

So in my blueprint I wanted to get super fancy and made two huge variables

variables:
  yes_sentences:
    - "Yes"
    - Sure
    - Absolutely
    - Go ahead
    - ...
  no_sentences:
    - "No"
    - Nope
    - Don't
    - Please don't
    - ...

And referenced them as expected answers in the ask_question

            answers:
              - id: "yes"
                sentences: "{{yes_sentences}}"
              - id: "no"
                sentences: "{{no_sentences}}"
#

STP did not expect that and trained on that ...

 TriggerSentences:
    data:
      - sentences:
          ...
          - "{"
          - "{"
          - "y"
          - "e"
          - "s"
          - "_"
          - "s"
          - "e"
          - "n"
          - "t"
          - "e"
          - "n"
          - "c"
          - "e"
          - "s"
          - "}"
          - "}"
          - "{"
          - "{"
          - "n"
          - "o"
          - "_"
          - "s"
          - "e"
          - "n"
          - "t"
          - "e"
          - "n"
          - "c"
          - "e"
          - "s"
          - "}"
          - "}"
#

That was the error yielded.

hassil.parser.ParseError: Unable to find end of list '}' from index 0 in: {

When you knwo the story above, the error makes sense 😄