toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (answerRelevance != null) 'answerRelevance': answerRelevance!,
      if (documentCorrectness != null)
        'documentCorrectness': documentCorrectness!,
      if (documentEfficiency != null)
        'documentEfficiency': documentEfficiency!,
      if (knowledgeAssistFeedback != null)
        'knowledgeAssistFeedback': knowledgeAssistFeedback!,
      if (knowledgeSearchFeedback != null)
        'knowledgeSearchFeedback': knowledgeSearchFeedback!,
      if (summarizationFeedback != null)
        'summarizationFeedback': summarizationFeedback!,
    };