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

Method constructor

src/query/postgresql.ts:38–38  ·  view source on GitHub ↗
(private readonly llmConfig: LLMConfig)

Source from the content-addressed store, hash-verified

36 private parser: PgParser | undefined;
37
38 constructor(private readonly llmConfig: LLMConfig) {}
39
40 async getDSL(query: string, dataModel: DataModel): Promise<TranslationResult> {
41 const prompt = `You are a PostgreSQL expert. Given the following data model 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