Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.28 KB

CreateCompletionResponse.md

File metadata and controls

28 lines (16 loc) · 1.28 KB

CreateCompletionResponse

Represents a completion response from the API. Note: both the streamed and non-streamed response objects share the same shape (unlike the chat endpoint).

Properties

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 &quot;text_completion&quot;
usage CompletionUsage [optional]

Enum: ObjectEnum

Name Value
TEXT_COMPLETION "text_completion"