NIMMessageAIConfig class

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

NIMMessageAIConfig({String? accountId, NIMMessageAIStatus? aiStatus, List<NIMAIRAGInfo>? aiRAGs, bool aiStream = false, V2NIMMessageAIStreamStatus? aiStreamStatus, NIMMessageAIStreamChunk? aiStreamLastChunk})
NIMMessageAIConfig.fromJson(Map<String, dynamic> map)
factory

Properties

accountId String?
数字人的 accountId
getter/setter pair
aiRAGs List<NIMAIRAGInfo>?
数字人回复内容引用资源列表
getter/setter pair
aiStatus NIMMessageAIStatus?
该 AI 消息的询问和应答标识 0 表示普通消息 1 表示是一个艾特数字人的消息 2 表示是数字人响应艾特的消息 响应回参
getter/setter pair
aiStream bool
是否是流式响应,默认值为false
getter/setter pair
aiStreamLastChunk NIMMessageAIStreamChunk?
数字人流式消息最近一个分片 注意:流式过程中的消息text是将接收到的分片组装好之后
getter/setter pair
aiStreamStatus V2NIMMessageAIStreamStatus?
数字人流式消息状态
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited