🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function get_database_tables_columns

    Flask route handler that retrieves database schema information including tables, columns, and relationships, filtered and sorted by relevance for data analysis workflows.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 795-890

    flask database schema metadata api-endpoint
  • function cancel_enhanced_workflow

    Flask route handler that cancels an in-progress enhanced workflow by workflow ID, returning a JSON response indicating success or failure.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 776-792

    flask rest-api workflow-management cancellation http-post
  • function enhanced_workflow_progress

    Flask route handler that retrieves and returns the current progress status of an enhanced SQL workflow, including step completion, progress percentage, and final results if completed.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 698-773

    flask api-endpoint progress-tracking workflow status-monitoring
  • function enhanced_sql_workflow

    Flask route handler that initiates an enhanced SQL workflow with iterative optimization, executing data extraction and analysis in a background thread while providing real-time progress tracking.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 624-695

    flask api-endpoint sql-workflow async-processing background-thread
  • function get_database_schema

    Flask route handler that retrieves and returns comprehensive database schema information, including tables, columns, relationships, and statistics.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 558-621

    flask api-endpoint database schema metadata
  • function get_field_suggestions

    Flask route handler that processes POST requests to generate field suggestions based on a user's natural language request by leveraging an enhanced SQL workflow system.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 518-555

    flask api-endpoint field-suggestions natural-language-processing database-schema
  • function execute_enhanced_workflow_background

    Executes an enhanced SQL workflow in a background thread, retrieving data from a database, processing it through an AI-powered workflow, and automatically triggering statistical analysis on the results.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 342-515

    background-processing threading sql-workflow data-retrieval ai-powered
  • function ensure_analysis_results_consistency

    Validates and ensures that analysis results for a given session are properly stored in the database and accessible, performing consistency checks on generated files.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 313-340

    validation consistency-check session-management data-integrity analysis-verification
  • function _continue_to_analysis

    Continues statistical analysis workflow after data retrieval by configuring analysis parameters, executing statistical analysis via StatisticalAnalysisService, and updating workflow progress status.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 232-311

    statistical-analysis workflow-continuation async-processing session-management data-analysis
  • function load_sql_workflow_data

    Flask route handler that processes user natural language queries by leveraging an LLM to generate and execute SQL queries against a database, returning the results for a specific session.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 193-230

    flask api-endpoint sql-workflow llm-integration natural-language-query
  • function upload_data

    Flask route handler that accepts file uploads via POST request, validates the file, saves it with a timestamp, and loads the data into an analysis session.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 142-190

    flask file-upload data-ingestion api-endpoint validation
  • function create_new_session

    Flask route handler that creates a new analysis session with an optional title and description, returning a unique session ID.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 119-139

    flask rest-api session-management analysis post-endpoint
  • function database_schema

    Flask route handler that renders the database schema viewer page template.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 114-116

    flask web-route database schema-viewer template-rendering
  • function index_v5

    Flask route handler that renders and serves the main application interface page.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 109-111

    flask web-route view-function http-handler template-rendering
  • function index_v6

    Flask route handler that renders the main landing page containing a form for the meeting minutes application.

    File: /tf/active/vicechatdev/leexi/app.py | Lines: 131-133

    flask web route-handler view-function template-rendering
  • function index_v4

    Flask route handler for the root URL ('/') that redirects authenticated users to the document workspace and unauthenticated users to the login page.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py | Lines: 634-638

    flask routing authentication redirect web-application
  • function index_v3

    Flask route handler that serves as the application's main entry point, redirecting users to either the chat page if authenticated or the login page if not.

    File: /tf/active/vicechatdev/vice_ai/app.py | Lines: 644-648

    flask routing authentication redirect web-application
  • function index_v2

    Flask route handler that renders the main DocChat interface with document collection statistics.

    File: /tf/active/vicechatdev/docchat/blueprint.py | Lines: 86-92

    flask route-handler web-interface authentication rag
  • function allowed_file_v1

    Validates whether a given filename has an allowed file extension by checking if the extension exists in a configured whitelist.

    File: /tf/active/vicechatdev/full_smartstat/app.py | Lines: 103-106

    file-validation security file-upload extension-check whitelist
  • class ScriptExecutor_v1

    A sandboxed Python script executor that safely runs user-provided Python code with timeout controls, security restrictions, and isolated execution environments for data analysis tasks.

    File: /tf/active/vicechatdev/full_smartstat/script_executor.py | Lines: 38-464

    sandbox security script-execution code-execution timeout