Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama
/ functions
Functions
131 in github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama
⨍
Functions
131
◇
Types & classes
16
↓ 54 callers
Method
update_output
Update output window with display corruption fix
research_manager.py:443
↓ 12 callers
Method
cleanup
Public cleanup method with enhanced terminal restoration
research_manager.py:346
↓ 12 callers
Method
generate
(self, prompt, **kwargs)
llm_wrapper.py:65
↓ 9 callers
Method
terminate_research
Terminate research and return to main terminal
research_manager.py:1125
↓ 7 callers
Method
_refresh_input_prompt
Refresh the fixed input prompt at bottom with display fix
research_manager.py:417
↓ 5 callers
Method
_extract_numbers
(self, text: str)
llm_response_parser.py:218
↓ 4 callers
Method
_cleanup
Enhanced cleanup to handle conversation mode
research_manager.py:754
↓ 3 callers
Method
_infer_decision
(self, text: str)
llm_response_parser.py:221
↓ 3 callers
Method
_is_valid_focus
Validate research focus completeness and quality
strategic_analysis_parser.py:155
↓ 3 callers
Function
can_fetch
(url)
web_scraper.py:127
↓ 3 callers
Function
get_llm_config
()
llm_config.py:47
↓ 2 callers
Method
_clean_query
Clean and validate search query
llm_response_parser.py:230
↓ 2 callers
Method
_clean_text
Clean and normalize text for parsing
strategic_analysis_parser.py:93
↓ 2 callers
Method
_cleanup_research_ui
Clean up just the research UI components
research_manager.py:1230
↓ 2 callers
Method
_extract_research_areas
Extract research areas with enhanced parsing to handle priorities in various formats.
research_manager.py:154
↓ 2 callers
Method
_is_valid_result
(self, result: Dict[str, Union[str, List[int]]])
llm_response_parser.py:227
↓ 2 callers
Method
add_to_document
Add research findings to current session document
research_manager.py:812
↓ 2 callers
Method
format_scraped_content
(self, scraped_content: Dict[str, str])
Self_Improving_Search.py:434
↓ 2 callers
Method
generate_final_answer
(self, user_query: str, scraped_content: Dict[str, str])
Self_Improving_Search.py:403
↓ 2 callers
Method
get_input
Enhanced input handling with mouse scroll support
research_manager.py:481
↓ 2 callers
Function
get_multiline_input
Get multiline input using raw terminal mode for reliable CTRL+D handling
Web-LLM.py:71
↓ 2 callers
Method
get_progress
Get current research progress
research_manager.py:1111
↓ 2 callers
Function
get_web_content
(urls)
web_scraper.py:122
↓ 2 callers
Method
parse_query_response
(self, response: str)
Self_Improving_Search.py:212
↓ 2 callers
Method
perform_search
(self, query: str, time_range: str)
Self_Improving_Search.py:240
↓ 2 callers
Function
print_header
()
Web-LLM.py:55
↓ 2 callers
Method
scrape_content
(self, urls: List[str])
Self_Improving_Search.py:369
↓ 2 callers
Method
select_relevant_pages
(self, search_results: List[Dict], user_query: str)
Self_Improving_Search.py:301
↓ 2 callers
Method
setup
Initialize the terminal UI
research_manager.py:304
↓ 2 callers
Method
start_research
Start research with new session document
research_manager.py:933
↓ 1 callers
Method
_anthropic_generate
(self, prompt, **kwargs)
llm_wrapper.py:114
↓ 1 callers
Method
_calculate_confidence_score
Calculate confidence score for analysis quality
strategic_analysis_parser.py:180
↓ 1 callers
Method
_cleanup
Enhanced resource cleanup with better process handling
research_manager.py:380
↓ 1 callers
Method
_extract_original_question
Extract original question with improved matching
strategic_analysis_parser.py:100
↓ 1 callers
Method
_extract_priority
Extract priority with validation
strategic_analysis_parser.py:143
↓ 1 callers
Method
_extract_research_areas
Extract research areas with enhanced validation
strategic_analysis_parser.py:108
↓ 1 callers
Method
_fallback_parsing
(self, response: str)
llm_response_parser.py:187
↓ 1 callers
Method
_generate_conversation_response
Generate contextual responses with improved context handling
research_manager.py:1315
↓ 1 callers
Method
_handle_command
Handle user commands during research
research_manager.py:999
↓ 1 callers
Method
_initialize_anthropic
(self)
llm_wrapper.py:53
↓ 1 callers
Method
_initialize_document
Initialize research session document
research_manager.py:780
↓ 1 callers
Method
_initialize_llama_cpp
(self)
llm_wrapper.py:26
↓ 1 callers
Method
_initialize_openai
(self)
llm_wrapper.py:35
↓ 1 callers
Method
_match_section_to_key
(self, section: str)
llm_response_parser.py:212
↓ 1 callers
Method
_normalize_focus_areas
Normalize and validate focus areas
strategic_analysis_parser.py:163
↓ 1 callers
Method
_ollama_generate
(self, prompt, **kwargs)
llm_wrapper.py:79
↓ 1 callers
Method
_openai_generate
(self, prompt, **kwargs)
llm_wrapper.py:98
↓ 1 callers
Method
_parse_research_focus
Parse research focus with improved validation without reasoning.
strategic_analysis_parser.py:124
↓ 1 callers
Method
_parse_research_response
Handle research mode specific parsing
llm_response_parser.py:76
↓ 1 callers
Method
_post_process_result
(self, result: Dict[str, Union[str, List[int]]])
llm_response_parser.py:195
↓ 1 callers
Method
_prepare_llama_kwargs
(self, kwargs)
llm_wrapper.py:146
↓ 1 callers
Method
_validate_time_range
Validate time range value
llm_response_parser.py:236
↓ 1 callers
Method
can_fetch
(self, url)
web_scraper.py:25
↓ 1 callers
Method
check_document_size
Check if document size is approaching context limit
research_manager.py:981
↓ 1 callers
Method
clean_query
(self, query: str)
Self_Improving_Search.py:226
↓ 1 callers
Method
display_scraped_content
(self, scraped_content: Dict[str, str])
Self_Improving_Search.py:397
↓ 1 callers
Method
display_search_results
Display search results with minimal output
Self_Improving_Search.py:287
↓ 1 callers
Method
evaluate_scraped_content
(self, user_query: str, scraped_content: Dict[str, str])
Self_Improving_Search.py:141
↓ 1 callers
Method
extract_content
(self, html, url)
web_scraper.py:63
↓ 1 callers
Method
fallback_query
(self, user_query: str)
Self_Improving_Search.py:236
↓ 1 callers
Method
format_results
(self, results: List[Dict])
Self_Improving_Search.py:360
↓ 1 callers
Method
formulate_query
(self, user_query: str, attempt: int)
Self_Improving_Search.py:182
↓ 1 callers
Method
formulate_search_queries
Generate search queries for a focus area
research_manager.py:666
↓ 1 callers
Method
get_initial_input
Get the initial research query from user
research_manager.py:647
↓ 1 callers
Method
get_multiline_conversation_input
Get multiline input with CTRL+D handling for conversation mode
research_manager.py:1383
↓ 1 callers
Function
handle_research_mode
Handles research mode operations
Web-LLM.py:176
↓ 1 callers
Function
initialize_system
Initialize system with proper error checking
Web-LLM.py:128
↓ 1 callers
Method
is_active
Check if research is currently active
research_manager.py:1121
↓ 1 callers
Function
main
()
Web-LLM.py:233
↓ 1 callers
Method
parse_analysis
Main parsing method with improved validation
strategic_analysis_parser.py:63
↓ 1 callers
Method
parse_evaluation_response
(self, response: str)
Self_Improving_Search.py:172
↓ 1 callers
Method
parse_page_selection_response
(self, response: str)
Self_Improving_Search.py:343
↓ 1 callers
Method
pause_and_assess
Pause the research and assess if the collected content is sufficient.
research_manager.py:1020
↓ 1 callers
Method
print_searching
(self)
Self_Improving_Search.py:67
↓ 1 callers
Method
print_thinking
Display thinking indicator to user
research_manager.py:642
↓ 1 callers
Method
print_thinking
(self)
Self_Improving_Search.py:64
↓ 1 callers
Method
respect_rate_limit
(self, url)
web_scraper.py:36
↓ 1 callers
Function
scrape_multiple_pages
(urls, max_workers=5)
web_scraper.py:101
↓ 1 callers
Method
start_conversation_mode
Start interactive conversation mode with CTRL+D input handling and thinking indicator
research_manager.py:1246
↓ 1 callers
Method
strategic_analysis
Generate and process research areas with retries until success
research_manager.py:87
↓ 1 callers
Method
synthesize_final_answer
(self, user_query: str)
Self_Improving_Search.py:441
↓ 1 callers
Method
update_status
Update the status line above input area
research_manager.py:468
↓ 1 callers
Method
validate_page_selection_response
(self, parsed_response: Dict[str, Union[List[int], str]], num_results: int)
Self_Improving_Search.py:353
↓ 1 callers
Method
validate_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