code: def update_weight(self, weight):
      data = {"update_weight": [weight, 1.0 - weight]}
      return request_data(
          data, self.combo_service_ip, self.combo_service_port
      )
  
file_path: NeMo/nemo/collections/nlp/modules/common/megatron_web_server.py
imports: import asyncio
  from nemo.collections.nlp.modules.common.chat_css import CSS
  from nemo.collections.nlp.modules.common.megatron.retrieval_services.util import convert_retrieved_to_md, request_data, text_generation
label_desc: Use image node_id 3 for calling the RetroDemoWebApp obj's underlying member method code with example usage: obj.update_weight(weight) and returns: request_data