mirror of
https://github.com/LukeHagar/log10ts.git
synced 2025-12-09 20:47:49 +00:00
19 lines
5.6 KiB
Markdown
19 lines
5.6 KiB
Markdown
# Completion
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
| `id` | *string* | :heavy_minus_sign: | The unique identifier for this task. |
|
|
| `organizationId` | *string* | :heavy_check_mark: | The unique identifier for the organization. |
|
|
| `kind` | [components.Kind](../../models/components/kind.md) | :heavy_minus_sign: | The kind of completion i.e. chat messages or prompt |
|
|
| `status` | [components.Status](../../models/components/status.md) | :heavy_minus_sign: | The status of this completion. |
|
|
| `tags` | *string*[] | :heavy_minus_sign: | The tags for this completion. |
|
|
| `request` | [components.CreateChatCompletionRequest](../../models/components/createchatcompletionrequest.md) | :heavy_minus_sign: | N/A |
|
|
| `response` | [components.CreateChatCompletionResponse](../../models/components/createchatcompletionresponse.md) | :heavy_minus_sign: | Represents a chat completion response returned by model, based on the provided input. |
|
|
| `stacktrace` | [components.Stacktrace](../../models/components/stacktrace.md)[] | :heavy_minus_sign: | The stacktrace for this completion. |
|
|
| `sessionId` | *string* | :heavy_minus_sign: | The session id for this completion. |
|
|
| `duration` | *number* | :heavy_minus_sign: | The duration of this completion in seconds. |
|
|
| `failureKind` | *string* | :heavy_minus_sign: | The failure kind of this completion. |
|
|
| `failureReason` | *string* | :heavy_minus_sign: | The failure reason of this completion. | |