MCPcopy Create free account
hub / github.com/antvis/AVA / constructor

Method constructor

src/query/snowflake.ts:114–114  ·  view source on GitHub ↗
(private readonly llmConfig: LLMConfig, private readonly compile: SnowflakeCompiler)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected