code: def get_completion_fn(
      model_name: str,
  ) -> Callable[[Union[str, list[dict]]], Union[str, dict]]:
      return functools.partial(get_completion, model_name=model_name)
  
file_path: evals/evals/elsuite/make_me_say/utils.py
imports: import functools
  import os
  from typing import Callable, Union
  import backoff
  import openai
  import urllib3.exceptions
  from openai import OpenAI
  from evals.api import CompletionResult
label_desc: Use image node_id 3 for calling a global function with example usage: get_completion_fn(model_name) and returns: functools