mirror of
https://github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama.git
synced 2025-04-23 01:59:10 +00:00
Move internals into /src folder, format src as a package
This commit is contained in:
parent
1f6174ca7f
commit
dbf8114716
13 changed files with 15 additions and 15 deletions
|
@ -9,13 +9,13 @@ from colorama import Fore, Style
|
|||
import logging
|
||||
import sys
|
||||
from io import StringIO
|
||||
from web_scraper import get_web_content, can_fetch
|
||||
from llm_config import get_llm_config
|
||||
from llm_response_parser import UltimateLLMResponseParser
|
||||
from llm_wrapper import LLMWrapper
|
||||
from search_manager import SearchManager
|
||||
from .web_scraper import get_web_content, can_fetch
|
||||
from .llm_config import get_llm_config
|
||||
from .llm_response_parser import UltimateLLMResponseParser
|
||||
from .llm_wrapper import LLMWrapper
|
||||
from .search_manager import SearchManager
|
||||
from urllib.parse import urlparse
|
||||
from system_config import RESEARCH_CONFIG
|
||||
from .system_config import RESEARCH_CONFIG
|
||||
|
||||
# Set up logging
|
||||
log_directory = 'logs'
|
0
src/__init__.py
Normal file
0
src/__init__.py
Normal file
|
@ -4,12 +4,12 @@ from colorama import init, Fore, Style
|
|||
import logging
|
||||
import time
|
||||
from io import StringIO
|
||||
from Self_Improving_Search import EnhancedSelfImprovingSearch
|
||||
from llm_config import get_llm_config
|
||||
from llm_response_parser import UltimateLLMResponseParser
|
||||
from llm_wrapper import LLMWrapper
|
||||
from strategic_analysis_parser import StrategicAnalysisParser
|
||||
from research_manager import ResearchManager
|
||||
from .Self_Improving_Search import EnhancedSelfImprovingSearch
|
||||
from .llm_config import get_llm_config
|
||||
from .llm_response_parser import UltimateLLMResponseParser
|
||||
from .llm_wrapper import LLMWrapper
|
||||
from .strategic_analysis_parser import StrategicAnalysisParser
|
||||
from .research_manager import ResearchManager
|
||||
|
||||
# Initialize colorama
|
||||
if os.name == 'nt': # Windows-specific initialization
|
|
@ -2,7 +2,7 @@ import re
|
|||
from typing import Dict, List, Union, Optional
|
||||
import logging
|
||||
import json
|
||||
from strategic_analysis_parser import StrategicAnalysisParser, AnalysisResult, ResearchFocus
|
||||
from .strategic_analysis_parser import StrategicAnalysisParser, AnalysisResult, ResearchFocus
|
||||
|
||||
# Set up logging
|
||||
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
|
@ -2,7 +2,7 @@ import os
|
|||
from llama_cpp import Llama
|
||||
import requests
|
||||
import json
|
||||
from llm_config import get_llm_config
|
||||
from .llm_config import get_llm_config
|
||||
from openai import OpenAI
|
||||
from anthropic import Anthropic
|
||||
|
|
@ -5,7 +5,7 @@ import logging
|
|||
from typing import Dict, List, Any, Optional
|
||||
from time import sleep
|
||||
|
||||
from system_config import get_search_config
|
||||
from .system_config import get_search_config
|
||||
from search_providers.factory import SearchProviderFactory
|
||||
|
||||
logger = logging.getLogger(__name__)
|
Loading…
Add table
Reference in a new issue