---
source_file: "context/prompt_builder.go"
type: "code"
community: "Part promptLimit Source"
location: "L1"
tags:
  - graphify/code
  - graphify/EXTRACTED
  - community/Part_promptLimit_Source
---

# prompt_builder.go

## Connections
- [[BuildTrace]] - `contains` [EXTRACTED]
- [[BuildTraceEntry_1]] - `contains` [EXTRACTED]
- [[Builder_3]] - `contains` [EXTRACTED]
- [[EntryKind]] - `contains` [EXTRACTED]
- [[EntryOption]] - `contains` [EXTRACTED]
- [[EntryView]] - `contains` [EXTRACTED]
- [[IncrementalPromptBuilder]] - `contains` [EXTRACTED]
- [[Meta()]] - `contains` [EXTRACTED]
- [[NewPart()]] - `contains` [EXTRACTED]
- [[NewPartGroup()]] - `contains` [EXTRACTED]
- [[NewPromptBuilder()]] - `contains` [EXTRACTED]
- [[Optional()]] - `contains` [EXTRACTED]
- [[Part_2]] - `contains` [EXTRACTED]
- [[PromptBudget_1]] - `contains` [EXTRACTED]
- [[PromptBuilder]] - `contains` [EXTRACTED]
- [[PromptSession]] - `contains` [EXTRACTED]
- [[PromptView_2]] - `contains` [EXTRACTED]
- [[Required()]] - `contains` [EXTRACTED]
- [[Section]] - `contains` [EXTRACTED]
- [[Source_1]] - `contains` [EXTRACTED]
- [[SourceBudget_1]] - `contains` [EXTRACTED]
- [[SourceFunc]] - `contains` [EXTRACTED]
- [[SourceTokenCap()]] - `contains` [EXTRACTED]
- [[Tokens()]] - `contains` [EXTRACTED]
- [[addPartIDs()]] - `contains` [EXTRACTED]
- [[appendPromptText()]] - `contains` [EXTRACTED]
- [[applyOptions()]] - `contains` [EXTRACTED]
- [[builderEntry_1]] - `contains` [EXTRACTED]
- [[builderPromptSession]] - `contains` [EXTRACTED]
- [[builderView]] - `contains` [EXTRACTED]
- [[cloneEntryViews()]] - `contains` [EXTRACTED]
- [[cloneMessages()]] - `contains` [EXTRACTED]
- [[cloneMeta()]] - `contains` [EXTRACTED]
- [[clonePartIDMap()]] - `contains` [EXTRACTED]
- [[cloneParts()]] - `contains` [EXTRACTED]
- [[clonePartsMap()]] - `contains` [EXTRACTED]
- [[cloneTrace()]] - `contains` [EXTRACTED]
- [[entryAdmissionOptions]] - `contains` [EXTRACTED]
- [[finalizeTrace()]] - `contains` [EXTRACTED]
- [[keepRequiredParts()]] - `contains` [EXTRACTED]
- [[markDroppedOptionalContextEntries()]] - `contains` [EXTRACTED]
- [[markRequired()]] - `contains` [EXTRACTED]
- [[newBuilderView()]] - `contains` [EXTRACTED]
- [[newPromptBuildState()]] - `contains` [EXTRACTED]
- [[orderedEntries()]] - `contains` [EXTRACTED]
- [[partsTokenCount()]] - `contains` [EXTRACTED]
- [[promptBudgetError()]] - `contains` [EXTRACTED]
- [[promptBuildState_1]] - `contains` [EXTRACTED]
- [[rebuildPartIDs()]] - `contains` [EXTRACTED]
- [[renderOverheadTokens()]] - `contains` [EXTRACTED]
- [[setTraceTokens()]] - `contains` [EXTRACTED]
- [[validSection()]] - `contains` [EXTRACTED]
- [[validatePartIDs()]] - `contains` [EXTRACTED]

#graphify/code #graphify/EXTRACTED #community/Part_promptLimit_Source