NERtcLLMRequestParams class

LLM请求参数

Constructors

NERtcLLMRequestParams({required String taskId, String? mediaContent, String? url, String? text, int? interruptMode})

Properties

hashCode int
The hash code for this object.
no setterinherited
interruptMode int?
传入文本信息或外部问题时,处理的优先级 默认1。1:高优先级。传入信息直接打断交互, 进行处理。2:中优先级。等待当前交互结束后,进行处理。3:低优先级。如当前正在发生交互,直接丢弃。
getter/setter pair
mediaContent String?
请求LLM的图片数据(base64编码 格式:data:image/{format};base64,{base64_image})
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskId String
任务ID
getter/setter pair
text String?
请求LLM的文本描述
getter/setter pair
url String?
请求LLM的url地址
getter/setter pair

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) NERtcLLMRequestParams