Semantic DSL 基于 CoUnit 中的 DSL 所创建的:

CoUnit Prompt 策略

CoUnit 对应的参考来源为:

示例代码如下:

englishQuery: query git path change count by system id
originLanguageQuery: 通过 ID 查找 Git 代码库路径变更统计信息
hypotheticalCode:
###kotlin
@SqlQuery(
  "select system_id as systemId, line_count as lineCount, path, changes" +
  " from scm_path_change_count where system_id = :systemId"
)
fun findCountBySystemId(systemId: Long): List<GitPathChangeCount>
###