LLamaPromptFormat class abstract

A class representing a LLM Prompt Format.

Implementers

Constructors

LLamaPromptFormat(LLamaPromptFormatType type, {required String inputSequence, required String outputSequence, required String systemSequence, String? stopSequence})
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Properties

hashCode int
The hash code for this object.
no setterinherited
inputSequence String
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
final
outputSequence String
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopSequence String?
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
final
systemSequence String
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
final
type LLamaPromptFormatType
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
final

Methods

filterResponse(String response) String?
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
formatMessages(List<Map<String, dynamic>> messages) String
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
formatPrompt(String prompt) String
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
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