(private readonly llmConfig: LLMConfig)
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected