completion method
Future<Map<Object?, dynamic> ?>
completion(
- double contextId, {
- required String prompt,
- List<
List< ? logitBias,double> > - String grammar = "",
- double temperature = 0.7,
- int nThreads = 0,
- int nPredict = -1,
- int nProbs = 0,
- int penaltyLastN = 64,
- double penaltyRepeat = 1.0,
- double penaltyFreq = 0.0,
- double penaltyPresent = 0.0,
- double mirostat = 0.0,
- double mirostatTau = 5.0,
- double mirostatEta = 0.1,
- bool penalizeNl = false,
- int topK = 40,
- double topP = 0.95,
- double minP = 0.05,
- double typicalP = 1.0,
- double xtcThreshold = 0.0,
- double xtcProbability = 0.0,
- int seed = -1,
- List<
String> ? stop, - bool ignoreEos = false,
- bool emitRealtimeCompletion = false,
Implementation
Future<Map<Object?, dynamic>?> completion(double contextId,
{required String prompt,
List<List<double>>? logitBias,
String grammar = "",
double temperature = 0.7,
int nThreads = 0,
int nPredict = -1,
int nProbs = 0,
int penaltyLastN = 64,
double penaltyRepeat = 1.0,
double penaltyFreq = 0.0,
double penaltyPresent = 0.0,
double mirostat = 0.0,
double mirostatTau = 5.0,
double mirostatEta = 0.1,
bool penalizeNl = false,
int topK = 40,
double topP = 0.95,
double minP = 0.05,
double typicalP = 1.0,
double xtcThreshold = 0.0,
double xtcProbability = 0.0,
int seed = -1,
List<String>? stop,
bool ignoreEos = false,
bool emitRealtimeCompletion = false}) {
throw UnimplementedError(
"Method (double contextId,{required String prompt,List<List<double>>? logitBias,String grammar = "
",double temperature = 0.7,int nThreads = 0,int nPredict = -1,int nProbs = 0,int penaltyLastN = 64,double penaltyRepeat = 1.0,double penaltyFreq = 0.0,double penaltyPresent = 0.0,double mirostat = 0.0,double mirostatTau = 5.0,double mirostatEta = 0.1,bool penalizeNl = false,int topK = 40,double topP = 0.95,double minP = 0.05,double typicalP = 1.0,double xtcThreshold = 0.0,double xtcProbability = 0.0,int seed = -1,List<String>? stop,bool ignoreEos = false,bool emitPartialCompletion = false,bool emitRealtimeCompletion = false}) has not been implemented.");
}