Interface: LlmContextTrace
@kortexya/reasoninglayer / LlmContextTrace
Interface: LlmContextTrace
Section titled “Interface: LlmContextTrace”Defined in: src/types/conversation.ts:279
The structured context a turn’s prompt was assembled from.
Properties
Section titled “Properties”activePreferences
Section titled “activePreferences”activePreferences:
LlmContextPreference[]
Defined in: src/types/conversation.ts:287
User preferences active for this turn.
recentTurns
Section titled “recentTurns”recentTurns:
LlmContextTurn[]
Defined in: src/types/conversation.ts:285
Recent conversation turns, most recent last.
relevantSorts
Section titled “relevantSorts”relevantSorts:
LlmContextSort[]
Defined in: src/types/conversation.ts:283
Sorts from the tenant’s catalog considered relevant.
tokenCount
Section titled “tokenCount”tokenCount:
number
Defined in: src/types/conversation.ts:281
Approximate token count the context builder charged for this context.