new version compatible
Browse filesFiles changed (2)
52 unmodified lines53545556575852 unmodified linesquery_message_prompt_template: JinjaPrompt = None__default_flow_config = {"name": "HumanStandardInput","end_of_input_string": "EOI","description": "Reads input from the user's standard input.",52 unmodified lines5354555657585952 unmodified linesquery_message_prompt_template: JinjaPrompt = None__default_flow_config = {"_target_": "flow_modules.aiflows.HumanStandardInputFlow.HumanStandardInputFlow.instantiate_from_config","name": "HumanStandardInput","end_of_input_string": "EOI","description": "Reads input from the user's standard input.",
41 unmodified lines42434445464748495051525354555657585960616263646541 unmodified lines#3. ~~~~ Serve The Flow ~~~~serve_utils.serve_flow(cl = cl,flow_type="HumanStandardInputFlowModule",default_config=cfg,default_state=None,default_dispatch_point="coflows_dispatch")#4. ~~~~~Start A Worker Thread~~~~~run_dispatch_worker_thread(cl, dispatch_point="coflows_dispatch", flow_modules_base_path=FLOW_MODULES_PATH)#5. ~~~~~Mount the flow and get its proxy~~~~~~proxy_flow = serve_utils.recursive_mount(cl=cl,client_id="local",flow_type="HumanStandardInputFlowModule",config_overrides=None,initial_state=None,dispatch_point_override=None,)#6. ~~~ Get the data ~~~41 unmodified lines42434445464748495051525354555657585960616241 unmodified lines#3. ~~~~ Serve The Flow ~~~~serve_utils.serve_flow(cl = cl,flow_class_name="flow_modules.aiflows.HumanStandardInputFlowModule.HumanStandardInputFlow",flow_endpoint="HumanStandardInputFlow",)#4. ~~~~~Start A Worker Thread~~~~~run_dispatch_worker_thread(cl)#5. ~~~~~Mount the flow and get its proxy~~~~~~proxy_flow= serve_utils.get_flow_instance(cl=cl,flow_endpoint="HumanStandardInputFlow",user_id="local",config_overrides = cfg)#6. ~~~ Get the data ~~~
HumanStandardInputFlow.py+1
run.py+9-12