🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "route"

Found 50 matching component(s)

  • 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

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

    Flask route handler that processes uploaded meeting transcripts and optional supporting documents to generate structured meeting minutes using AI, with configurable output styles and validation.

    File: /tf/active/vicechatdev/leexi/app.py

    flask web-api file-upload meeting-minutes ai-generation
  • function regenerate_minutes

    Flask route handler that regenerates meeting minutes from a previous session using modified instructions, model selection, and configuration parameters.

    File: /tf/active/vicechatdev/leexi/app.py

    flask meeting-minutes regeneration ai-generation openai
  • function download_file

    Flask route handler that serves generated report files for download from a designated reports folder.

    File: /tf/active/vicechatdev/leexi/app.py

    flask file-download web-route file-serving error-handling
  • function health_check

    A Flask route handler that provides a health check endpoint returning the application's status and current timestamp.

    File: /tf/active/vicechatdev/leexi/app.py

    health-check monitoring flask endpoint api
  • function test_upload

    Flask route handler that serves a static HTML test page for debugging multiple file upload functionality.

    File: /tf/active/vicechatdev/leexi/app.py

    flask route file-upload testing debugging
  • function login_required

    A Flask decorator that enforces authentication requirements on routes by checking for user session data and redirecting unauthenticated users to the login page.

    File: /tf/active/vicechatdev/docchat/app.py

    authentication decorator flask security session-management
  • function login

    Flask route handler that renders the login page for user authentication, with support for Azure SSO integration and automatic redirection for authenticated users or when authentication is disabled.

    File: /tf/active/vicechatdev/docchat/app.py

    authentication login flask-route session-management azure-sso
  • function azure_callback

    OAuth 2.0 callback endpoint for Azure AD authentication that exchanges authorization codes for access tokens and establishes user sessions.

    File: /tf/active/vicechatdev/docchat/app.py

    oauth authentication azure-ad callback session-management
  • function logout

    Flask route handler that logs out the current user by clearing their session and redirecting them to either the login page or index page based on authentication requirements.

    File: /tf/active/vicechatdev/docchat/app.py

    authentication logout session-management flask-route user-management
  • function index_v1

    Flask route handler that renders the main application page with user session management, authentication checks, and document collection statistics.

    File: /tf/active/vicechatdev/docchat/app.py

    flask web-route session-management authentication main-page
  • function user_guide

    Flask route handler that renders and displays the user guide page for the application.

    File: /tf/active/vicechatdev/docchat/app.py

    flask web-route template-rendering user-guide documentation
  • function api_get_system_config

    Flask API endpoint that retrieves current system configuration settings for admin users only, returning configuration values like system role, expertise, domain context, and supported languages.

    File: /tf/active/vicechatdev/docchat/app.py

    flask api admin configuration system-settings
  • function view_document

    Flask route handler that serves documents for in-browser viewing by accepting a file path as a query parameter, validating security constraints, and returning the file with appropriate MIME types and CORS headers.

    File: /tf/active/vicechatdev/docchat/app.py

    flask file-serving document-viewer security path-validation
  • function health_v1

    Flask route handler that provides a health check endpoint returning the operational status of the application and its core components (RAG engine and document indexer).

    File: /tf/active/vicechatdev/docchat/app.py

    health-check monitoring diagnostics flask rest-api
  • function export_to_word

    Flask route handler that exports a chat conversation to a formatted Microsoft Word (.docx) document with styled headings, timestamps, and references.

    File: /tf/active/vicechatdev/docchat/app.py

    export word-document docx chat-history conversation-export
  • function export_to_pdf_v1

    Flask route handler that exports a chat conversation to a PDF file with formatted messages, roles, and references using the reportlab library.

    File: /tf/active/vicechatdev/docchat/app.py

    pdf-export document-generation chat-export reportlab flask-route
  • function index_v2

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

    File: /tf/active/vicechatdev/docchat/blueprint.py

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

    Flask route handler that renders the user guide page for the document chat application.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    flask route-handler view-function authentication user-guide
  • function chat

    Flask route handler that processes chat requests with RAG (Retrieval-Augmented Generation) capabilities, managing conversation sessions, chat history, and document-based question answering.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    chat rag retrieval-augmented-generation conversational-ai document-qa
  • function upload_document

    Flask route handler that processes file uploads, saves them securely to disk, and indexes the document content for retrieval-augmented generation (RAG) search.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    file-upload document-processing flask-route authentication RAG
  • function index_all_documents

    Flask route handler that initiates background indexing of all documents in the system, creating a task ID for tracking progress and returning immediately while indexing continues asynchronously.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    flask api-endpoint background-task document-indexing async-processing
  • function get_stats

    Flask API endpoint that retrieves and returns statistics about a document collection from a RAG (Retrieval-Augmented Generation) system.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    flask api endpoint statistics rag
  • function clear_session

    Flask route handler that clears the current user's chat session, deletes associated session data from memory and disk, and creates a new empty session.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    flask session-management chat api-endpoint authentication
  • function test_flask_routes

    A test function that validates Flask application routes are properly configured by checking for required endpoints.

    File: /tf/active/vicechatdev/docchat/test_model_selection.py

    testing flask routes validation web-application
  • class OpenAIResponsesLLM

    Adapter class for OpenAI's Responses API, specifically designed for GPT-5 family models with automatic fallback mechanisms to stable models when responses fail.

    File: /tf/active/vicechatdev/docchat/llm_factory.py

    openai llm gpt-5 responses-api adapter
  • function register_docchat

    Registers a DocChat Flask blueprint with a Flask application instance, handling path configuration and error logging.

    File: /tf/active/vicechatdev/docchat/integration.py

    flask blueprint registration web-framework initialization
  • function require_auth_v1

    A Flask decorator that enforces authentication by checking if a user is authenticated before allowing access to a protected route, redirecting to login if not authenticated.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    authentication decorator flask authorization security
  • 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

    flask routing authentication redirect web-application
  • function login_v3

    Flask route handler that displays the login page and redirects authenticated users to the document workspace.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    authentication login flask-route azure-sso web-application
  • function auth_callback

    OAuth callback handler that processes Azure SSO authentication responses, exchanges authorization codes for access tokens, and establishes user sessions.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    oauth authentication azure-sso callback flask-route
  • function logout_v2

    Flask route handler that logs out the current user by clearing their session data and redirecting them to the login page.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    authentication logout session-management flask web-route
  • function document_workspace

    Flask route handler that renders the main document workspace interface for authenticated users.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    flask route-handler web-interface authentication document-workspace
  • function api_list_documents

    Flask API endpoint that retrieves and returns a list of all documents belonging to the authenticated user, including metadata like title, author, section count, and timestamps.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    flask api rest-api documents list
  • function api_update_section

    REST API endpoint that updates an existing section within a document, allowing modification of title, content, type, and level properties with authentication and authorization checks.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    api rest flask document-management section-update
  • function api_get_chat_session

    Flask API endpoint that retrieves a specific chat session by ID, verifying user access permissions before returning the session data.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    flask api rest-endpoint chat-session authentication
  • function api_replace_section_content

    API endpoint that replaces the content of a specific section within a document, storing the old content for potential undo operations and updating the section's timestamp.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    api rest flask document-management content-replacement
  • 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

    flask routing authentication redirect web-application
  • function login_v2

    Flask route handler that displays the login page and redirects authenticated users to the chat interface.

    File: /tf/active/vicechatdev/vice_ai/app.py

    authentication login flask azure-sso web-route
  • function auth_callback_v2

    Flask route handler that processes OAuth 2.0 callback from Azure AD, exchanges authorization code for access tokens, and establishes user session.

    File: /tf/active/vicechatdev/vice_ai/app.py

    oauth authentication azure-ad callback flask-route
  • function chat_v1

    Flask route handler that renders the main chat interface with available collections and instruction templates, requiring authentication.

    File: /tf/active/vicechatdev/vice_ai/app.py

    flask web-route chat-interface authentication template-rendering
  • function api_get_reference_block

    API endpoint that retrieves a reference block from the most recent chat response by block number and stores it as a reference document in the user's session.

    File: /tf/active/vicechatdev/vice_ai/app.py

    api flask rest-endpoint chat reference-block
  • function health

    Flask route handler that provides a health check endpoint returning the application's operational status, chat engine availability, and current timestamp.

    File: /tf/active/vicechatdev/vice_ai/app.py

    health-check monitoring flask api-endpoint diagnostics
  • function not_found

    Flask error handler function that renders a custom error page when a 404 (Page Not Found) error occurs.

    File: /tf/active/vicechatdev/vice_ai/app.py

    flask error-handler 404 http-error web-framework
  • function require_auth

    A decorator function that enforces authentication requirements on Flask route handlers by checking if a user is authenticated before allowing access to the decorated function.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    decorator authentication authorization flask security
  • function login_v1

    Flask route handler that manages user authentication by redirecting authenticated users to the index page, initiating Azure SSO login for production, or creating a development session for local testing.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    authentication login azure-sso flask-route session-management
  • function logout_v1

    Flask route handler that logs out the current user by clearing their session data and redirecting them to the login page.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    authentication logout session-management flask-route web-security
  • function auth_callback_v1

    OAuth2 callback handler for Azure SSO authentication that processes authorization codes, exchanges them for access tokens, and establishes user sessions.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    authentication oauth2 azure-sso callback session-management
  • function index

    Flask route handler that serves as the main landing page for authenticated users, displaying their documents and text sections in a workspace interface.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask route-handler authentication web-application index-page
  • function workspace

    Flask route handler that renders the main workspace interface template for authenticated users.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask route view-function web-interface authentication

Search Examples