changed commit methods
Browse filesFiles changed (2)
- HumanStandardInputFlow.py+5-2
- run.py+2-2
161 unmodified lines162163164165166167161 unmodified lineslog.info(query_message)human_input = self._read_input()reply_message = self._package_output_message(input_message = input_message, response = {"human_input": human_input})self.reply_to_message(reply = reply_message, to = input_message)161 unmodified lines162163164165166167168169170161 unmodified lineslog.info(query_message)human_input = self._read_input()reply_message = self.package_output_message(input_message = input_message,response = {"human_input": human_input})self.send_message(reply_message, is_reply = True)
72 unmodified lines7374757677787980818272 unmodified lines)#option2: use the proxy_flow#input_message = proxy_flow._package_input_message(data = data)#7. ~~~ Run inference ~~~future = proxy_flow.send_message_blocking(input_message)#uncomment this line if you would like to get the full message back#reply_message = future.get_message()72 unmodified lines7374757677787980818272 unmodified lines)#option2: use the proxy_flow#input_message = proxy_flow.package_input_message(data = data)#7. ~~~ Run inference ~~~future = proxy_flow.get_reply_future(input_message)#uncomment this line if you would like to get the full message back#reply_message = future.get_message()
HumanStandardInputFlow.py+5-2
run.py+2-2