| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- import 'package:json_annotation/json_annotation.dart';
- part 'intimacy_analyze_response.g.dart';
- /// 分析亲密度的响应
- @JsonSerializable()
- class IntimacyAnalyzeResponse {
- /// 情感亲密度
- @JsonKey(name: "emotion")
- String? emotion;
- /// 亲密度阶段
- @JsonKey(name: "intimacyPhase")
- String? intimacyPhase;
- /// 互动好感度
- @JsonKey(name: "interaction")
- String? interaction;
- /// 话题情感浓度
- @JsonKey(name: "topic")
- String? topic;
- /// 情绪回应
- @JsonKey(name: "respond")
- String? respond;
- /// 亲密词占比
- @JsonKey(name: "intimacyRatio")
- String? intimacyRatio;
- /// 预测方向占比
- @JsonKey(name: "directionRatio")
- String? directionRatio;
- /// 情感需求
- @JsonKey(name: "need")
- String? need;
- /// 聊天策略
- @JsonKey(name: "chatStrategy")
- String? chatStrategy;
- /// 总结
- @JsonKey(name: "summary")
- String? summary;
- /// 预测方向的名称
- @JsonKey(name: "directionName")
- String? directionName;
- IntimacyAnalyzeResponse(
- this.emotion,
- this.intimacyPhase,
- this.interaction,
- this.topic,
- this.respond,
- this.intimacyRatio,
- this.directionRatio,
- this.need,
- this.chatStrategy,
- this.summary,
- this.directionName,
- );
- factory IntimacyAnalyzeResponse.fromJson(Map<String, dynamic> json) =>
- _$IntimacyAnalyzeResponseFromJson(json);
- Map<String, dynamic> toJson() => _$IntimacyAnalyzeResponseToJson(this);
- }
|