public function predictPath($path, $modelType, $language = null)
    {
        if (!file_exists($path)) {
            throw new FileNotFoundException($path);
        }

        return $this->predict(
            [
                'base64' => base64_encode(file_get_contents($path)),
            ],
            $modelType,
            $language
        );
    }