GptPrompt class

The prompt that will be sent to the GPT API.

Constructors

GptPrompt({required String system, required String user, required Map<String, dynamic> userJSON})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
system String
Contains the general instruction and the app description.
final
user String
Contains the base translations.
final
userJSON Map<String, dynamic>
Contains the JSON representation of the prompt. (Debugging)
final

Methods

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