code: def test_nlg_fill_response_image(
      img_slot_name: Text, img_slot_value: Text
  ):
      response = {"image": f"{{{img_slot_name}}}"}
      t = TemplatedNaturalLanguageGenerator(responses=dict())
      result = t._fill_response(
          response=response,
          filled_slots={img_slot_name: img_slot_value},
      )
      assert result == {"image": str(img_slot_value)}
  
imports: import uuid
  from typing import Text, Any
  import jsonschema
  import pytest
  from sanic import Sanic, response
  from rasa.core.nlg.callback import CallbackNaturalLanguageGenerator
  from rasa.core.nlg.response import TemplatedNaturalLanguageGenerator
  from rasa.utils.endpoints import EndpointConfig, read_endpoint_config
  from rasa.core.agent import Agent
label_desc: Use image node_id 9 for calling a global function with example usage: test_nlg_fill_response_image(img_slot_name, img_slot_value) without return types