Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/btitkin/promptbuilder
/ functions
Functions
182 in github.com/btitkin/promptbuilder
⨍
Functions
182
◇
Types & classes
46
↓ 13 callers
Function
cleanTextResponse
(text: string)
services/customApiService.ts:38
↓ 10 callers
Function
handleChange
(field: keyof CharacterSettingsState, value: any)
components/CharacterControls.tsx:70
↓ 9 callers
Function
normalizeNarrative
(text: string)
services/customApiService.ts:54
↓ 6 callers
Function
isJunkOutput
(s: string)
services/customApiService.ts:574
↓ 5 callers
Method
apply_presets
Apply presets from comma-separated string
promptbuilder_node.py:472
↓ 4 callers
Method
apply_presets
(self, preset_string: str, preset_dict: Dict[str, str])
promptbuilder_node.py:1141
↓ 4 callers
Function
cleanModelText
(text: string)
services/geminiService.ts:183
↓ 4 callers
Function
getBodyTypeDescription
(gender: Gender, bodyType: CharacterSettingsState['bodyType'])
services/geminiService.ts:94
↓ 4 callers
Function
handleChange
(field: keyof AdvancedSettingsState, value: string)
components/AdvancedSettings.tsx:18
↓ 4 callers
Function
handleTabToggle
(tab: 'sfw' | 'hero-sfw' | 'nsfw' | 'hardcore')
components/PosePresets.tsx:78
↓ 4 callers
Function
handleToggleChange
(field: keyof NsfwSettingsState, value: boolean)
components/NsfwControls.tsx:34
↓ 3 callers
Function
getBreastSizeDescription
(size: BreastSize)
services/geminiService.ts:124
↓ 3 callers
Function
getButtSizeDescription
(size: ButtSize)
services/geminiService.ts:134
↓ 3 callers
Function
getEthnicityDescription
(ethnicity: Ethnicity)
services/geminiService.ts:113
↓ 3 callers
Function
getFacialHairDescription
(hair: FacialHair)
services/geminiService.ts:149
↓ 3 callers
Function
getHeightDescription
(height: HeightRange)
services/geminiService.ts:118
↓ 3 callers
Function
getHipsSizeDescription
(size: HipsSize)
services/geminiService.ts:129
↓ 3 callers
Function
getMuscleDefinitionDescription
(def: MuscleDefinition)
services/geminiService.ts:144
↓ 3 callers
Function
getPenisSizeDescription
(size: PenisSize)
services/geminiService.ts:139
↓ 3 callers
Function
getProvider
(provider: ApiProvider)
services/aiService.ts:27
↓ 3 callers
Function
getResponseTextOrThrow
(response: GenerateContentResponse, context: string)
services/geminiService.ts:155
↓ 3 callers
Function
handleCustomConfigChange
(field: keyof CustomApiConfig, value: string)
components/ApiSettings.tsx:43
↓ 3 callers
Function
handleTabToggle
(tab: 'inside' | 'outside' | 'nsfw')
components/LocationPresets.tsx:46
↓ 3 callers
Function
handleTabToggle
(tab: 'sfw' | 'nsfw' | 'hardcore')
components/ClothingPresets.tsx:71
↓ 3 callers
Function
handleTabToggle
(tab: 'lighting' | 'camera' | 'atmosphere')
components/ShotPresets.tsx:45
↓ 3 callers
Function
makeApiCall
( config: CustomApiConfig, messages: any[], opts?: GenOptions )
services/customApiService.ts:216
↓ 3 callers
Function
pickNumber
(n, fallback)
main.js:22
↓ 3 callers
Function
truncateMiddle
(s: string, maxLen: number)
services/customApiService.ts:23
↓ 2 callers
Function
buildFallbackNarrative
(elements: string[])
services/customApiService.ts:591
↓ 2 callers
Function
buildSyntheticEnhancement
( base: string, nsfw: NsfwSettingsState, style: StyleFilter, character: CharacterSettingsState
services/customApiService.ts:499
↓ 2 callers
Method
build_character_description
Build character description from settings with random support
promptbuilder_node.py:374
↓ 2 callers
Function
cleanLLMText
(text: string)
App.tsx:53
↓ 2 callers
Function
createWindow
()
electron/main.js:32
↓ 2 callers
Method
create_system_prompt
Create comprehensive system prompt for LLM
promptbuilder_node.py:488
↓ 2 callers
Method
format_for_model
Format prompt according to target model requirements
promptbuilder_node.py:815
↓ 2 callers
Method
generate_single_prompt
Generate single prompt (original functionality)
promptbuilder_node.py:594
↓ 2 callers
Method
get_quality_tags
Get quality tags based on model and style
promptbuilder_node.py:357
↓ 2 callers
Function
handleTextTransform
(transformType: 'increase' | 'decrease')
components/PromptInput.tsx:31
↓ 2 callers
Function
isElectronAvailable
()
services/electronService.ts:27
↓ 2 callers
Function
withApiKeyCheck
(callback: (apiKey: string, ...args: T) => Promise<void>)
App.tsx:318
↓ 1 callers
Function
buildSystemInstructionForEnhancement
( nsfwSettings: NsfwSettingsState, styleFilter: StyleFilter, characterSettings: CharacterSettingsS
services/geminiService.ts:386
↓ 1 callers
Function
buildSystemInstructionForRandom
( nsfwSettings: NsfwSettingsState, styleFilter: StyleFilter, characterSettings: CharacterSettingsS
services/geminiService.ts:488
↓ 1 callers
Function
buildSystemInstructionForVariations
( numVariations: number, nsfwSettings: NsfwSettingsState, styleFilter: StyleFilter, selectedMo
services/geminiService.ts:256
↓ 1 callers
Function
buildTheBlokePrompt
(systemText: string | undefined, userText: string)
services/customApiService.ts:31
↓ 1 callers
Method
build_character_description
(self, **kwargs)
promptbuilder_node.py:1137
↓ 1 callers
Function
createMenu
()
electron/main.js:115
↓ 1 callers
Function
createWindow
()
main.js:85
↓ 1 callers
Method
create_fixed_character_variation
Create variation with fixed character but varied everything else
promptbuilder_node.py:1626
↓ 1 callers
Method
create_random_variation
Create completely random variations
promptbuilder_node.py:1696
↓ 1 callers
Method
create_smart_variation
Create smart variations based on user settings - EXACTLY as requested
promptbuilder_node.py:776
↓ 1 callers
Method
create_system_prompt
(self, target_model: str, style_main: str, style_sub: str, nsfw_mode: str, **kwargs)
promptbuilder_node.py:1145
↓ 1 callers
Method
create_themed_variation
Create themed variations (e.g., all beach, all office, etc.)
promptbuilder_node.py:1679
↓ 1 callers
Method
create_variation
Create variations based on mode and settings
promptbuilder_node.py:1614
↓ 1 callers
Function
extractJson
(text: string)
services/customApiService.ts:203
↓ 1 callers
Method
format_for_model
(self, prompt: str, target_model: str, kwargs: Dict[str, Any])
promptbuilder_node.py:1149
↓ 1 callers
Method
generate_batch_with_smart_randomization
Generate batch with intelligent randomization - exactly as user requested
promptbuilder_node.py:690
↓ 1 callers
Method
generate_prompts
Generate enhanced prompts with full feature set and intelligent batch processing
promptbuilder_node.py:563
↓ 1 callers
Function
getHardcoreIntensityDescription
(level: number)
services/geminiService.ts:86
↓ 1 callers
Function
getNsfwIntensityDescription
(level: number)
services/geminiService.ts:78
↓ 1 callers
Function
getQualityTagsForStyle
(styleFilter: StyleFilterType)
App.tsx:32
↓ 1 callers
Function
getSelectionText
()
components/PromptInput.tsx:23
↓ 1 callers
Method
get_quality_tags
(self, target_model: str, style_main: str, style_sub: str)
promptbuilder_node.py:1133
↓ 1 callers
Function
handleCopy
(promptToCopy: string, index: number)
components/PromptOutput.tsx:42
↓ 1 callers
Function
handleKeyChange
(key: string)
components/ApiSettings.tsx:33
↓ 1 callers
Function
handleMainChange
(main: 'realistic' | 'anime')
components/StyleFilter.tsx:31
↓ 1 callers
Function
handleModeChange
(mode: NsfwMode)
components/NsfwControls.tsx:22
↓ 1 callers
Function
handleProviderChange
(provider: ApiProvider)
components/ApiSettings.tsx:29
↓ 1 callers
Function
handleShare
(promptToShare: string, index: number)
components/PromptOutput.tsx:49
↓ 1 callers
Function
handleSubChange
(sub: RealisticStyle | AnimeStyle)
components/StyleFilter.tsx:39
↓ 1 callers
Function
initializeLlama
()
main.js:46
↓ 1 callers
Function
invokeLLM
(task: string, payload: InvokeLLMPayload)
services/electronService.ts:49
↓ 1 callers
Method
make_api_call
Make API call to local LLM
promptbuilder_node.py:304
↓ 1 callers
Method
make_online_api_call
Make API call to online LLM providers
promptbuilder_node.py:1061
↓ 1 callers
Function
renderBodyTypeSelector
()
components/CharacterControls.tsx:74
↓ 1 callers
Function
renderEnhanceOptions
()
components/NsfwControls.tsx:38
↓ 1 callers
Function
renderLoadingSkeleton
()
components/PromptOutput.tsx:64
↓ 1 callers
Function
trimAtStopSequences
(text, stops = [])
main.js:31
↓ 1 callers
Function
trimAtStopSequences
(text, stops = [])
electron/main.js:9
↓ 1 callers
Function
unifyStop
(_payload)
main.js:26
↓ 1 callers
Function
unifyStop
(stop)
electron/main.js:23
Function
AdvancedSettings
({ isOpen, settings, onChange })
components/AdvancedSettings.tsx:13
Function
AgeVerificationModal
({ onConfirm, onDeny })
components/AgeVerificationModal.tsx:8
Function
ApiSettings
({ isOpen, onToggle, config, onChange })
components/ApiSettings.tsx:28
Function
App
()
App.tsx:99
Function
AttributeSelector
({ label, options, value, onChange, gridCols = 'grid-cols-4' }: AttributeSelectorProps<T>)
components/CharacterControls.tsx:34
Function
BookmarkIcon
()
components/icons.tsx:67
Function
CharacterControls
({ settings, onChange })
components/CharacterControls.tsx:53
Function
CheckIcon
()
components/icons.tsx:18
Function
ChevronDownIcon
({ className = "h-5 w-5" })
components/icons.tsx:61
Function
ClothingPresets
({ onAppend, selectedPresets, onSelectedPresetsChange })
components/ClothingPresets.tsx:66
Function
CompactToggle
({ label, checked, onChange, disabled = false, tooltip })
components/CompactToggle.tsx:13
Function
CopyIcon
()
components/icons.tsx:12
Function
DiceIcon
()
components/icons.tsx:49
Function
DownloadIcon
()
components/icons.tsx:79
Function
Header
()
components/Header.tsx:5
Function
History
({ history, onSelect, onClear })
components/History.tsx:11
Method
INPUT_TYPES
(cls)
promptbuilder_node.py:12
Method
INPUT_TYPES
(cls)
promptbuilder_node.py:846
Method
INPUT_TYPES
(cls)
promptbuilder_node.py:1225
Method
INPUT_TYPES
(cls)
promptbuilder_node.py:1309
next →
1–100 of 182, ranked by callers