code: def construct_model(route):
      return _PromptlabModel(
          "Write me a story about {{ thing }}.",
          [Param(key="thing", value="books")],
          [
              Param(key="temperature", value=0.5),
              Param(key="max_tokens", value=10),
          ],
          route,
      )
  
file_path: mlflow/tests/promptlab/test_promptlab_model.py
imports: from unittest import mock
  import pandas
  from mlflow.entities.param import Param
  from mlflow.gateway import set_gateway_uri
  from mlflow.promptlab import _PromptlabModel
label_desc: Use image node_id 1 for calling a global function with example usage: construct_model(route) and returns: _PromptlabModel