renaming message methods
Browse filesFiles changed (2)
- ChatAtomicFlow.py+5-2
- run.py+2-2
393 unmodified lines394395396397398399393 unmodified linesresponse = self.query_llm(input_data=input_data)reply_message = self._package_output_message(input_message, response = {"api_output": response})self.reply_to_message(reply = reply_message, to = input_message)393 unmodified lines394395396397398399400401402393 unmodified linesresponse = self.query_llm(input_data=input_data)reply_message = self.package_output_message(input_message,response = {"api_output": response})self.send_message(reply_message,is_reply=True)
86 unmodified lines8788899091929394959686 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()86 unmodified lines8788899091929394959686 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()
ChatAtomicFlow.py+5-2
run.py+2-2