How to set up location of Instructor configuration directory for your project
Settings
class method setPath()
Settings
ClassSettings::setPath()
method:
.env
file:
.php
files to store its settings, e.g. LLM provider configurations.
Instructor will look for its configuration location in the following order:
$path
in Settings
class is set, it will use it,INSTRUCTOR_CONFIG_PATHS
environment variable is set, it will use its value,/config
) and contains default set of configuration files.