MCPcopy Create free account

hub / github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama / functions

Functions131 in github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama

↓ 54 callersMethodupdate_output
Update output window with display corruption fix
research_manager.py:443
↓ 12 callersMethodcleanup
Public cleanup method with enhanced terminal restoration
research_manager.py:346
↓ 12 callersMethodgenerate
(self, prompt, **kwargs)
llm_wrapper.py:65
↓ 9 callersMethodterminate_research
Terminate research and return to main terminal
research_manager.py:1125
↓ 7 callersMethod_refresh_input_prompt
Refresh the fixed input prompt at bottom with display fix
research_manager.py:417
↓ 5 callersMethod_extract_numbers
(self, text: str)
llm_response_parser.py:218
↓ 4 callersMethod_cleanup
Enhanced cleanup to handle conversation mode
research_manager.py:754
↓ 3 callersMethod_infer_decision
(self, text: str)
llm_response_parser.py:221
↓ 3 callersMethod_is_valid_focus
Validate research focus completeness and quality
strategic_analysis_parser.py:155
↓ 3 callersFunctioncan_fetch
(url)
web_scraper.py:127
↓ 3 callersFunctionget_llm_config
()
llm_config.py:47
↓ 2 callersMethod_clean_query
Clean and validate search query
llm_response_parser.py:230
↓ 2 callersMethod_clean_text
Clean and normalize text for parsing
strategic_analysis_parser.py:93
↓ 2 callersMethod_cleanup_research_ui
Clean up just the research UI components
research_manager.py:1230
↓ 2 callersMethod_extract_research_areas
Extract research areas with enhanced parsing to handle priorities in various formats.
research_manager.py:154
↓ 2 callersMethod_is_valid_result
(self, result: Dict[str, Union[str, List[int]]])
llm_response_parser.py:227
↓ 2 callersMethodadd_to_document
Add research findings to current session document
research_manager.py:812
↓ 2 callersMethodformat_scraped_content
(self, scraped_content: Dict[str, str])
Self_Improving_Search.py:434
↓ 2 callersMethodgenerate_final_answer
(self, user_query: str, scraped_content: Dict[str, str])
Self_Improving_Search.py:403
↓ 2 callersMethodget_input
Enhanced input handling with mouse scroll support
research_manager.py:481
↓ 2 callersFunctionget_multiline_input
Get multiline input using raw terminal mode for reliable CTRL+D handling
Web-LLM.py:71
↓ 2 callersMethodget_progress
Get current research progress
research_manager.py:1111
↓ 2 callersFunctionget_web_content
(urls)
web_scraper.py:122
↓ 2 callersMethodparse_query_response
(self, response: str)
Self_Improving_Search.py:212
↓ 2 callersMethodperform_search
(self, query: str, time_range: str)
Self_Improving_Search.py:240
↓ 2 callersFunctionprint_header
()
Web-LLM.py:55
↓ 2 callersMethodscrape_content
(self, urls: List[str])
Self_Improving_Search.py:369
↓ 2 callersMethodselect_relevant_pages
(self, search_results: List[Dict], user_query: str)
Self_Improving_Search.py:301
↓ 2 callersMethodsetup
Initialize the terminal UI
research_manager.py:304
↓ 2 callersMethodstart_research
Start research with new session document
research_manager.py:933
↓ 1 callersMethod_anthropic_generate
(self, prompt, **kwargs)
llm_wrapper.py:114
↓ 1 callersMethod_calculate_confidence_score
Calculate confidence score for analysis quality
strategic_analysis_parser.py:180
↓ 1 callersMethod_cleanup
Enhanced resource cleanup with better process handling
research_manager.py:380
↓ 1 callersMethod_extract_original_question
Extract original question with improved matching
strategic_analysis_parser.py:100
↓ 1 callersMethod_extract_priority
Extract priority with validation
strategic_analysis_parser.py:143
↓ 1 callersMethod_extract_research_areas
Extract research areas with enhanced validation
strategic_analysis_parser.py:108
↓ 1 callersMethod_fallback_parsing
(self, response: str)
llm_response_parser.py:187
↓ 1 callersMethod_generate_conversation_response
Generate contextual responses with improved context handling
research_manager.py:1315
↓ 1 callersMethod_handle_command
Handle user commands during research
research_manager.py:999
↓ 1 callersMethod_initialize_anthropic
(self)
llm_wrapper.py:53
↓ 1 callersMethod_initialize_document
Initialize research session document
research_manager.py:780
↓ 1 callersMethod_initialize_llama_cpp
(self)
llm_wrapper.py:26
↓ 1 callersMethod_initialize_openai
(self)
llm_wrapper.py:35
↓ 1 callersMethod_match_section_to_key
(self, section: str)
llm_response_parser.py:212
↓ 1 callersMethod_normalize_focus_areas
Normalize and validate focus areas
strategic_analysis_parser.py:163
↓ 1 callersMethod_ollama_generate
(self, prompt, **kwargs)
llm_wrapper.py:79
↓ 1 callersMethod_openai_generate
(self, prompt, **kwargs)
llm_wrapper.py:98
↓ 1 callersMethod_parse_research_focus
Parse research focus with improved validation without reasoning.
strategic_analysis_parser.py:124
↓ 1 callersMethod_parse_research_response
Handle research mode specific parsing
llm_response_parser.py:76
↓ 1 callersMethod_post_process_result
(self, result: Dict[str, Union[str, List[int]]])
llm_response_parser.py:195
↓ 1 callersMethod_prepare_llama_kwargs
(self, kwargs)
llm_wrapper.py:146
↓ 1 callersMethod_validate_time_range
Validate time range value
llm_response_parser.py:236
↓ 1 callersMethodcan_fetch
(self, url)
web_scraper.py:25
↓ 1 callersMethodcheck_document_size
Check if document size is approaching context limit
research_manager.py:981
↓ 1 callersMethodclean_query
(self, query: str)
Self_Improving_Search.py:226
↓ 1 callersMethoddisplay_scraped_content
(self, scraped_content: Dict[str, str])
Self_Improving_Search.py:397
↓ 1 callersMethoddisplay_search_results
Display search results with minimal output
Self_Improving_Search.py:287
↓ 1 callersMethodevaluate_scraped_content
(self, user_query: str, scraped_content: Dict[str, str])
Self_Improving_Search.py:141
↓ 1 callersMethodextract_content
(self, html, url)
web_scraper.py:63
↓ 1 callersMethodfallback_query
(self, user_query: str)
Self_Improving_Search.py:236
↓ 1 callersMethodformat_results
(self, results: List[Dict])
Self_Improving_Search.py:360
↓ 1 callersMethodformulate_query
(self, user_query: str, attempt: int)
Self_Improving_Search.py:182
↓ 1 callersMethodformulate_search_queries
Generate search queries for a focus area
research_manager.py:666
↓ 1 callersMethodget_initial_input
Get the initial research query from user
research_manager.py:647
↓ 1 callersMethodget_multiline_conversation_input
Get multiline input with CTRL+D handling for conversation mode
research_manager.py:1383
↓ 1 callersFunctionhandle_research_mode
Handles research mode operations
Web-LLM.py:176
↓ 1 callersFunctioninitialize_system
Initialize system with proper error checking
Web-LLM.py:128
↓ 1 callersMethodis_active
Check if research is currently active
research_manager.py:1121
↓ 1 callersFunctionmain
()
Web-LLM.py:233
↓ 1 callersMethodparse_analysis
Main parsing method with improved validation
strategic_analysis_parser.py:63
↓ 1 callersMethodparse_evaluation_response
(self, response: str)
Self_Improving_Search.py:172
↓ 1 callersMethodparse_page_selection_response
(self, response: str)
Self_Improving_Search.py:343
↓ 1 callersMethodpause_and_assess
Pause the research and assess if the collected content is sufficient.
research_manager.py:1020
↓ 1 callersMethodprint_searching
(self)
Self_Improving_Search.py:67
↓ 1 callersMethodprint_thinking
Display thinking indicator to user
research_manager.py:642
↓ 1 callersMethodprint_thinking
(self)
Self_Improving_Search.py:64
↓ 1 callersMethodrespect_rate_limit
(self, url)
web_scraper.py:36
↓ 1 callersFunctionscrape_multiple_pages
(urls, max_workers=5)
web_scraper.py:101
↓ 1 callersMethodstart_conversation_mode
Start interactive conversation mode with CTRL+D input handling and thinking indicator
research_manager.py:1246
↓ 1 callersMethodstrategic_analysis
Generate and process research areas with retries until success
research_manager.py:87
↓ 1 callersMethodsynthesize_final_answer
(self, user_query: str)
Self_Improving_Search.py:441
↓ 1 callersMethodupdate_status
Update the status line above input area
research_manager.py:468
↓ 1 callersMethodvalidate_page_selection_response
(self, parsed_response: Dict[str, Union[List[int], str]], num_results: int)
Self_Improving_Search.py:353
↓ 1 callersMethodvalidate_time_range
(self, time_range: str)
Self_Improving_Search.py:231
Method__enter__
(self)
research_manager.py:277
Method__enter__
(self)
research_manager.py:566
Method__enter__
(self)
Self_Improving_Search.py:43
Method__enter__
(self)
Web-LLM.py:46
Method__exit__
(self, exc_type, exc_val, exc_tb)
research_manager.py:282
Method__exit__
(self, type, value, traceback)
research_manager.py:573
Method__exit__
(self, exc_type, exc_val, exc_tb)
Self_Improving_Search.py:48
Method__exit__
(self, exc_type, exc_val, exc_tb)
Web-LLM.py:51
Method__init__
(self, llm=None)
research_manager.py:77
Method__init__
(self, stream=None)
research_manager.py:272
Method__init__
(self)
research_manager.py:288
Method__init__
(self)
research_manager.py:563
Method__init__
(self, llm_wrapper, parser, search_engine, max_searches_per_cycle: int = 5)
research_manager.py:592
Method__init__
(self, user_agent="WebLLMAssistant/1.0 (+https://github.com/YourUsername/Web-LLM-Assistant-Llama-cpp)",
web_scraper.py:15
Method__init__
(self)
llm_response_parser.py:12
Method__init__
(self)
strategic_analysis_parser.py:40
next →1–100 of 131, ranked by callers