(private readonly llmConfig: LLMConfig)
| 16 | For UNION, explicitly choose ALL or DISTINCT and align column order and types. To order or limit the combined UNION result, put the UNION in a subquery and apply ORDER BY or LIMIT to the outer SELECT.`; |
| 17 | |
| 18 | constructor(private readonly llmConfig: LLMConfig) {} |
| 19 | |
| 20 | async getDSL(query: string, dataModel: DataModel, signal?: AbortSignal): Promise<TranslationResult> { |
| 21 | const prompt = `You are a ClickHouse SQL 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