StructuredOutput ArrayOf Issue #144
-
|
Hello everyone, I followed the example in the documentation but I have this error: PHP Fatal error: Uncaught Error: Attribute class "ArrayOf" not found in /neuron-ai/vendor/inspector-apm/neuron-ai/src/StructuredOutput/Validation/Validator.php:33 Is it a consequence of the recent changes made to the framework or am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Hi @iosviluppo-net I forgot to mention in the attribute documentation that you need to provide the doc-block of the child class. I updated the section accordingly: https://docs.neuron-ai.dev/advanced/structured-output#arrayof |
Beta Was this translation helpful? Give feedback.
-
|
Did you import the class?
|
Beta Was this translation helpful? Give feedback.
Did you import the class?
use NeuronAI\StructuredOutput\Validation\Rules\ArrayOf;