Back to Sillytavern

ItemizationChat

public/scripts/templates/itemizationChat.html

1.18.01.5 KB
Original Source

Prompt Itemization

API/Model: {{mainApiFriendlyName}} {{#if apiUsed}}({{apiUsed}}){{/if}} {{#if modelUsed}}– {{modelUsed}}{{/if}}

Preset: {{presetName}}|Tokenizer: {{selectedTokenizer}}

Only the white numbers really matter. All numbers are estimates. Grey color items may not have been included in the context due to certain prompt format settings.


System Info:

{{oaiSystemTokens}}

-- Chat Start:

{{oaiStartTokens}}

-- Main:

{{oaiMainTokens}}

-- Post-History:

{{oaiJailbreakTokens}}

-- Auxiliary:

{{oaiNsfwTokens}}

-- Nudge:

{{oaiNudgeTokens}}

-- Impersonate:

{{oaiImpersonateTokens}}

Prompt Tokens:

{{oaiPromptTokens}}

-- Description:

{{charDescriptionTokens}}

-- Personality:

{{charPersonalityTokens}}

-- Scenario:

{{scenarioTextTokens}}

-- Examples: {{#if examplesCount}}({{examplesCount}}){{/if}}

{{examplesStringTokens}}

-- User Persona:

{{userPersonaStringTokens}}

World Info:

{{worldInfoStringTokens}}

Chat History: {{#if messagesCount}}({{messagesCount}}){{/if}}

{{ActualChatHistoryTokens}}

Extensions:

{{allAnchorsTokens}}

-- Summarize:

{{summarizeStringTokens}}

-- Author's Note:

{{authorsNoteStringTokens}}

-- Smart Context:

{{smartContextStringTokens}}

-- Vector Storage (Chats):

{{chatVectorsStringTokens}}

-- Vector Storage (Data Bank):

{{dataBankVectorsStringTokens}}

{{}} Bias:

{{oaiBiasTokens}}


Total Tokens in Prompt:

{{finalPromptTokens}}

Max Context (Context Size - Response Length):

{{thisPrompt_max_context}}