def CURATED_ZERO_SHOT_PROMPT()

in nl2sql/tasks/eval_fix/core.py [0:0]


    def CURATED_ZERO_SHOT_PROMPT(self) -> _CoreEvalFixPrompt:
        prompt_template = ZeroShotPrompts.TASK_EVAL_FIX_CORE_V1.partial(
            format_instructions=self.default_parser.get_format_instructions()
        )
        return _CoreEvalFixPrompt(
            prompt_id="TASK_EVAL_FIX_CORE_V1",
            dialect_prompt_template_map={"default": prompt_template},
            parser=self.default_parser,
            post_processor=lambda x: x.get("query"),
        )