(flavor)
| 95 | |
| 96 | |
| 97 | def build_system_prompt(flavor): |
| 98 | bsp = ExplorerValue.objects.get_item(ExplorerValue.ASSISTANT_SYSTEM_PROMPT).value |
| 99 | bsp += f"\nYou are an expert at writing SQL, specifically for {flavor}, and account for the nuances of this dialect of SQL. You always respond with valid {flavor} SQL." # noqa |
| 100 | return bsp |
| 101 | |
| 102 | |
| 103 | def get_relevant_annotation(db_connection, t): |
no test coverage detected