SYMBOL INDEX (273 symbols across 43 files) FILE: babyagi/__init__.py function get_func_instance (line 16) | def get_func_instance(): function create_app (line 19) | def create_app(dashboard_route='/dashboard'): function register_function (line 48) | def register_function(*args, **kwargs): function load_functions (line 61) | def load_functions(pack_name_or_path): function use_blueprints (line 82) | def use_blueprints(app, dashboard_route='/dashboard'): function __getattr__ (line 112) | def __getattr__(name): FILE: babyagi/api/__init__.py function create_api_blueprint (line 13) | def create_api_blueprint(): FILE: babyagi/dashboard/__init__.py function create_dashboard (line 9) | def create_dashboard(func_instance, dashboard_route): FILE: babyagi/dashboard/static/js/dashboard.js function filterTable (line 8) | function filterTable() { function sortTable (line 36) | function sortTable(key) { function fetchLogs (line 63) | async function fetchLogs(functionName) { function updateLogsAsync (line 80) | function updateLogsAsync(tasks) { function populateDashboard (line 99) | async function populateDashboard(functions) { function formatParams (line 158) | function formatParams(params) { function formatList (line 167) | function formatList(items, className, dashboardRoute) { function fetchFunctionsAndPopulate (line 182) | async function fetchFunctionsAndPopulate() { FILE: babyagi/dashboard/static/js/function_details.js function getApiRoute (line 8) | function getApiRoute(routeName, ...args) { function loadFunctionDetails (line 33) | function loadFunctionDetails() { function loadFunctionLogs (line 54) | function loadFunctionLogs() { function initCodeEditor (line 80) | function initCodeEditor() { function displayFunctionDetails (line 124) | function displayFunctionDetails() { function createExecutionForm (line 176) | function createExecutionForm() { function updateFunction (line 215) | function updateFunction() { function executeFunction (line 241) | function executeFunction() { function toggleVersionHistory (line 333) | function toggleVersionHistory() { function loadFunctionVersions (line 346) | function loadFunctionVersions() { function activateVersion (line 363) | function activateVersion(version) { FILE: babyagi/dashboard/static/js/function_graph.js function showFunctionOverlay (line 151) | function showFunctionOverlay(functionName) { function showTab (line 184) | function showTab(tabName, functionName) { function showCode (line 205) | function showCode(functionName) { function showLogs (line 217) | function showLogs(functionName) { function closeOverlay (line 229) | function closeOverlay() { FILE: babyagi/dashboard/static/js/log_dashboard.js function populateFilters (line 7) | async function populateFilters() { function buildLogTree (line 51) | function buildLogTree(logs) { function renderLogs (line 80) | function renderLogs() { function renderTable (line 86) | function renderTable() { function renderLogRow (line 96) | function renderLogRow(tableBody, log, depth, parentRowId) { function toggleChildRows (line 151) | function toggleChildRows(parentLogId) { function renderGrid (line 172) | function renderGrid() { function renderLogCard (line 182) | function renderLogCard(container, log, depth) { function capitalizeFirstLetter (line 207) | function capitalizeFirstLetter(string) { function sortLogs (line 212) | function sortLogs(key) { function applyFilters (line 250) | function applyFilters() { function resetFilters (line 292) | function resetFilters() { FILE: babyagi/dashboard/static/js/log_graph.js function loadLogs (line 5) | async function loadLogs() { function renderGraph (line 19) | function renderGraph(logs) { FILE: babyagi/functionz/core/execution.py class FunctionExecutor (line 11) | class FunctionExecutor: method __init__ (line 12) | def __init__(self, python_func): method _install_external_dependency (line 15) | def _install_external_dependency(self, package_name: str, imp_name: st... method _resolve_dependencies (line 22) | def _resolve_dependencies(self, function_version: Dict[str, Any], loca... method _create_function_wrapper (line 50) | def _create_function_wrapper(self, func: callable, func_name: str, par... method execute (line 55) | def execute( method _check_key_dependencies (line 152) | def _check_key_dependencies(self, function_version: Dict[str, Any]) ->... method _inject_secret_keys (line 158) | def _inject_secret_keys(self, local_scope: Dict[str, Any]) -> None: method _bind_function_arguments (line 164) | def _bind_function_arguments(self, func: callable, args: tuple, kwargs... method _validate_input_parameters (line 170) | def _validate_input_parameters(self, function_version: Dict[str, Any],... method _add_execution_log (line 176) | def _add_execution_log(self, function_name: str, start_time: datetime,... method _update_execution_log (line 197) | def _update_execution_log(self, log_id: int, output: Any, time_spent: ... method _update_execution_log_params (line 212) | def _update_execution_log_params(self, log_id: int, params: Dict[str, ... method _execute_triggered_functions (line 217) | def _execute_triggered_functions(self, function_name: str, output: Any... method _prepare_trigger_arguments (line 247) | def _prepare_trigger_arguments(self, triggered_function: Dict[str, Any... FILE: babyagi/functionz/core/framework.py class Functionz (line 16) | class Functionz: method __init__ (line 17) | def __init__(self, db_type='local', **db_kwargs): method execute_function (line 23) | def execute_function(self, function_name: str, *args, **kwargs): method __getattr__ (line 26) | def __getattr__(self, name): method get_function (line 32) | def get_function(self, name: str): method get_function_versions (line 35) | def get_function_versions(self, name: str): method get_all_functions (line 38) | def get_all_functions(self) -> List[Dict[str, Any]]: method activate_function_version (line 41) | def activate_function_version(self, name: str, version: int) -> None: method get_function_imports (line 44) | def get_function_imports(self, name: str): method register_function (line 48) | def register_function(self, *args, **kwargs): method update_function (line 51) | def update_function(self, *args, **kwargs): method add_function (line 54) | def add_function(self, *args, **kwargs): method add_key (line 58) | def add_key(self, key_name: str, key_value: str) -> None: method get_all_secret_keys (line 61) | def get_all_secret_keys(self, *args, **kwargs): method get_all_imports (line 65) | def get_all_imports(self, *args, **kwargs): method load_function_pack (line 69) | def load_function_pack(self, pack_name: str): method load_functions_from_file (line 79) | def load_functions_from_file(self, file_path: str): method _load_module_from_path (line 87) | def _load_module_from_path(self, path: str, module_name: str): method add_trigger (line 108) | def add_trigger(self, triggered_function_name, triggering_function_nam... method get_triggers_for_function (line 111) | def get_triggers_for_function(self, function_name: str) -> List[str]: method get_logs (line 116) | def get_logs(self, function_name: Optional[str] = None, method display (line 121) | def display(self): FILE: babyagi/functionz/core/registration.py class FunctionRegistrar (line 12) | class FunctionRegistrar: method __init__ (line 13) | def __init__(self, python_func): method register_function (line 16) | def register_function(self, metadata: Optional[Dict[str, Any]] = None, method parse_function_parameters (line 45) | def parse_function_parameters(self, code: str): method parse_import (line 89) | def parse_import(self, imp): method register_imports (line 102) | def register_imports(self, imports): method process_single_import (line 110) | def process_single_import(self, imp): method process_imports (line 121) | def process_imports(self, imports): method function_has_no_changes (line 138) | def function_has_no_changes(self, name, code, metadata, import_names, ... method add_function (line 161) | def add_function(self, name: str, metadata: Optional[Dict[str, Any]] =... method update_function (line 220) | def update_function(self, name: str, code: Optional[str] = None, impor... FILE: babyagi/functionz/db/base_db.py class BaseDB (line 5) | class BaseDB(ABC): method add_function (line 8) | def add_function(self, name: str, code: str, metadata: Optional[Dict[s... method get_function (line 15) | def get_function(self, name: str) -> Optional[Dict[str, Any]]: method get_all_functions (line 19) | def get_all_functions(self) -> List[Dict[str, Any]]: method update_function (line 23) | def update_function(self, name: str, code: Optional[str] = None, method remove_function (line 31) | def remove_function(self, name: str) -> None: method get_function_versions (line 35) | def get_function_versions(self, name: str) -> List[Dict[str, Any]]: method activate_function_version (line 39) | def activate_function_version(self, name: str, version: int) -> None: method add_import (line 44) | def add_import(self, name: str, source: str, lib: Optional[str] = None... method get_all_imports (line 48) | def get_all_imports(self) -> List[Dict[str, Any]]: method add_log (line 53) | def add_log(self, function_name: str, message: str, timestamp: datetime, method get_logs (line 60) | def get_logs(self, function_name: Optional[str] = None, FILE: babyagi/functionz/db/db_router.py class ImportResult (line 9) | class ImportResult: method __init__ (line 10) | def __init__(self, name: str, source: str): class DBRouter (line 14) | class DBRouter(BaseDB): method __init__ (line 15) | def __init__(self, db_type: str = 'local', **kwargs): method session_scope (line 22) | def session_scope(self): method add_function (line 27) | def add_function(self, name: str, code: str, metadata: Optional[Dict[s... method update_function (line 36) | def update_function(self, name: str, code: Optional[str] = None, method get_function (line 58) | def get_function(self, name: str) -> Optional[Dict[str, Any]]: method get_all_functions (line 78) | def get_all_functions(self) -> List[Dict[str, Any]]: method remove_function (line 98) | def remove_function(self, name: str) -> None: method get_function_versions (line 104) | def get_function_versions(self, name: str) -> List[Dict[str, Any]]: method activate_function_version (line 124) | def activate_function_version(self, name: str, version: int) -> None: method add_import (line 132) | def add_import(self, name: str, source: str, lib: Optional[str] = None... method get_all_imports (line 136) | def get_all_imports(self) -> List[Dict[str, Any]]: method get_function_imports (line 141) | def get_function_imports(self, function_name: str) -> List[Dict[str, A... method add_log (line 153) | def add_log(self, function_name: str, message: str, timestamp: datetime, method update_log (line 174) | def update_log(self, log_id: int, **kwargs) -> None: method update_log_params (line 183) | def update_log_params(self, log_id: int, params: Dict[str, Any]) -> None: method get_logs (line 193) | def get_logs(self, function_name: Optional[str] = None, method get_log_bundle (line 215) | def get_log_bundle(self, log_id: int) -> List[Dict[str, Any]]: method add_secret_key (line 270) | def add_secret_key(self, key_name: str, key_value: str) -> None: method get_secret_key (line 278) | def get_secret_key(self, key_name: str) -> Optional[str]: method get_all_secret_keys (line 283) | def get_all_secret_keys(self) -> Dict[str, str]: method add_trigger (line 289) | def add_trigger(self, triggered_function_name: str, triggering_functio... method get_triggers_for_function (line 293) | def get_triggers_for_function(self, function_name: str) -> List[str]: FILE: babyagi/functionz/db/local_db.py class LocalDB (line 12) | class LocalDB: method __init__ (line 13) | def __init__(self, db_path='sqlite:///funztionz.db'): method session_scope (line 19) | def session_scope(self): method serialize_for_json (line 30) | def serialize_for_json(self, obj): method get_function (line 45) | def get_function(self, session, name): method get_active_version (line 48) | def get_active_version(self, session, function): method get_all_functions (line 53) | def get_all_functions(self, session): method add_or_update_function (line 58) | def add_or_update_function(self, session, name, code, metadata, depend... method add_import (line 103) | def add_import(self, session, name, source, lib=None): method add_log (line 111) | def add_log(self, session, function_name, message, timestamp, params, ... method update_log (line 135) | def update_log(self, session, log_id: int, **kwargs) -> None: method update_log_params (line 151) | def update_log_params(self, session, log_id: int, params) -> None: method get_log (line 161) | def get_log(self, session, log_id: int): method get_child_logs (line 171) | def get_child_logs(self, session, parent_id: int): method get_logs (line 181) | def get_logs(self, session, function_name=None, start_date=None, end_d... method get_log_bundle (line 199) | def get_log_bundle(self, session, log_id): method add_secret_key (line 235) | def add_secret_key(self, session, function_id, key_name, key_value): method add_secret_key (line 248) | def add_secret_key(self, session, key_name, key_value): method get_secret_key (line 253) | def get_secret_key(self, session, key_name): method get_all_secret_keys (line 257) | def get_all_secret_keys(self, session): FILE: babyagi/functionz/db/models.py function get_or_create_key (line 17) | def get_or_create_key(): class Function (line 44) | class Function(Base): class FunctionVersion (line 50) | class FunctionVersion(Base): class Import (line 70) | class Import(Base): class Log (line 79) | class Log(Base): class SecretKey (line 110) | class SecretKey(Base): method value (line 117) | def value(self): method value (line 127) | def value(self, plaintext_value): FILE: babyagi/functionz/packs/default/ai_functions.py function gpt_call (line 10) | def gpt_call(prompt: str) -> str: function description_writer (line 20) | def description_writer(function_code: str) -> str: function ai_description_generator (line 34) | def ai_description_generator(function_name: str) -> None: function generate_missing_descriptions (line 64) | def generate_missing_descriptions() -> None: function embed_input (line 84) | def embed_input(input_text: str, model: str = "text-embedding-ada-002", function embed_function_description (line 116) | def embed_function_description(function: str) -> None: function find_similar_function (line 172) | def find_similar_function(description: str, top_n: int = 3): function generate_missing_embeddings (line 216) | def generate_missing_embeddings() -> None: function choose_function (line 254) | def choose_function(prompt: str) -> str: FILE: babyagi/functionz/packs/default/default_functions.py function execute_function_wrapper (line 8) | def execute_function_wrapper(function_name: str, *args, **kwargs): function add_new_function (line 35) | def add_new_function( function function_added_or_updated (line 63) | def function_added_or_updated(action=None, triggered_function_name=None): function add_key_wrapper (line 79) | def add_key_wrapper(key_name: str, key_value: str): function get_function_versions_wrapper (line 83) | def get_function_versions_wrapper(name: str): function get_function_wrapper (line 87) | def get_function_wrapper(name: str): function get_all_functions_wrapper (line 92) | def get_all_functions_wrapper(): function activate_function_version_wrapper (line 96) | def activate_function_version_wrapper(name: str, version: int): function display_functions_wrapper (line 100) | def display_functions_wrapper(): function get_logs_wrapper (line 107) | def get_logs_wrapper(function_name: str = None, start_date: datetime = N... function add_trigger_wrapper (line 112) | def add_trigger_wrapper(triggered_function_name: str, triggering_functio... function get_all_secret_keys (line 117) | def get_all_secret_keys(): function get_all_imports_wrapper (line 122) | def get_all_imports_wrapper(): FILE: babyagi/functionz/packs/default/function_calling_chat.py function chat_with_functions (line 16) | def chat_with_functions(chat_history, available_function_names) -> str: FILE: babyagi/functionz/packs/default/os.py function get_full_directory_contents_cleaned (line 5) | def get_full_directory_contents_cleaned(): FILE: babyagi/functionz/packs/drafts/choose_or_create_function.py function choose_or_create_function (line 18) | def choose_or_create_function(user_input: str) -> dict: FILE: babyagi/functionz/packs/drafts/code_writing_functions.py function check_existing_functions (line 7) | def check_existing_functions(user_input): function break_down_task (line 77) | def break_down_task(user_input): function decide_imports_and_apis (line 154) | def decide_imports_and_apis(context): function get_functions_that_depend_on (line 224) | def get_functions_that_depend_on(function_name): function generate_function_code (line 237) | def generate_function_code(function, context): function create_function (line 345) | def create_function(function, context): function generate_functions (line 389) | def generate_functions(function_breakdown, context): function run_final_function (line 410) | def run_final_function(function_name, *args, **kwargs): function extract_function_parameters (line 418) | def extract_function_parameters(user_input, function_name): function process_user_input (line 514) | def process_user_input(user_input): FILE: babyagi/functionz/packs/drafts/generate_function.py function fetch_existing_functions (line 12) | def fetch_existing_functions(description: str) -> dict: function analyze_internal_functions (line 44) | def analyze_internal_functions(description: str, existing_functions: str... function fetch_function_codes (line 147) | def fetch_function_codes(function_names, intermediate_steps): function determine_required_external_apis (line 186) | def determine_required_external_apis(description: str, intermediate_step... function handle_api_documentation (line 286) | def handle_api_documentation(api_name: str, description: str, intermedia... function generate_final_function_code (line 519) | def generate_final_function_code(description: str, reusable_function_cod... function add_function_to_database (line 690) | def add_function_to_database(combined_final: dict, intermediate_steps: l... function generate_function_from_description (line 739) | def generate_function_from_description(description: str) -> dict: FILE: babyagi/functionz/packs/drafts/react_agent.py function react_agent (line 11) | def react_agent(input_text) -> str: FILE: babyagi/functionz/packs/drafts/self_build.py function generate_queries (line 11) | def generate_queries(user_description, X=3, max_retries=3): function self_build (line 80) | def self_build(user_description, X=3): FILE: babyagi/functionz/packs/drafts/self_build2.py function generate_and_process_queries (line 24) | def generate_and_process_queries(user_description: str, num_queries: int... FILE: babyagi/functionz/packs/drafts/user_db.py function get_user_db_class (line 9) | def get_user_db_class(): function create_database (line 42) | def create_database(db_name: str, db_type: str = 'sqlite', **kwargs): function list_databases (line 73) | def list_databases(): function delete_database (line 89) | def delete_database(db_name: str, db_type: str = 'sqlite', **kwargs): function create_table (line 109) | def create_table(db_name: str, table_name: str, columns: str): function list_tables (line 159) | def list_tables(db_name: str): function get_table (line 175) | def get_table(db_name: str, table_name: str): function update_table (line 207) | def update_table(db_name: str, table_name: str, new_columns: str): function delete_table (line 269) | def delete_table(db_name: str, table_name: str): function create_record (line 301) | def create_record(db_name: str, table_name: str, data: list): function read_records (line 334) | def read_records(db_name: str, table_name: str, filters: dict = None): function update_record (line 357) | def update_record(db_name: str, table_name: str, record_id: int, data: j... function delete_record (line 397) | def delete_record(db_name: str, table_name: str, record_id: int): function convert_value (line 422) | def convert_value(value, target_type): FILE: babyagi/functionz/packs/plugins/airtable.py function init_airtable (line 9) | def init_airtable(base_id, table_name): function create_record (line 26) | def create_record(base_id, table_name, record_data): function get_record_by_id (line 43) | def get_record_by_id(base_id, table_name, record_id): function update_record (line 60) | def update_record(base_id, table_name, record_id, updated_fields): function delete_record (line 78) | def delete_record(base_id, table_name, record_id): function get_all_records (line 95) | def get_all_records(base_id, table_name, max_records=100, sort_by=None): function batch_upsert_records (line 113) | def batch_upsert_records(base_id, table_name, records, key_fields): function batch_create_records (line 131) | def batch_create_records(base_id, table_name, records): function batch_delete_records (line 148) | def batch_delete_records(base_id, table_name, record_ids): function get_dynamic_records (line 168) | def get_dynamic_records(base_id, table_name, max_records=100, search_que... FILE: babyagi/functionz/packs/plugins/augie.py function generate_augie_params (line 7) | def generate_augie_params(user_input, voice_id="29vD33N1CtxCmqQRPOHJ"): function create_augie (line 44) | def create_augie(params): function get_augie_status (line 68) | def get_augie_status(augie_id): function create_and_wait_for_video (line 95) | def create_and_wait_for_video(user_input, timeout=300, interval=10): FILE: babyagi/functionz/packs/plugins/e2b.py function execute_code_in_sandbox (line 8) | def execute_code_in_sandbox(code: str): function chat_with_llm_and_execute (line 40) | def chat_with_llm_and_execute(user_message: str): function save_chart (line 70) | def save_chart(base64_png: str, filename: str = "chart.png"): function e2b_llm_to_chart (line 93) | def e2b_llm_to_chart(user_message: str): FILE: babyagi/functionz/packs/plugins/firecrawl.py function crawl_website (line 7) | def crawl_website(url: str, limit: int = 100, formats: list = ["markdown... function check_crawl_status (line 32) | def check_crawl_status(crawl_id: str): function scrape_website (line 53) | def scrape_website(url: str, formats: list = ["markdown", "html"]): FILE: babyagi/functionz/packs/plugins/harmonic.py function harmonic_enrich_company (line 9) | def harmonic_enrich_company(identifier): function harmonic_search_companies (line 38) | def harmonic_search_companies(keywords, include_ids_only=False): function harmonic_enrich_person_by_id (line 58) | def harmonic_enrich_person_by_id(person_id): FILE: babyagi/functionz/packs/plugins/payman.py function store_payman_api_keys (line 8) | def store_payman_api_keys(): function create_task (line 21) | def create_task(title: str, description: str, payout: int, currency: str... function get_task_by_id (line 56) | def get_task_by_id(task_id: str, real_money: bool = False): function get_all_tasks (line 82) | def get_all_tasks(page: int = 0, limit: int = 20, real_money: bool = Fal... function get_task_submissions (line 111) | def get_task_submissions(task_id: str, statuses: list = None, page: int ... function approve_task_submission (line 145) | def approve_task_submission(submission_id: str, real_money: bool = False): function reject_task_submission (line 171) | def reject_task_submission(submission_id: str, rejection_reason: str, re... FILE: babyagi/functionz/packs/plugins/serpapi.py function serpapi_search_v2 (line 8) | def serpapi_search_v2(query: str, engine: str = "google", location: str ... FILE: babyagi/functionz/packs/plugins/voilanorbert.py function search_contact_by_name_domain (line 6) | def search_contact_by_name_domain(name, domain): function search_contact_by_domain (line 61) | def search_contact_by_domain(domain): FILE: babyagi/functionz/packs/plugins/wokelo.py function get_auth_token (line 6) | def get_auth_token(): function create_industry_snapshot (line 36) | def create_industry_snapshot(access_token: str, industry_name: str): function check_report_status (line 56) | def check_report_status(access_token: str, report_id: str): function download_report (line 75) | def download_report(access_token: str, report_id: str, file_type: str = ... function generate_industry_report (line 95) | def generate_industry_report(industry_name: str, file_type: str = 'pdf'): FILE: examples/custom_flask_example.py function integrated_function (line 13) | def integrated_function(): function home (line 19) | def home(): FILE: examples/custom_route_example.py function another_custom_function (line 8) | def another_custom_function(): function home (line 12) | def home(): FILE: examples/quickstart_example.py function home (line 14) | def home(): FILE: examples/self_build_example.py function home (line 15) | def home(): FILE: examples/simple_example.py function world (line 10) | def world(): function hello_world (line 14) | def hello_world(): function home (line 21) | def home(): FILE: examples/trigger_example.py function function_a (line 4) | def function_a(): function function_b (line 9) | def function_b(input_data): function home (line 16) | def home(): FILE: main.py function home (line 12) | def home(): FILE: setup.py function parse_requirements (line 9) | def parse_requirements(filename):