AgentPromptVariantTemplateConfigurationChatMessage class
Constructors
-
AgentPromptVariantTemplateConfigurationChatMessage({Input<
AgentPromptVariantTemplateConfigurationChatMessageContent?> ? content, required Input<String> role}) -
Creates a new AgentPromptVariantTemplateConfigurationChatMessage.
contentContains the content for the message you pass to, or receive from a model. SeeMessage Contentfor more information.roleThe role that the message belongs to.const -
AgentPromptVariantTemplateConfigurationChatMessage.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
content
→ Input<
AgentPromptVariantTemplateConfigurationChatMessageContent?> ? -
Contains the content for the message you pass to, or receive from a model. See
Message Contentfor more information.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
role
→ Input<
String> -
The role that the message belongs to.
final
- 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited