CompletionsRequest constructor

CompletionsRequest({
  1. required String deploymentId,
  2. required String prompt,
  3. int? maxTokens,
  4. double? temperature,
  5. double? topP,
})

Creates a new CompletionsRequest instance.

Implementation

CompletionsRequest({
  required this.deploymentId,
  required this.prompt,
  this.maxTokens,
  this.temperature,
  this.topP,
});