code: def get_rasa_sdk_version() -> Text:
      """Find out what the referenced version of the Rasa SDK is."""
  
      dependencies_filename = "pyproject.toml"
      toml_data = toml.load(project_root() / dependencies_filename)
      try:
          sdk_version = toml_data["tool"]["poetry"]["dependencies"][
              "rasa-sdk"
          ]
          if isinstance(sdk_version, str):
              return sdk_version[1:].strip()
          else:
              return sdk_version["version"][1:].strip()
      except AttributeError:
          raise Exception(
              f"Failed to find Rasa SDK version in {dependencies_filename}"
          )
  
imports: import argparse
  import os
  import re
  import sys
  from pathlib import Path
  from subprocess import CalledProcessError, check_call, check_output
  from typing import Text, Set
  import questionary
  import toml
  from pep440_version_utils import Version, is_valid_version
label_desc: Use image node_id 10 for calling a global function with example usage: get_rasa_sdk_version() and returns: sdk_version, sdk_version