prompt = $prompt; $this->model = $model; $this->type = "generation"; // could be edit, variation, or generatio } }