Used for Directed IO
(self, id: str | None =None, domain: str = "", llm_name: str = "",)
| 647 | @AgentRegistry.register('FinalMajorVote') |
| 648 | class FinalMajorVote(Node): |
| 649 | def __init__(self, id: str | None =None, domain: str = "", llm_name: str = "",): |
| 650 | """ Used for Directed IO """ |
| 651 | super().__init__(id, "FinalMajorVote") |
| 652 | self.prompt_set = PromptSetRegistry.get(domain) |
| 653 | |
| 654 | def _process_inputs(self, raw_inputs:Dict[str,str], spatial_info:Dict[str,Any], temporal_info:Dict[str,Any], **kwargs)->List[Any]: |
| 655 | """ To be overriden by the descendant class """ |