🔍 Code Extractor

Search Components

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

Search Results for "factory"

Found 41 matching component(s)

  • function _get_filecloud_integration_v1

    Factory function that creates and returns a configured FileCloudIntegration instance using credentials from application settings.

    File: /tf/active/vicechatdev/document_controller_backup.py

    factory-pattern integration filecloud configuration dependency-injection
  • function create_document_detail

    Factory function that creates and initializes a DocumentDetail panel component, optionally loading a specific document by its UID.

    File: /tf/active/vicechatdev/document_detail_backup.py

    ui panel document-management factory-function controlled-documents
  • class QueryBasedExtractor

    A class that extracts relevant information from documents using a small LLM (Language Model), designed for Extensive and Full Reading modes in RAG systems.

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

    information-extraction document-processing llm rag query-based
  • function get_llm_instance

    Factory function that creates and returns an appropriate LLM (Large Language Model) instance based on the specified model name, automatically detecting the provider (OpenAI, Azure OpenAI, or Anthropic) and configuring it with the given parameters.

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

    llm factory-pattern openai azure anthropic
  • function setup_azure_sso_v1

    Initializes and configures an Azure SSO (Single Sign-On) instance by loading credentials and settings from a configuration module.

    File: /tf/active/vicechatdev/docchat/auth/azure_auth.py

    azure sso authentication oauth azure-ad
  • function load_config_v1

    Loads configuration settings from a file by instantiating and returning a Config object with the specified configuration file path.

    File: /tf/active/vicechatdev/contract_validity_analyzer/config/config.py

    configuration config-loading file-io settings initialization
  • function create_document_version_v7

    Creates a new ComplexDocument instance with a unique UUID, stores it in application state with thread-safe locking, persists it to file, and logs the creation.

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

    document-management factory-method thread-safe persistence uuid
  • class DatabaseManager_v1

    Database manager for SmartStat following vice_ai patterns

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

    class databasemanager
  • function create_app

    Factory function that creates and configures a Flask application instance for a controlled document management system.

    File: /tf/active/vicechatdev/CDocs/main_flask.py

    flask application-factory web-application initialization configuration
  • function guard_execution

    A decorator factory that prevents rapid repeated execution of a function by enforcing a cooldown period between calls.

    File: /tf/active/vicechatdev/CDocs/__init__.py

    decorator rate-limiting throttling cooldown debounce
  • function register_model

    Registers a model class in a global registry dictionary, enabling dynamic model lookup and management. Can be used as a decorator or called directly.

    File: /tf/active/vicechatdev/CDocs/models/__init__.py

    registry decorator model-registration class-registration plugin-pattern
  • function get_model_class

    Retrieves a model class from a registry by its string name, returning the class type or None if not found.

    File: /tf/active/vicechatdev/CDocs/models/__init__.py

    registry lookup factory-pattern model-management dynamic-loading
  • function get_filecloud_client

    Singleton factory function that returns a globally cached FileCloud API client instance, handling initialization, authentication, and re-authentication as needed.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py

    filecloud api-client singleton authentication connection-management
  • function _get_filecloud_integration

    Factory function that creates and returns a configured FileCloudIntegration instance using credentials from application settings.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py

    factory-pattern integration filecloud configuration dependency-injection
  • function log_controller_action

    A decorator factory that logs controller actions with different log levels based on whether the action is routine or non-routine, and handles exceptions during execution.

    File: /tf/active/vicechatdev/CDocs/controllers/__init__.py

    decorator logging controller error-handling monitoring
  • function validate_input

    A decorator factory that creates a decorator to validate function input arguments against a provided schema. Currently a placeholder implementation that passes through without validation.

    File: /tf/active/vicechatdev/CDocs/controllers/__init__.py

    decorator validation input-validation schema placeholder
  • function cache_result

    A decorator factory that creates a caching decorator for function results with a configurable time-to-live (TTL). Currently a placeholder implementation that passes through function calls without actual caching.

    File: /tf/active/vicechatdev/CDocs/controllers/__init__.py

    decorator caching performance memoization ttl
  • function get_pdf_generator

    Factory function that creates and initializes a PDFGenerator instance with registered fonts and optional custom style initialization, using a non-standard instantiation pattern to bypass __init__.

    File: /tf/active/vicechatdev/CDocs/utils/pdf_utils.py

    pdf-generation factory-function reportlab initialization document-generation
  • function create_training_completion

    Factory function that instantiates and returns a TrainingCompletion object for managing training completion workflows in a document control system.

    File: /tf/active/vicechatdev/CDocs/ui/training_completion.py

    factory-function training document-management controlled-documents training-completion
  • function create_training_management

    Factory function that instantiates and returns a TrainingManagement object with optional parent application and document UID parameters.

    File: /tf/active/vicechatdev/CDocs/ui/training_management.py

    factory-function training-management document-control instantiation wrapper
  • function create_user_tasks_panel

    Factory function that creates and initializes a UserTasksPanel instance, optionally setting the current user from a parent application.

    File: /tf/active/vicechatdev/CDocs/ui/user_tasks_panel.py

    ui panel dashboard user-tasks factory-pattern
  • function create_approval_panel

    Factory function that creates and initializes an ApprovalPanel instance with error handling, supporting both standalone and embedded modes for document approval management.

    File: /tf/active/vicechatdev/CDocs/ui/approval_panel_bis.py

    ui panel approval-management document-control factory-function
  • function create_approval_panel_v2

    Factory function that creates and initializes an ApprovalPanel instance for managing document approvals, with error handling and fallback to a minimal panel on failure.

    File: /tf/active/vicechatdev/CDocs/ui/approval_panel.py

    ui panel approval-management factory-function error-handling
  • function create_training_dashboard

    Factory function that creates and initializes a TrainingDashboard instance with optional user context from a parent application.

    File: /tf/active/vicechatdev/CDocs/ui/training_dashboard.py

    factory-function dashboard training ui-component initialization
  • function create_review_panel

    Factory function that creates and initializes a ReviewPanel instance with error handling, supporting both standalone and embedded modes for document review management.

    File: /tf/active/vicechatdev/CDocs/ui/review_panel.py

    ui panel review-management factory-function error-handling
  • function create_admin_panel

    Factory function that creates and returns a configured AdminPanel instance with optional template, session management, parent application reference, and embedding mode.

    File: /tf/active/vicechatdev/CDocs/ui/admin_panel.py

    factory-pattern admin-panel ui-creation panel dashboard
  • function create_embedded_admin_panel

    Creates and returns an embedded AdminPanel instance configured for integration within other application interfaces without its own template or session manager.

    File: /tf/active/vicechatdev/CDocs/ui/admin_panel.py

    admin panel embedded ui dashboard
  • function get_admin_view

    Retrieves an admin panel view component for a Panel-based application, handling user authentication and error cases gracefully.

    File: /tf/active/vicechatdev/CDocs/ui/admin_panel.py

    admin-panel panel holoviz ui-component authentication
  • function get_manual_relationship_manager

    Returns a singleton instance of the ManualRelationshipManager class, creating it on first access using lazy initialization.

    File: /tf/active/vicechatdev/full_smartstat/manual_relationships.py

    singleton design-pattern global-state lazy-initialization relationship-management
  • class DatabaseManager

    SQLite database manager for SmartStat application that handles persistence of statistical analysis sessions, steps, and results.

    File: /tf/active/vicechatdev/smartstat/models.py

    database sqlite persistence orm statistical-analysis
  • function get_logger

    Factory function that returns a configured logger instance, automatically initializing the logging system if not already set up.

    File: /tf/active/vicechatdev/invoice_extraction/utils/logging_utils.py

    logging logger configuration initialization factory-pattern
  • function log_controller_action_v1

    A decorator factory that wraps controller functions to log their execution and handle exceptions with structured logging.

    File: /tf/active/vicechatdev/CDocs single class/controllers/__init__.py

    decorator logging controller error-handling monitoring
  • function create_workflow_panel

    Factory function that creates and initializes workflow management panels (Review or Approval) with appropriate configuration, error handling, and fallback mechanisms.

    File: /tf/active/vicechatdev/CDocs single class/ui/workflow_panel_base.py

    ui panel workflow factory-pattern review
  • function create_approval_panel_v1

    Factory function that creates and initializes an approval workflow panel UI component for managing document approval cycles.

    File: /tf/active/vicechatdev/CDocs single class/ui/approval_panel.py

    ui panel approval workflow factory
  • function create_review_panel_v1

    Factory function that creates and initializes a review panel UI component for document review workflow management, with error handling and fallback to a minimal panel on failure.

    File: /tf/active/vicechatdev/CDocs single class/ui/review_panel.py

    ui panel review workflow factory
  • function create_admin_panel_v1

    Factory function that creates and initializes an AdminPanel instance with optional session management, parent application integration, and embedded mode support.

    File: /tf/active/vicechatdev/CDocs single class/ui/admin_panel.py

    admin panel ui dashboard authentication
  • function get_client

    Asynchronous singleton factory function that retrieves or initializes a global Client instance with optional device registration prompting.

    File: /tf/active/vicechatdev/rmcl/api.py

    singleton factory async client-management initialization
  • class Item

    Base class representing an item (document or folder) in a reMarkable cloud storage system, providing methods for metadata management, file operations, and synchronization.

    File: /tf/active/vicechatdev/rmcl/items.py

    remarkable cloud-storage document-management async metadata
  • function create_mixed_processor

    Factory function that instantiates and returns a MixedCloudProcessor object configured with OneDrive and reMarkable cloud integration settings.

    File: /tf/active/vicechatdev/e-ink-llm/mixed_cloud_processor.py

    factory-function cloud-integration onedrive remarkable document-processing
  • class GraphicsGenerator

    GraphicsGenerator is a coordinator class that orchestrates the generation of different types of graphics (charts, diagrams, illustrations, and sketches) by delegating to specialized generator classes.

    File: /tf/active/vicechatdev/e-ink-llm/graphics_generator.py

    graphics visualization coordinator async chart-generation
  • class RemarkableNode

    A dataclass representing a node (file or folder) in the reMarkable cloud storage system, containing metadata, hierarchy information, and component hashes for documents.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/discovery.py

    dataclass tree-structure hierarchy remarkable cloud-storage

Search Examples