nl2sql_library/nl2sql/tasks/eval_fix/core.py [189:205]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    "thoughts": [],
                    "answer": None,
                    "dialect": db.db.dialect,
                    "top_k": self.max_rows_limit,
                    "table_info": db.db.table_info,
                    "db_descriptor": {db.name: db.descriptor},
                    "table_name": ", ".join(db.db._usable_tables),
                    "table_names": list(db.db._usable_tables),
                }

                prompt_template = self.prompt.dialect_prompt_template_map.get(
                        db.db.dialect,
                        self.prompt.dialect_prompt_template_map.get("default"),
                    )
                if prompt_template is None:
                    raise ValueError(
                        f"No suitable / default prompt template found for {db.db.dialect}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



nl2sql_library/nl2sql/tasks/sql_generation/core.py [181:196]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            "thoughts": [],
            "answer": None,
            "dialect": db.db.dialect,
            "top_k": self.max_rows_limit,
            "table_info": db.db.table_info,
            "db_descriptor": {db.name: db.descriptor},
            "table_name": ", ".join(db.db._usable_tables),
            "table_names": list(db.db._usable_tables),
        }
        prompt_template = self.prompt.dialect_prompt_template_map.get(
            db.db.dialect,
            self.prompt.dialect_prompt_template_map.get("default"),
        )
        if prompt_template is None:
            raise ValueError(
                f"No suitable / default prompt template found for {db.db.dialect}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



