MCPcopy Create free account

hub / github.com/Seven-Four-Digital/influencer-content-chatbot-creator / functions

Functions181 in github.com/Seven-Four-Digital/influencer-content-chatbot-creator

↓ 18 callersMethodanalyze_prompt_comprehensive
Perform comprehensive prompt analysis with detailed categorization
prompt_analyzer.py:132
↓ 6 callersMethodanalyze
Analyze a prompt and return comprehensive analysis results. Args: prompt: The prompt to analyze use_
api_wrapper.py:33
↓ 5 callersMethodgenerate_optimal_parameters
Generate optimal parameters based on prompt analysis with user overrides
prompt_analyzer.py:212
↓ 4 callersMethodanalyze_prompt_complexity
Analyze prompt complexity and return detailed metrics. Args: prompt: The text prompt to analyze
sd_forge_utils.py:62
↓ 4 callersMethodsave_library
Save prompt library to file.
prompt_utils.py:254
↓ 3 callersMethod_format_analysis_result
Format analysis result for API response.
api_wrapper.py:304
↓ 2 callersMethod_default_parameters
Return default parameters.
api_wrapper.py:368
↓ 2 callersMethod_empty_analysis_result
Return empty analysis result.
api_wrapper.py:335
↓ 2 callersMethod_error_analysis_result
Return error analysis result.
api_wrapper.py:362
↓ 2 callersMethod_generate_specialized_description
Generate a specialized description using a specific prompt.
image_analyzer.py:110
↓ 2 callersMethod_get_gpu_specs
Get GPU specifications from database
gpu_utils.py:222
↓ 2 callersMethod_get_performance_tier
Get performance tier for a GPU model
gpu_utils.py:360
↓ 2 callersMethod_normalize_gpu_name
Normalize GPU name for database lookup
gpu_utils.py:191
↓ 2 callersMethodanalyze_image
Analyze an image and generate caption and detailed description. ENHANCED: Multi-pass analysis for comprehensive detailed descriptions
image_analyzer.py:182
↓ 2 callersMethodbatch_analyze
Analyze multiple prompts in batch. Args: prompts: List of prompts to analyze Returns:
api_wrapper.py:143
↓ 2 callersMethodexport_report
Export comprehensive analysis report. Args: prompt: The prompt to analyze format: Export format ('js
api_wrapper.py:261
↓ 2 callersMethodget_cache_stats
Get cache statistics.
api_wrapper.py:297
↓ 2 callersMethodget_layer_recommendations
Get layer allocation recommendations for all detected GPUs
gpu_utils.py:279
↓ 2 callersMethodget_optimal_parameters
Get optimal generation parameters for a prompt. Args: prompt: The prompt to analyze sampler: Overrid
api_wrapper.py:67
↓ 2 callersMethodget_optimal_settings
Get optimal settings for the primary GPU
gpu_utils.py:413
↓ 2 callersMethodquick_analyze
Quick analysis returning only essential information. Args: prompt: The prompt to analyze Re
api_wrapper.py:112
↓ 2 callersMethodrecommend_sd_forge_params
Recommend Stable Diffusion Forge parameters based on prompt complexity. Args: prompt: The text prompt to analyze
sd_forge_utils.py:132
↓ 1 callersMethod_analyze_with_sam
Analyze image using SAM segmentation.
vision/analyze.py:137
↓ 1 callersMethod_analyze_with_yolo
Analyze image using YOLO object detection.
vision/analyze.py:114
↓ 1 callersMethod_calculate_distilled_cfg
Calculate distilled CFG scale for Flux models
prompt_analyzer.py:389
↓ 1 callersMethod_calculate_guidance_scale
Calculate guidance scale for advanced models
prompt_analyzer.py:417
↓ 1 callersMethod_calculate_layer_recommendation
Calculate optimal layer allocation for a specific GPU
gpu_utils.py:291
↓ 1 callersMethod_calculate_negative_prompt_strength
Calculate negative prompt strength
prompt_analyzer.py:428
↓ 1 callersMethod_calculate_optimal_cfg
Calculate optimal CFG scale
prompt_analyzer.py:343
↓ 1 callersMethod_calculate_optimal_resolution
Calculate optimal resolution based on content type
prompt_analyzer.py:403
↓ 1 callersMethod_calculate_optimal_steps
Calculate optimal steps based on complexity and technical content
prompt_analyzer.py:325
↓ 1 callersMethod_calculate_relevance
Calculate relevance score for search results.
prompt_utils.py:301
↓ 1 callersMethod_combine_analyses
Combine all analysis results into a comprehensive description.
vision/analyze.py:164
↓ 1 callersMethod_combine_descriptions
Combine multiple descriptions into a comprehensive detailed description.
image_analyzer.py:139
↓ 1 callersMethod_create_default_analysis
Create default analysis for empty prompts
prompt_analyzer.py:252
↓ 1 callersMethod_detect_gpus
Detect all available NVIDIA RTX GPUs
gpu_utils.py:119
↓ 1 callersMethod_detect_via_nvidia_smi
Detect GPUs using nvidia-smi command
gpu_utils.py:155
↓ 1 callersMethod_determine_content_type
Determine content type based on prompt analysis
prompt_analyzer.py:273
↓ 1 callersMethod_estimate_total_layers
Estimate total layers based on model size
gpu_utils.py:344
↓ 1 callersMethod_extract_clothing
Extract clothing information from image analysis.
image_analyzer.py:430
↓ 1 callersMethod_extract_composition_elements
Extract composition elements from prompt
prompt_analyzer.py:309
↓ 1 callersMethod_extract_lighting_terms
Extract lighting terms from prompt
prompt_analyzer.py:317
↓ 1 callersMethod_extract_mood
Extract mood and atmosphere from image analysis.
image_analyzer.py:445
↓ 1 callersMethod_extract_quality_indicators
Extract quality indicators from prompt
prompt_analyzer.py:301
↓ 1 callersMethod_extract_setting
Extract setting information from image analysis.
image_analyzer.py:412
↓ 1 callersMethod_extract_style_indicators
Extract style indicators from prompt
prompt_analyzer.py:293
↓ 1 callersMethod_extract_subjects
Extract subject information from image analysis.
image_analyzer.py:395
↓ 1 callersMethod_format_parameters_result
Format parameters result for API response.
api_wrapper.py:331
↓ 1 callersMethod_fuzzy_match
Fuzzy matching for GPU names
gpu_utils.py:236
↓ 1 callersMethod_generate_optimization_notes
Generate optimization notes based on GPU specs and usage
gpu_utils.py:367
↓ 1 callersMethod_get_complexity_level
Convert complexity score to descriptive level.
sd_forge_utils.py:119
↓ 1 callersMethod_infer_specs_from_memory
Infer GPU specs based on memory size for unknown models
gpu_utils.py:252
↓ 1 callersMethod_load_models
Load all required models for analysis.
vision/analyze.py:29
↓ 1 callersMethod_select_optimal_sampler
Select optimal sampler based on analysis
prompt_analyzer.py:363
↓ 1 callersMethod_select_optimal_scheduler
Select optimal scheduler based on analysis
prompt_analyzer.py:376
↓ 1 callersMethod_simulate_video_generation
Simulate video generation process. In a real implementation, this would interface with actual video generation models.
vision/generate_video.py:80
↓ 1 callersMethodadd_template
Add a new template to the library.
prompt_utils.py:259
↓ 1 callersFunctionanalyze_prompt
Convenience function for prompt analysis.
api_wrapper.py:387
↓ 1 callersFunctionanalyze_prompt_complexity
Backward compatibility function for existing code
prompt_analyzer.py:451
↓ 1 callersMethodanalyze_technical_elements
Analyze what technical elements are present in a prompt.
prompt_utils.py:202
↓ 1 callersFunctioncheck_python_version
Check if Python version is compatible.
setup.py:13
↓ 1 callersMethodclear_cache
Clear the analysis cache.
api_wrapper.py:292
↓ 1 callersMethodcompare_prompts
Compare two prompts and their analysis results. Args: prompt1: First prompt prompt2: Second prompt
api_wrapper.py:168
↓ 1 callersFunctioncreate_directories
Create necessary directories.
setup.py:45
↓ 1 callersFunctioncreate_interface
Create and configure the Gradio interface.
main.py:540
↓ 1 callersMethodexport_analysis_report
Export comprehensive analysis report
prompt_analyzer.py:439
↓ 1 callersMethodgenerate_diverse_appearance
Generate a diverse appearance description.
main.py:209
↓ 1 callersMethodgenerate_response
Generate response using the loaded model.
main.py:290
↓ 1 callersMethodgenerate_response
Generate response using the loaded model.
scripts/fanvue_chatbot.py:143
↓ 1 callersMethodgenerate_video_prompt_from_image
Generate a video prompt based on actual image analysis. Args: image_analysis: Results from analyze_image()
image_analyzer.py:303
↓ 1 callersMethodget_example_prompt
Get a random example prompt for content type.
main.py:372
↓ 1 callersFunctionget_optimal_params
Convenience function for getting optimal parameters.
api_wrapper.py:391
↓ 1 callersMethodget_suggestions
Get suggestions for improving a prompt. Args: prompt: The prompt to analyze Returns:
api_wrapper.py:204
↓ 1 callersFunctionimage_analyzer
Fallback image analyzer.
scripts/fanvue_chatbot.py:28
↓ 1 callersFunctioninstall_gpu_support
Install GPU support for ctransformers.
setup.py:33
↓ 1 callersFunctioninstall_package
Install a package using pip.
install.py:17
↓ 1 callersFunctioninstall_requirements
Install required packages.
setup.py:22
↓ 1 callersFunctionis_package_installed
Check if a package is already installed.
install.py:12
↓ 1 callersMethodload_library
Load prompt library from file.
prompt_utils.py:241
↓ 1 callersMethodload_model
Load BLIP model for image captioning with progress tracking.
image_analyzer.py:56
↓ 1 callersMethodload_model
Load the specified model.
main.py:244
↓ 1 callersMethodload_model
Load the specified model.
scripts/fanvue_chatbot.py:100
↓ 1 callersFunctionmain
Main installation function.
install.py:26
↓ 1 callersFunctionmain
Main setup function.
setup.py:54
↓ 1 callersMethodprint_gpu_report
Print a comprehensive GPU detection report
gpu_utils.py:437
↓ 1 callersFunctionrecommend_sd_forge_params
Backward compatibility function for existing code
prompt_analyzer.py:468
↓ 1 callersFunctionrun_performance_tests
Run performance tests
test_prompt_analyzer.py:296
↓ 1 callersMethodsave_conversation
Save conversation history to file.
scripts/fanvue_chatbot.py:177
↓ 1 callersMethodsave_conversation_to_txt
Save conversation entry to timestamped txt file.
main.py:221
↓ 1 callersFunctiontest_complexity_analyzer
Test the complexity analyzer with sample prompts.
sd_forge_utils.py:313
↓ 1 callersMethodtitle
(self)
scripts/fanvue_chatbot.py:202
Method__init__
(self)
api_wrapper.py:29
Method__init__
Initialize the RTX GPU detector
gpu_utils.py:113
Method__init__
(self)
prompt_utils.py:14
Method__init__
(self)
prompt_utils.py:170
Method__init__
(self, library_file: str = "prompt_library.json")
prompt_utils.py:237
Method__init__
(self)
sd_forge_utils.py:26
Method__init__
(self)
image_analyzer.py:24
Method__init__
(self)
prompt_analyzer.py:74
Method__init__
(self)
main.py:34
next →1–100 of 181, ranked by callers