ChatCompletionListQuery

data class ChatCompletionListQuery(val after: String? = null, val limit: Int? = null, val metadata: Map<String, String>? = null, val model: ModelId? = null, val order: SortOrder? = null)

Filters for listing stored Chat Completions.

Constructors

Link copied to clipboard
constructor(after: String? = null, limit: Int? = null, metadata: Map<String, String>? = null, model: ModelId? = null, order: SortOrder? = null)

Properties

Link copied to clipboard
val after: String? = null

Cursor identifying the last completion on the previous page.

Link copied to clipboard
val limit: Int? = null

Page size.

Link copied to clipboard
val metadata: Map<String, String>? = null

Metadata key/value filters.

Link copied to clipboard
val model: ModelId? = null

Model filter.

Link copied to clipboard
val order: SortOrder? = null

Creation time sort order.