CactusCompletionParams class
Constructors
-
CactusCompletionParams({required List<ChatMessage> messages, int maxPredictedTokens = 256, int? threads, int? seed, double? temperature, int? topK, double? topP, double? minP, double? typicalP, int? penaltyLastN, double? penaltyRepeat, double? penaltyFreq, double? penaltyPresent, int? mirostat, double? mirostatTau, double? mirostatEta, bool? ignoreEos, int? nProbs, List<String>? stopSequences, String? grammar, String? chatTemplate, CactusTokenCallback? onNewToken, ResponseFormat? responseFormat, bool? jinja})
-
const
Methods
-
copyWith({List<ChatMessage>? messages, int? maxPredictedTokens, int? threads, int? seed, double? temperature, int? topK, double? topP, double? minP, double? typicalP, int? penaltyLastN, double? penaltyRepeat, double? penaltyFreq, double? penaltyPresent, int? mirostat, double? mirostatTau, double? mirostatEta, bool? ignoreEos, int? nProbs, List<String>? stopSequences, String? grammar, String? chatTemplate, CactusTokenCallback? onNewToken, ResponseFormat? responseFormat, bool? jinja})
→ CactusCompletionParams
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited