Ask User#
- class src.openCHA.tasks.ask_user.AskUser(*, name: str = 'ask_user', chat_name: str = 'AskUser', description: str = 'Engages with the user for additional information or direct responses.', dependencies: List[str] = [], inputs: List[str] = ["The text returned to user. It should be relevant and very detailed based on the latest user's Question."], outputs: List[str] = [], datapipe: DataPipe = None, output_type: bool = False, return_direct: bool = True)[source]#
Description:
This task is asking question back to the user and stops planning. When needed, the planner will decide to ask question from user and use the user’s answer to proceed to the planning.