mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 04:20:14 +08:00
9 lines
174 B
JavaScript
9 lines
174 B
JavaScript
const get = require('lodash/get');
|
|
|
|
module.exports = {
|
|
Comment: {
|
|
toxicity: comment =>
|
|
get(comment, 'metadata.perspective.SEVERE_TOXICITY.summaryScore'),
|
|
},
|
|
};
|