mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 13:47:09 +00:00
[improvement][headless-chat]Prompt the LLM to add a fixed prefix to all aliases created by the AS command.
This commit is contained in:
@@ -36,6 +36,7 @@ public class OnePassSCSqlGenStrategy extends SqlGenStrategy {
|
||||
+ "\n4.DO NOT calculate date range using functions."
|
||||
+ "\n5.DO NOT miss the AGGREGATE operator of metrics, always add it as needed."
|
||||
+ "\n6.ALWAYS use `with` statement if nested aggregation is needed."
|
||||
+ "\n7.ALWAYS add prefix `as_` to any alias created by the `AS` command."
|
||||
+ "\n#Exemplars:\n{{exemplar}}"
|
||||
+ "\n#Question:\nQuestion:{{question}},Schema:{{schema}},SideInfo:{{information}}";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user