🔍 Code Extractor

Component not found
Component not found

Browse Components

Showing 20 of 44 components

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

    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 | Lines: 1624-1628

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

    A test function that validates email template rendering by testing multiple HTML email templates with sample data structures for document review and approval workflows.

    File: /tf/active/vicechatdev/test_comprehensive_templates.py | Lines: 45-113

    testing email-templates validation document-management template-rendering
  • function main_v3

    Main entry point function that reads a markdown file, converts it to an enhanced Word document with preserved heading structure, and saves it with a timestamped filename.

    File: /tf/active/vicechatdev/improved_word_converter.py | Lines: 187-215

    document-conversion markdown-to-word file-processing docx main-entry-point
  • function main_v2

    Converts a markdown file containing warranty disclosure data into multiple tabular formats (CSV, Excel, Word) with timestamped output files.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py | Lines: 373-429

    markdown-conversion data-extraction report-generation csv-export excel-export
  • 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 ReferenceManager_v1

    Manages extraction and formatting of references for LLM chat responses. Handles both file references and BibTeX citations, formatting them according to various academic citation styles.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py | Lines: 75-587

    class referencemanager
  • 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
  • class MyEmbeddingFunction

    A custom embedding function class that generates embeddings for documents using OpenAI's API, with built-in text summarization for long documents and token management.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py | Lines: 589-683

    embeddings openai chromadb vector-database text-summarization
  • function main

    Main orchestration function that reads an improved markdown file and converts it to an enhanced Word document with comprehensive formatting, including table of contents, warranty sections, disclosures, and bibliography.

    File: /tf/active/vicechatdev/enhanced_word_converter_fixed.py | Lines: 504-563

    document-generation word-processing markdown-conversion docx file-processing
  • function main_v1

    Orchestrates the conversion of an improved markdown file containing warranty disclosures into multiple tabular formats (CSV, Excel, Word) with timestamp-based file naming.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 421-480

    file-conversion markdown-processing warranty-data csv-export excel-export
  • 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