added smartSummarize graphite function definition