🔍 Code Extractor

Browse Components

Showing 20 of 1716 components

  • 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
  • function create_folder

    Creates a nested folder structure on a FileCloud server by traversing a path and creating missing directories.

    File: /tf/active/vicechatdev/filecloud_wuxi_sync.py | Lines: 12-44

    filecloud api folder-creation directory-management rest-api
  • 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
  • function create_enhanced_word_document

    Converts markdown-formatted warranty disclosure content into a formatted Microsoft Word document with hierarchical headings, styled text, lists, and special formatting for block references.

    File: /tf/active/vicechatdev/improved_word_converter.py | Lines: 20-185

    document-generation markdown-to-word docx warranty-processing legal-documents
  • function create_word_report

    Generates a formatted Microsoft Word document report containing warranty disclosures with a table of contents, metadata, and structured sections for each warranty.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 233-371

    document-generation word-document docx report-generation warranty
  • function create_excel_report

    Creates a multi-sheet Excel report from warranty data, including main report, summary view, complete data, and statistics sheets with auto-formatted columns.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 167-231

    excel reporting data-export pandas openpyxl
  • function create_csv_report

    Creates two CSV reports (summary and detailed) from warranty data, writing warranty information to files with different levels of detail.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 141-165

    csv reporting data-export file-io warranty
  • function extract_warranty_data

    Parses markdown-formatted warranty documentation to extract structured warranty information including IDs, titles, sections, source document counts, warranty text, and disclosure content.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 75-139

    markdown-parsing data-extraction warranty-processing text-processing regex
  • function test_markdown_link_parsing

    A test function that validates markdown link parsing capabilities, specifically testing extraction and URL encoding of complex URLs containing special characters from Quill editor format.

    File: /tf/active/vicechatdev/test_complex_hyperlink.py | Lines: 50-80

    testing markdown url-parsing regex url-encoding
  • function test_complex_url_hyperlink

    A test function that validates the creation of Word documents with complex FileCloud URLs containing special characters, query parameters, and URL fragments as clickable hyperlinks.

    File: /tf/active/vicechatdev/test_complex_hyperlink.py | Lines: 8-48

    testing word-document hyperlink docx url-handling