(private readonly llmConfig: LLMConfig, private readonly compile: SnowflakeCompiler)
| 112 | Do not call SYSTEM$ functions, procedures, or dynamically resolved functions via IDENTIFIER(...)(...). Apply ORDER BY at the outermost level when result order matters.`; |
| 113 | |
| 114 | constructor(private readonly llmConfig: LLMConfig, private readonly compile: SnowflakeCompiler) {} |
| 115 | |
| 116 | async getDSL(query: string, dataModel: DataModel): Promise<TranslationResult> { |
| 117 | const prompt = `You are a SQL expert. Given the following dataset profile and user query, generate a SQL query to answer the question. |
nothing calls this directly
no outgoing calls
no test coverage detected