SYMBOL INDEX (169 symbols across 32 files) FILE: src/BRAIN/RAG.py class RAGPipeline (line 19) | class RAGPipeline: method __init__ (line 20) | def __init__(self): method get_paths (line 27) | def get_paths(self, subject: str): method get_document_format (line 34) | def get_document_format(self, file_path) -> InputFormat: method convert_document_to_markdown (line 45) | def convert_document_to_markdown(self, subject: str) -> bool: method load_or_create_vectorstore (line 85) | def load_or_create_vectorstore(self, subject: str): method get_memory (line 109) | def get_memory(self, session_id: str): method setup_chain (line 122) | def setup_chain(self, subject: str): method ask (line 153) | def ask(self, qa_chain, question: str, session_id: str = "default") ->... method interactive_chat (line 163) | def interactive_chat(self, subject: str): FILE: src/BRAIN/chat_with_ai.py class PersonalChatAI (line 13) | class PersonalChatAI: method __init__ (line 20) | def __init__(self): method get_current_timestamp (line 23) | def get_current_timestamp(self): method load_chat_history (line 26) | def load_chat_history(self): method save_chat_history (line 32) | def save_chat_history(self, history): method ask_ai_importance (line 36) | def ask_ai_importance(self, prompt: str) -> bool: method store_important_chat (line 71) | def store_important_chat(self, prompt: str, response: str, threshold=80): method distance_to_similarity_inverted (line 95) | def distance_to_similarity_inverted(self, distance, scale=1.0): method semantic_search (line 99) | def semantic_search(self, query: str): method message_management (line 124) | def message_management(self, query): method personal_chat_ai (line 145) | def personal_chat_ai(self, first_query: str, max_token: int = 2000): FILE: src/BRAIN/code_gen.py class CodeRefactorAssistant (line 15) | class CodeRefactorAssistant: method __init__ (line 16) | def __init__(self): method provide_file_details (line 20) | def provide_file_details(self, path: str) -> str: method extract_python_code (line 44) | def extract_python_code(self, text): method generate_refactor_prompt (line 52) | def generate_refactor_prompt(self, code: str, error: str, file_descrip... method gem_refactor_code (line 71) | def gem_refactor_code(self, code: str, file_path: str, max_attempts=3): method gem_text_to_code (line 102) | def gem_text_to_code(self, user_prompt: str, file_path: str): method local_refactor_code (line 126) | def local_refactor_code(self, code: str, file_path: str, max_attempts=... method local_text_to_code (line 160) | def local_text_to_code(self, user_prompt: str, file_path: str): function data_analysis (line 189) | def data_analysis(user_prompt: str , file_path:str): FILE: src/BRAIN/gem_func_call.py class GeminiFunctionCaller (line 7) | class GeminiFunctionCaller: method __init__ (line 8) | def __init__(self): method _get_tools_config (line 14) | def _get_tools_config(self) -> types.GenerateContentConfig: method _call_gemini (line 24) | def _call_gemini(self, query: str): method generate_function_calls (line 36) | def generate_function_calls(self, user_query: str) -> list[dict]: FILE: src/BRAIN/local_func_call.py class LocalFunctionCall (line 45) | class LocalFunctionCall: method __init__ (line 46) | def __init__(self): method _load_tools (line 49) | def _load_tools(self, file_path: str) -> Union[dict, list]: method load_tools_message (line 60) | def load_tools_message(self, file_path: str) -> str: method _parse_tool_calls (line 64) | def _parse_tool_calls(self, response: str) -> Union[list, None]: method create_function_call (line 87) | def create_function_call(self, user_query: str) -> Union[list, None]: FILE: src/BRAIN/text_to_info.py class AIResponder (line 4) | class AIResponder: method __init__ (line 5) | def __init__(self, model_name=None): method ai_response (line 9) | def ai_response(self, prompt: str, max_token: int = 2000) -> str: function send_to_ai (line 30) | def send_to_ai(prompt): FILE: src/CONVERSATION/speech_to_text.py function recognize_speech (line 4) | def recognize_speech(): FILE: src/CONVERSATION/t_s.py function recognize_speech (line 7) | def recognize_speech(): function listen_in_background (line 45) | def listen_in_background(): FILE: src/CONVERSATION/test_speech.py function recognize_speech (line 3) | def recognize_speech(): FILE: src/CONVERSATION/text_speech.py function text_to_speech_local (line 10) | def text_to_speech_local(text, lang="en"): FILE: src/CONVERSATION/text_to_speech.py function speak (line 4) | def speak(text:str) -> None: FILE: src/CONVERSATION/voice_text.py function voice_to_text (line 4) | def voice_to_text(temp_audio): FILE: src/FUNCTION/Tools/Email_send.py class EmailSender (line 8) | class EmailSender: method __init__ (line 9) | def __init__(self): method initate_email (line 17) | def initate_email(self, subject: str, email_content: str) -> bool: method email_content (line 46) | def email_content(self) -> dict: function send_email (line 86) | def send_email(): FILE: src/FUNCTION/Tools/app_op.py class AppRunner (line 4) | class AppRunner: method __init__ (line 5) | def __init__(self, name: str): method start_app (line 10) | def start_app(self) -> bool: method run (line 23) | def run(self) -> str: function app_runner (line 30) | def app_runner(name:str) -> str: FILE: src/FUNCTION/Tools/code_exec.py class CodeExecutor (line 7) | class CodeExecutor: method __init__ (line 8) | def __init__(self, required_libraries=None): method get_pip_command (line 13) | def get_pip_command(self): method check_and_install_libraries (line 20) | def check_and_install_libraries(self): method execute_code (line 42) | def execute_code(self, code): FILE: src/FUNCTION/Tools/get_env.py class EnvManager (line 17) | class EnvManager: method load_variable (line 21) | def load_variable(variable_name: str) -> Union[str, None]: method check_os (line 31) | def check_os() -> str: class AppManager (line 44) | class AppManager: method is_app_installed (line 48) | def is_app_installed(path: str) -> bool: method get_url (line 59) | def get_url(website_name: str) -> str: method get_app_path (line 81) | def get_app_path(app_name, app_data): method load_app (line 106) | def load_app(app_name: str) -> str: method update_app_list (line 118) | def update_app_list(): method get_installed_apps_windows (line 139) | def get_installed_apps_windows(): method get_installed_apps_mac (line 166) | def get_installed_apps_mac(): method get_installed_apps_linux (line 184) | def get_installed_apps_linux(): FILE: src/FUNCTION/Tools/greet_time.py class TimeOfDay (line 3) | class TimeOfDay: method __init__ (line 4) | def __init__(self): method time_of_day (line 7) | def time_of_day(self) -> str: FILE: src/FUNCTION/Tools/incog.py class PrivateModeOpener (line 6) | class PrivateModeOpener: method __init__ (line 7) | def __init__(self, topic: str): method open_chrome_incognito (line 12) | def open_chrome_incognito(self) -> None: method open_firefox_private (line 25) | def open_firefox_private(self) -> None: method open_edge_private (line 39) | def open_edge_private(self) -> None: method linux_firefox (line 47) | def linux_firefox(self) -> None: method incog_mode_mac (line 51) | def incog_mode_mac(self) -> None: method open_in_private_mode (line 67) | def open_in_private_mode(self) -> None: function private_mode (line 91) | def private_mode(topic:str) -> bool: FILE: src/FUNCTION/Tools/internet_search.py class DuckGoSearch (line 4) | class DuckGoSearch: method __init__ (line 5) | def __init__(self, query: str): method search_query (line 8) | def search_query(self) -> str: method generate_answer (line 16) | def generate_answer(self, search_results: str) -> str: method execute_search (line 30) | def execute_search(self) -> str: function duckgo_search (line 37) | def duckgo_search(query:str) -> str: FILE: src/FUNCTION/Tools/link_op.py function search_youtube (line 3) | def search_youtube(topic:str) -> None: FILE: src/FUNCTION/Tools/news.py class NewsHeadlines (line 5) | class NewsHeadlines: method __init__ (line 6) | def __init__(self, top: int = 10, country: str = "india"): method fetch_headlines (line 11) | def fetch_headlines(self) -> Union[list[str], None]: function news_headlines (line 35) | def news_headlines(top=5): FILE: src/FUNCTION/Tools/phone_call.py class ADBConnect (line 5) | class ADBConnect: method __init__ (line 6) | def __init__(self): method adb_connect (line 10) | def adb_connect(self): class PhoneCall (line 30) | class PhoneCall: method __init__ (line 31) | def __init__(self, adb_connect_instance: ADBConnect): method start_a_call (line 34) | def start_a_call(self, name: str) -> str: function make_a_call (line 57) | def make_a_call(name:str) -> str: FILE: src/FUNCTION/Tools/random_respon.py class RandomChoice (line 3) | class RandomChoice: method random_choice (line 5) | def random_choice(data:list) -> str: FILE: src/FUNCTION/Tools/searxsearch.py class searxSearch (line 12) | class searxSearch(Tools): method __init__ (line 13) | def __init__(self, base_url: str = None): method link_valid (line 27) | def link_valid(self, link): method check_all_links (line 51) | def check_all_links(self, links): method execute (line 60) | def execute(self, blocks: list, safety: bool = False) -> str: method execution_failure_check (line 100) | def execution_failure_check(self, output: str) -> bool: method interpreter_feedback (line 106) | def interpreter_feedback(self, output: str) -> str: FILE: src/FUNCTION/Tools/weather.py class WeatherService (line 6) | class WeatherService: method __init__ (line 7) | def __init__(self, city: str): method get_lat_lng (line 13) | def get_lat_lng(self, name: str) -> tuple: method weather_data (line 22) | def weather_data(self) -> str: function weather_report (line 51) | def weather_report(city) -> str: FILE: src/FUNCTION/Tools/youtube_downloader.py class YouTubeDownloader (line 7) | class YouTubeDownloader: method __init__ (line 8) | def __init__(self, url: str): method extract_id (line 14) | def extract_id(self) -> str: method download_video (line 23) | def download_video(self) -> str: function yt_downloader (line 53) | def yt_downloader(url:str) -> str: FILE: src/FUNCTION/run_function.py class FunctionExecutor (line 14) | class FunctionExecutor: method __init__ (line 15) | def __init__(self): method execute (line 29) | def execute(self, function_call: dict) -> Union[None, dict, list]: FILE: src/KEYBOARD/key_lst.py function on_press (line 6) | def on_press(key): function on_release (line 16) | def on_release(key): FILE: src/KEYBOARD/key_prs_lst.py function recognize_speech (line 10) | def recognize_speech(): function on_press (line 31) | def on_press(key): function on_release (line 43) | def on_release(key): FILE: src/VISION/gem_eye.py class ImageProcessor (line 14) | class ImageProcessor: method __init__ (line 15) | def __init__(self, image_path="captured_image.png", model_name="gemini... method resize_image (line 23) | def resize_image(self, require_width=None, require_height=None) -> bool: method capture_image_and_save (line 40) | def capture_image_and_save(self) -> str | None: method detect_image (line 59) | def detect_image(self , query:str) -> str | None: method detect_objects (line 75) | def detect_objects(self, prompt="Detect all prominent items in the ima... method extract_segmentation_masks (line 100) | def extract_segmentation_masks(self, prompt=None, output_dir="segmenta... method _parse_json (line 198) | def _parse_json(self, json_output: str): method upload_image_file (line 231) | def upload_image_file(self) -> genai.types.File: method multi_image_prompt (line 235) | def multi_image_prompt(self, images: list, prompt: str): method get_image_from_url (line 249) | def get_image_from_url(self, url: str) -> Image.Image: function main (line 254) | def main(): FILE: src/VISION/local_eye.py class LocalImageProcessor (line 19) | class LocalImageProcessor: method __init__ (line 24) | def __init__(self, image_path="captured_image.png", model_name="llava:... method resize_image (line 50) | def resize_image(self, require_width=None, require_height=None) -> bool: method capture_image_and_save (line 68) | def capture_image_and_save(self) -> str | None: method detect_image (line 88) | def detect_image(self, query: str) -> str | None: method detect_objects (line 112) | def detect_objects(self, prompt="Detect all prominent items in the ima... method extract_segmentation_masks (line 162) | def extract_segmentation_masks(self, prompt=None, output_dir="segmenta... method _parse_json (line 168) | def _parse_json(self, text_output: str) -> list: method upload_image_file (line 188) | def upload_image_file(self): method multi_image_prompt (line 194) | def multi_image_prompt(self, images: list[str], prompt: str) -> str | ... method get_image_from_url (line 225) | def get_image_from_url(self, url: str) -> Image.Image | None: function main_local (line 237) | def main_local(): FILE: ui.py function initialize_session (line 48) | def initialize_session(): function set_greeting (line 70) | def set_greeting(): function load_rag_chain (line 87) | def load_rag_chain(subject): function personal_chat_ai (line 94) | def personal_chat_ai(query, max_token=2000): function data_analysis (line 104) | def data_analysis(user_prompt: str, file_path: str): function chat_with_rag_session (line 110) | def chat_with_rag_session(subject, query): function process_command (line 117) | def process_command(command): function add_message (line 141) | def add_message(role, content):