| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- 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: "direction")
- String? direction;
- /// 情感需求
- @JsonKey(name: "need")
- String? need;
- /// 短期聊天策略
- @JsonKey(name: "shortChat")
- String? shortChat;
- /// 长期聊天策略
- @JsonKey(name: "longChat")
- String? longChat;
- /// 总结
- @JsonKey(name: "summary")
- String? summary;
- /// 预测方向的名称
- @JsonKey(name: "directionName")
- String? directionName;
- IntimacyAnalyzeResponse(this.emotion, this.intimacyPhase, this.interaction,
- this.topic, this.respond, this.intimacyRatio, this.direction, this.need,
- this.shortChat, this.longChat, this.summary, this.directionName);
- factory IntimacyAnalyzeResponse.fromJson(Map<String, dynamic> json) =>
- _$IntimacyAnalyzeResponseFromJson(json);
- Map<String, dynamic> toJson() => _$IntimacyAnalyzeResponseToJson(this);
- }
|