CompletionApiResult class
The API result of a completion task.
- Annotations
- 
    - @JsonSerializable.new()
 
Constructors
- 
          CompletionApiResult(String id, String object, int created, String model, List<Choice> choices)
- 
          CompletionApiResult.fromJson(Map<String, dynamic> json)
- 
          
            factory
Properties
- 
  choices
  → List<Choice> 
- 
  The list of n choices generated by GPT-3.
  final
- created → int
- 
  A timestamp when the result was generated.
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id → String
- 
  The unique id of this result.
  final
- model → String
- 
  The id of the engine or model used on the OpenAI backend.
  final
- object → String
- 
  What kind of prompt this was, e.g. "text_completion".
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited