Files
log10py/docs/models/components/completion.md
Niklas Nielsen ebd24efca7 Initial commit
2024-05-24 19:20:08 -07:00

19 lines
6.1 KiB
Markdown

# Completion
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `organization_id` | *str* | :heavy_check_mark: | The unique identifier for the organization. |
| `id` | *Optional[str]* | :heavy_minus_sign: | The unique identifier for this task. |
| `kind` | [Optional[components.Kind]](../../models/components/kind.md) | :heavy_minus_sign: | The kind of completion i.e. chat messages or prompt |
| `status` | [Optional[components.Status]](../../models/components/status.md) | :heavy_minus_sign: | The status of this completion. |
| `tags` | List[*str*] | :heavy_minus_sign: | The tags for this completion. |
| `request` | [Optional[components.CreateChatCompletionRequest]](../../models/components/createchatcompletionrequest.md) | :heavy_minus_sign: | N/A |
| `response` | [Optional[components.CreateChatCompletionResponse]](../../models/components/createchatcompletionresponse.md) | :heavy_minus_sign: | Represents a chat completion response returned by model, based on the provided input. |
| `stacktrace` | List[[components.Stacktrace](../../models/components/stacktrace.md)] | :heavy_minus_sign: | The stacktrace for this completion. |
| `session_id` | *Optional[str]* | :heavy_minus_sign: | The session id for this completion. |
| `duration` | *Optional[float]* | :heavy_minus_sign: | The duration of this completion in seconds. |
| `failure_kind` | *Optional[str]* | :heavy_minus_sign: | The failure kind of this completion. |
| `failure_reason` | *Optional[str]* | :heavy_minus_sign: | The failure reason of this completion. |