It's not immediately obvious that one cannot load chat.yaml using PromptEngine, and the Invalid yaml file type error message is too generic, not actionable. In order to help learning the capability of having multiple engines, we should make error messages a bit more verbose, e.g. explaining which value is incorrect, what was expected, and why.
It's not immediately obvious that one cannot load
chat.yamlusing PromptEngine, and theInvalid yaml file typeerror message is too generic, not actionable. In order to help learning the capability of having multiple engines, we should make error messages a bit more verbose, e.g. explaining which value is incorrect, what was expected, and why.