[help] How do I define a formPolicy?

I’m running into an error You have defined a form action, but haven't added the FormPolicy to your policy ensemble

In my policies.yml

  - name: KerasPolicy
    epochs: 200
    max_history: 3
  - name: MemoizationPolicy
    max_history: 3

From what I understand, a policy is just middleware before dispatching. Probably done through python, but I can’t find (or not looking correctly lol) the formPolicy api docs.) please help me understand. thank you

@david-moven add following to your policy file

  • name: FormPolicy
1 Like

Thank you, that was it.