(private readonly llmConfig: LLMConfig)
| 59 | Reference exact table and column names from the data model, joining tables when needed. Quote identifier components separately with brackets or double quotes when needed; use single quotes for strings and N-prefixed literals for Unicode text.`; |
| 60 | |
| 61 | constructor(private readonly llmConfig: LLMConfig) {} |
| 62 | |
| 63 | async getDSL(query: string, dataModel: DataModel): Promise<TranslationResult> { |
| 64 | const prompt = `You are a SQL Server expert. Generate a query answering the user's question using the supplied data model. |
nothing calls this directly
no outgoing calls
no test coverage detected