code: def get_onboarding_world_opt(config: DictConfig):
      """
      Generates onboarding world opt from Mephisto config.
      """
      blueprint_data = config.mephisto.blueprint
      return {
          "wizard_time_out": blueprint_data.wizard_time_out,
          "apprentice_time_out": blueprint_data.apprentice_time_out,
          "send_task_data": False,
          "is_onboarding": True,
          "search_server": blueprint_data.search_server,
          "num_passages_retrieved": blueprint_data.num_passages_retrieved,
          "onboarding_qualification": blueprint_data.onboarding_qualification,
          constants.ROLE_QUALIFICATION_NAME_KEY: blueprint_data.role_qualification,
      }
  
imports: import random
  import os
  from collections import defaultdict
  import hydra
  from omegaconf import DictConfig
  from dataclasses import dataclass, field
  from typing import List, Dict, Any
  from parlai.crowdsourcing.projects.wizard_of_internet import constants
  from parlai.crowdsourcing.projects.wizard_of_internet.wizard_internet_blueprint import WIZARD_INTERNET_PARLAICHAT_BLUEPRINT
  from parlai.crowdsourcing.utils.mturk import MTurkRunScriptConfig
  import parlai.utils.logging
  from mephisto.abstractions.databases.local_database import LocalMephistoDB
  from mephisto.abstractions.blueprints.parlai_chat.parlai_chat_blueprint import SharedParlAITaskState
  from mephisto.operations.operator import Operator
  from mephisto.operations.hydra_config import register_script_config
  from mephisto.tools.scripts import load_db_and_process_config
label_desc: Use image node_id 6 for calling a global function with example usage: get_onboarding_world_opt(config) and returns: dict