completion
Classes:
| Name | Description | 
|---|---|
Completion | 
          
             | 
        
          Completion
  Attributes:
| Name | Type | Description | 
|---|---|---|
choices | 
          
                List[CompletionChoice]
           | 
          
             The list of completion choices the model generated for the input prompt.  | 
        
created | 
          
                int
           | 
          
             The Unix timestamp (in seconds) of when the completion was created.  | 
        
id | 
          
                str
           | 
          
             A unique identifier for the completion.  | 
        
model | 
          
                str
           | 
          
             The model used for completion.  | 
        
object | 
          
                Literal['text_completion']
           | 
          
             The object type, which is always "text_completion"  | 
        
system_fingerprint | 
          
                Optional[str]
           | 
          
             This fingerprint represents the backend configuration that the model runs with.  | 
        
usage | 
          
                Optional[CompletionUsage]
           | 
          
             Usage statistics for the completion request.  | 
        
          choices
  
  
      instance-attribute
  
choices: List[CompletionChoice]
The list of completion choices the model generated for the input prompt.
          created
  
  
      instance-attribute
  
created: int
The Unix timestamp (in seconds) of when the completion was created.
          object
  
  
      instance-attribute
  
  The object type, which is always "text_completion"
          system_fingerprint
  
  
      class-attribute
      instance-attribute
  
  This fingerprint represents the backend configuration that the model runs with.
Can be used in conjunction with the seed request parameter to understand when
backend changes have been made that might impact determinism.
          usage
  
  
      class-attribute
      instance-attribute
  
usage: Optional[CompletionUsage] = None
Usage statistics for the completion request.