CopilotOptions

class CopilotOptions

Defines options for Copilot.

Parameters

shouldSendHistoryOnlyWithFeedback

true if Copilot History files should be sent only when they include Feedback events. Default is false

maxHistoryFileLengthMillis

if a session takes longer than this value, the history file will be split into several parts

maxHistoryFilesPerSession

if there are more history files for a session than this value, only the last maxHistoryFilesPerSession files will be uploaded

maxTotalHistoryFilesSizePerSession

if the total size of history files exceeds this value, some of the first files will not be uploaded

shouldRecordFreeDriveHistories

true if Copilot should record history files in Free Drive state. Default is true

shouldRecordRouteLineEvents

true if Copilot should record route line related events that can be used for debugging purposed. Default is false

Types

Link copied to clipboard
class Builder

Builder for CopilotOptions.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
fun toBuilder(): CopilotOptions.Builder
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val maxHistoryFileLengthMillis: Long
Link copied to clipboard
val maxHistoryFilesPerSession: Int
Link copied to clipboard
val maxTotalHistoryFilesSizePerSession: Long
Link copied to clipboard
val shouldRecordFreeDriveHistories: Boolean
Link copied to clipboard
val shouldRecordRouteLineEvents: Boolean
Link copied to clipboard
val shouldSendHistoryOnlyWithFeedback: Boolean