| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- 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;
- IntimacyAnalyzeResponse(this.emotion, this.intimacyPhase, this.interaction,
- this.topic, this.respond, this.intimacyRatio, this.direction, this.need,
- this.shortChat, this.longChat, this.summary);
- factory IntimacyAnalyzeResponse.fromJson(Map<String, dynamic> json) =>
- _$IntimacyAnalyzeResponseFromJson(json);
- Map<String, dynamic> toJson() => _$IntimacyAnalyzeResponseToJson(this);
- }
|