code: def get_doc_url(
      pr: Dict[str, Any],
      base_docs_url: str = "https://pr-docs.tlcpack.ai",
  ) -> str:
      pr_head = pr["commits"]["nodes"][0]["commit"]
      target_url = find_target_url(pr_head)
      pr_and_build = get_pr_and_build_numbers(target_url)
  
      commit_sha = pr_head["oid"]
  
      docs_url = build_docs_url(
          base_docs_url,
          pr_and_build["pr_number"],
          pr_and_build["build_number"],
      )
  
      return f"Built docs for commit {commit_sha} can be found [here]({docs_url})."
  
imports: from typing import Dict, Any
label_desc: Use image node_id 4 for calling a global function with example usage: get_doc_url(pr, base_docs_url) and returns: str, commit_sha, str, docs_url, str