VertexAITextChatModelExample class

Example of what the model should generate.

This includes both the user input and the response that the model should emulate.

Annotations
  • @immutable

Constructors

VertexAITextChatModelExample.new({required VertexAITextChatModelMessage input, required VertexAITextChatModelMessage output})
Example of what the model should generate.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
input VertexAITextChatModelMessage
An example of an input message from the user.
final
output VertexAITextChatModelMessage
An example of what the model should output given the input.
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>
Converts this example to a JSON map.
toString() String
A string representation of this object.
override

Operators

operator ==(covariant VertexAITextChatModelExample other) bool
The equality operator.
override