mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 03:21:58 +08:00
8 lines
169 B
JavaScript
8 lines
169 B
JavaScript
const get = require('lodash/get');
|
|
|
|
module.exports = {
|
|
Comment: {
|
|
toxicity: (comment) => get(comment, 'metadata.perspective.SEVERE_TOXICITY.summaryScore'),
|
|
}
|
|
};
|