menu
assistant_openai package
documentation
common/ai/models/ThreadModificationModel.dart
CreateThreadMessageModel
toJson method
toJson method
dark_mode
light_mode
toJson
method
Map
<
String
,
dynamic
>
toJson
(
)
Implementation
Map<String, dynamic> toJson() => { "role": role, "thread_id": threadId, "content": content, };
assistant_openai package
documentation
common/ai/models/ThreadModificationModel
CreateThreadMessageModel
toJson method
CreateThreadMessageModel class