🔍 Code Extractor

Search Components

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

Search Results for "instance"

Found 50 matching component(s)

  • function main_v60

    Entry point function that instantiates a FixedProjectVictoriaGenerator and executes its complete pipeline to generate fixed disclosure documents.

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

    entry-point pipeline disclosure-generation orchestration main-function
  • function get_document

    Retrieves comprehensive details of a controlled document by its UID, with optional inclusion of version history, review cycles, and approval cycles.

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

    document-management controlled-documents retrieval version-control review-workflow
  • function delete_document

    Deletes a controlled document from the system with permission checks, status validation, and audit logging.

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

    document-management deletion controlled-documents audit-trail permissions
  • function get_document_versions_from_db_v1

    Retrieves detailed information about a specific document version by its UID, including associated document context and version status.

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

    document-management version-control retrieval controlled-documents metadata
  • function download_document_version

    Downloads a specific version of a controlled document from FileCloud storage, with optional audit trail and watermark inclusion, and logs the download event.

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

    document-management file-download version-control audit-trail watermark
  • function set_current_version

    Sets a specific version of a controlled document as the current/active version, updating the document's currentVersionUID property and logging the change.

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

    document-management version-control controlled-documents audit-trail permissions
  • function publish_document

    Publishes an approved controlled document by converting it to PDF with signatures and audit trail, uploading to FileCloud, and updating the document status to PUBLISHED.

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

    document-management publishing pdf-conversion audit-trail controlled-documents
  • 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 convert_document_to_pdf_v1

    Converts a document version from an editable format (e.g., Word) to PDF without changing the document's status, uploading the result to FileCloud and updating the version record.

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

    document-conversion pdf-generation filecloud controlled-documents document-management
  • function archive_document_v1

    Archives a controlled document by changing its status to ARCHIVED, ensuring a PDF version exists and logging the action with audit trail and notifications.

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

    document-management lifecycle archive controlled-documents audit-trail
  • function update_document

    Updates properties of a controlled document including title, description, status, owner, and metadata, with special handling for status transitions that require format conversions or publishing workflows.

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

    document-management update controlled-document status-transition audit-trail
  • function clone_document_v1

    Clones an existing controlled document to create either a new independent document or a new revision of the same document, optionally including the document's content.

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

    document-management cloning versioning controlled-documents revision-control
  • class DocumentDetail

    Document detail view component

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

    class documentdetail
  • 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
  • function init_connections

    Initializes and returns a Neo4j database session and driver connection using configuration settings.

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

    database neo4j graph-database connection initialization
  • class DocumentDetail_v1

    Document detail view component

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

    class documentdetail
  • function main_v64

    Entry point function that instantiates an ImprovedProjectVictoriaGenerator and executes its complete pipeline to generate disclosure documents.

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

    entry-point main-function disclosure-generation RAG document-generation
  • class OneCo_hybrid_RAG_v2

    A class named OneCo_hybrid_RAG

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

    class oneco_hybrid_rag
  • class ExtensiveSearchManager

    Manages extensive search functionality including full document retrieval, summarization, and enhanced context gathering.

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

    class extensivesearchmanager
  • function test_collection_creation

    A diagnostic test function that verifies Chroma DB functionality by creating a test collection, adding a document, querying it, and cleaning up.

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

    testing debugging chroma-db vector-database health-check
  • class pathobrowser_base_v1

    Base class that contains all static elements of the app Parameters ---------- image : str An Image UID which may be passed on app startup. Immediately redirects to said image Attributes ---------- current_user : Userclass A class containing various information on the user workspace : panel.layout.Column The main container of the app sidebar : panel.layout.Column Container showing items on the side of the app head : panel.layout.Row The header of the app modal : panel.layout.Column The container for the modal window of the app

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

    class pathobrowser_base
  • function test_multiple_files

    A test function that validates the extraction of text content from multiple document files using a DocumentExtractor instance, displaying extraction results and simulating combined content processing.

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

    testing document-extraction file-processing text-extraction multiple-files
  • function check_filecloud_structure

    Diagnostic function that checks the FileCloud server structure and verifies accessibility of various paths including root, SHARED, and configured base paths.

    File: /tf/active/vicechatdev/SPFCsync/check_filecloud_structure.py

    diagnostic filecloud connectivity-check path-verification debugging
  • function test_filecloud_integration

    Integration test function that verifies the SharePoint Graph API client works correctly with FileCloud synchronization service by creating a sync service instance and testing document retrieval.

    File: /tf/active/vicechatdev/SPFCsync/test_graph_client.py

    integration-test sharepoint filecloud sync graph-api
  • function test_filecloud_connection_v1

    Tests the connection to a FileCloud server by attempting to instantiate a FileCloudClient with credentials from configuration.

    File: /tf/active/vicechatdev/SPFCsync/test_connections.py

    testing connection-test filecloud diagnostic health-check
  • function check_configuration

    A comprehensive configuration verification function that checks and displays the status of all DocChat system settings, including API keys, models, ChromaDB connection, directories, and LLM initialization.

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

    configuration verification diagnostics setup validation
  • 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
  • class DocChatRAG

    Main RAG engine with three operating modes: 1. Basic RAG (similarity search) 2. Extensive (full document retrieval with preprocessing) 3. Full Reading (process all documents)

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

    class docchatrag
  • class DocChatEmbeddingFunction

    A custom ChromaDB embedding function that generates OpenAI embeddings with automatic text summarization for documents exceeding token limits.

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

    embeddings chromadb openai text-processing summarization
  • function test_rag_engine

    A test function that validates the RAG engine's ability to correctly instantiate different LLM models (OpenAI, Anthropic, Gemini) based on configuration settings.

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

    testing rag llm model-switching validation
  • 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 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 check_dependencies

    Validates the installation status of all required Python packages for the DocChat application by attempting to import each dependency and logging the results.

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

    dependency-check validation installation package-management flask
  • function configure_docchat

    Configures DocChat module settings by overriding default configuration values from a Flask application instance and optional keyword arguments.

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

    configuration flask setup chromadb openai
  • function get_integration_status

    Retrieves the integration status of the DocChat blueprint within a Flask application, including registration status, configuration details, and dependency checks.

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

    flask blueprint integration status-check diagnostics
  • function integrate_docchat

    One-line integration function that configures and registers the DocChat component into a Flask application, handling dependency checking, configuration, and blueprint registration.

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

    flask integration setup configuration blueprint
  • 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 setup_test_logging

    Configures Python logging with both console and file output for test execution, returning a logger instance for the calling module.

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

    logging testing configuration setup file-output
  • function setup_test_logging_v3

    Configures Python logging with both console and file output for test execution, returning a logger instance for the calling module.

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

    logging testing configuration setup debugging
  • function setup_test_logging_v4

    Configures Python logging with both console and file output for test execution, returning a logger instance for the calling module.

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

    logging testing configuration setup file-output
  • 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 main_v7

    Main entry point function that orchestrates the contract validity analysis workflow by loading configuration, setting up logging, initializing the analyzer, running analysis, and reporting results.

    File: /tf/active/vicechatdev/contract_validity_analyzer/core/analyzer.py

    entry-point orchestration contract-analysis workflow configuration
  • function setup_logging

    Configures and initializes a Python logging system with both console and rotating file handlers, supporting customizable log levels, formats, and file rotation policies.

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

    logging configuration file-handling log-rotation console-output
  • function get_logger_v1

    A wrapper function that retrieves a logger instance from Python's logging module with the specified name.

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

    logging logger wrapper utility debugging
  • class PerformanceLogger_v1

    A context manager class that measures and logs the execution time of code blocks, with support for custom metrics and automatic error handling.

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

    performance logging context-manager timing metrics
  • function log_performance

    A context manager decorator that logs the performance metrics of an operation by wrapping it with a PerformanceLogger instance.

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

    performance logging context-manager monitoring profiling
  • class ProgressLogger

    A progress tracking logger that monitors and reports the progress of long-running operations with timing statistics, error counts, and estimated completion times.

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

    progress-tracking logging monitoring batch-processing performance-metrics
  • class LLMClient_v2

    Client for interacting with LLM providers (OpenAI, Anthropic, Azure, etc.)

    File: /tf/active/vicechatdev/contract_validity_analyzer/utils/llm_client.py

    class llmclient
  • function main_v61

    Command-line interface function that orchestrates the cleaning of ChromaDB collections by removing duplicates and similar documents, with options to skip collections and customize the cleaning process.

    File: /tf/active/vicechatdev/chromadb-cleanup/main.py

    cli command-line chromadb database-cleaning deduplication
  • function load_data_from_chromadb

    Connects to a ChromaDB instance and retrieves all documents from a specified collection, returning them as a list of dictionaries with document IDs, text content, embeddings, and metadata.

    File: /tf/active/vicechatdev/chromadb-cleanup/main.py

    chromadb vector-database data-loading document-retrieval embeddings

Search Examples