View Source ExOpenAI.Components.HistoryParam (ex_openai.ex v2.0.0-beta2)

Controls how much historical context is retained for the session.

Fields

  • :enabled - optional - boolean()
    Enables chat users to access previous ChatKit threads. Defaults to true.

  • :recent_threads - optional - integer()
    Number of recent ChatKit threads users have access to. Defaults to unlimited when unset.
    Constraints: minimum: 1

Summary

Types

@type t() :: %ExOpenAI.Components.HistoryParam{
  enabled: boolean() | nil,
  recent_threads: integer() | nil
}