mirror of
https://github.com/LukeHagar/log10go.git
synced 2025-12-06 04:20:12 +00:00
8.1 KiB
8.1 KiB
CreateChatCompletionResponse
Represents a chat completion response returned by model, based on the provided input.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
ID |
string | ✔️ | A unique identifier for the chat completion. |
Choices |
[]components.Choices | ✔️ | A list of chat completion choices. Can be more than one if n is greater than 1. |
Created |
int64 | ✔️ | The Unix timestamp (in seconds) of when the chat completion was created. |
Model |
string | ✔️ | The model used for the chat 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. |
Object |
components.Object | ✔️ | The object type, which is always chat.completion. |
Usage |
*components.CompletionUsage | ➖ | Usage statistics for the completion request. |