Represents a completion response from the API. Note: both the streamed and non-streamed response objects share the same shape (unlike the chat endpoint).
Name | Type | Description | Notes |
---|---|---|---|
id | String | A unique identifier for the completion. | |
choices | List<CreateCompletionResponseChoicesInner> | The list of completion choices the model generated for the input prompt. | |
created | Integer | The Unix timestamp (in seconds) of when the completion was created. | |
model | String | The model used for completion. | |
systemFingerprint | String | 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. | [optional] |
_object | ObjectEnum | The object type, which is always "text_completion" | |
usage | CompletionUsage | [optional] |
Name | Value |
---|---|
TEXT_COMPLETION | "text_completion" |