🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function create_audit_entry

    Creates an audit trail entry for document actions, logging user activity, document changes, and lifecycle events with fallback mechanisms.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 2323-2387

    audit logging document-management compliance tracking
  • 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 | Lines: 1640-1775

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

    Generates an online editing URL for a document stored in FileCloud, allowing users to edit documents that are in editable states.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1547-1634

    document-management filecloud url-generation permission-control version-control
  • function get_document_download_url

    Retrieves a download URL for a controlled document, automatically selecting between editable (Word) and PDF formats based on document status or explicit request.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1176-1275

    document-management file-download url-generation version-control filecloud
  • function get_document_audit_trail

    Retrieves the complete audit trail for a controlled document from a Neo4j graph database, including timestamps, user actions, and event details.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 1115-1172

    audit document-management neo4j graph-database compliance
  • 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 | Lines: 895-1103

    document-management publishing pdf-conversion audit-trail controlled-documents
  • 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 | Lines: 407-466

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

    Searches for documents in a Neo4j graph database based on multiple optional filter criteria including text query, document type, department, status, and owner.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 308-402

    search documents neo4j cypher database-query
  • 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 | Lines: 244-303

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

    Creates a new controlled document in a document management system with versioning, audit trails, and optional initial content.

    File: /tf/active/vicechatdev/document_controller_backup.py | Lines: 65-241

    document-management controlled-documents document-creation versioning audit-trail
  • class FixedProjectVictoriaGenerator

    Fixed Project Victoria Disclosure Generator that properly handles all warranty sections.

    File: /tf/active/vicechatdev/fixed_project_victoria_generator.py | Lines: 219-1622

    class fixedprojectvictoriagenerator
  • class ReferenceManager

    Manages document references for inline citation and bibliography generation in a RAG (Retrieval-Augmented Generation) system.

    File: /tf/active/vicechatdev/fixed_project_victoria_generator.py | Lines: 49-217

    citation bibliography reference-management document-tracking RAG
  • class OneCo_hybrid_RAG

    A class named OneCo_hybrid_RAG

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py | Lines: 790-1760

    class oneco_hybrid_rag
  • class SimpleDataHandle

    A data handler class that manages multiple data sources with different types (dataframes, vector stores, databases) and their associated processing configurations.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py | Lines: 718-787

    data-management registry vector-store RAG dataframe
  • class SimpleChatMemory

    A simple chat memory manager that stores and retrieves conversation history between users and assistants with configurable history limits.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py | Lines: 685-716

    chat memory conversation history chatbot
  • function format_inline_references

    Formats inline citation references (e.g., [1], [2]) in a Word document paragraph by applying italic styling to them while preserving the rest of the text.

    File: /tf/active/vicechatdev/enhanced_word_converter_fixed.py | Lines: 480-502

    document-formatting word-processing python-docx text-formatting citations
  • function create_enhanced_word_document_v1

    Converts markdown content into a formatted Microsoft Word document with proper styling, table of contents, warranty sections, and reference handling for Project Victoria warranty disclosures.

    File: /tf/active/vicechatdev/enhanced_word_converter_fixed.py | Lines: 90-478

    document-generation word-processing markdown-conversion docx formatting
  • function extract_total_references

    Extracts the total count of references from markdown-formatted content by first checking for a header line with the total, then falling back to manually counting reference entries.

    File: /tf/active/vicechatdev/enhanced_word_converter_fixed.py | Lines: 73-88

    markdown parsing text-processing references bibliography
  • function extract_warranty_sections

    Parses markdown content to extract warranty section headers, returning a list of dictionaries containing section IDs and titles for table of contents generation.

    File: /tf/active/vicechatdev/enhanced_word_converter_fixed.py | Lines: 51-71

    markdown-parsing text-processing warranty-documents table-of-contents document-structure
  • function clean_text_for_xml_v1

    Sanitizes text strings to ensure XML 1.0 compatibility by removing or replacing invalid control characters and ensuring all characters meet XML specification requirements for Word document generation.

    File: /tf/active/vicechatdev/enhanced_word_converter_fixed.py | Lines: 22-49

    text-processing xml sanitization data-cleaning word-documents