Syntax
Parameters
Absolute or relative path to the models directory. The path must exist or an error will be thrown.
Returns
void - This method does not return a value.
Behavior
- The path is resolved to an absolute path automatically
- Validates that the directory exists before setting
- Throws an error if the specified path does not exist
Example
Error handling
Related
- setDirname() - Configure the package root directory
- Model selection - Learn about available models