RunCompressionExamples 运行压缩示例
()
| 13 | |
| 14 | // RunCompressionExamples 运行压缩示例 |
| 15 | func RunCompressionExamples() { |
| 16 | // 示例 1: 直接使用压缩器 |
| 17 | directCompressionExample() |
| 18 | |
| 19 | // 示例 2: 通过模板配置使用压缩 |
| 20 | templateCompressionExample() |
| 21 | } |
| 22 | |
| 23 | // directCompressionExample 直接使用 EnhancedPromptCompressor |
| 24 | func directCompressionExample() { |
nothing calls this directly
no test coverage detected