🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • class DiagramGenerator

    A class that generates various types of diagrams including flowcharts, process flows, and network diagrams using matplotlib and networkx, returning base64-encoded PNG images.

    File: /tf/active/vicechatdev/e-ink-llm/graphics_generator.py | Lines: 228-373

    diagram-generation visualization flowchart network-diagram matplotlib
  • class ChartGenerator

    A class that generates various types of charts (bar, line, pie, scatter) optimized for e-ink displays with high contrast and clear visibility.

    File: /tf/active/vicechatdev/e-ink-llm/graphics_generator.py | Lines: 84-226

    chart-generation visualization e-ink matplotlib bar-chart
  • class EInkStyler

    A utility class providing styling configurations and color palettes optimized for e-ink displays with high contrast and minimal grayscale variations.

    File: /tf/active/vicechatdev/e-ink-llm/graphics_generator.py | Lines: 45-82

    e-ink styling visualization matplotlib color-palette
  • class GraphicSpec

    A dataclass that defines the specification for a graphic to be generated, including its type, description, parameters, style preferences, and optional image data.

    File: /tf/active/vicechatdev/e-ink-llm/graphics_generator.py | Lines: 34-43

    dataclass specification graphics data-container image-generation
  • class GraphicType

    An enumeration class that defines the types of graphics that can be generated in the system.

    File: /tf/active/vicechatdev/e-ink-llm/graphics_generator.py | Lines: 26-31

    enum enumeration graphics types constants
  • function test_placeholder_parsing

    A unit test function that validates the placeholder parsing functionality of the HybridResponseHandler class by testing its ability to extract and parse graphic placeholders from formatted text.

    File: /tf/active/vicechatdev/e-ink-llm/test_hybrid_mode.py | Lines: 87-117

    testing unit-test placeholder-parsing text-processing graphics
  • function test_basic_functionality

    A test function that validates the initialization of three core components (GraphicsGenerator, HybridResponseHandler, and HybridPDFGenerator) without making actual API calls.

    File: /tf/active/vicechatdev/e-ink-llm/test_hybrid_mode.py | Lines: 54-85

    testing smoke-test initialization validation unit-test
  • function test_basic_functionality_v1

    A test function that validates the basic functionality of an EmailHandler instance without sending actual emails, checking initialization, stats retrieval, and rate limiter operation.

    File: /tf/active/vicechatdev/email-forwarder/test_imports.py | Lines: 77-97

    testing unit-test email-handler validation rate-limiter
  • function test_imports_v1

    A diagnostic function that tests whether all required Python modules and custom components can be successfully imported, providing visual feedback for each import attempt.

    File: /tf/active/vicechatdev/e-ink-llm/test_hybrid_mode.py | Lines: 6-52

    testing diagnostics import-validation dependency-check setup-verification
  • function test_pdf_session_integration

    Integration test function that verifies PDF generation includes session tracking information by creating both response and error PDFs with conversation IDs and exchange numbers.

    File: /tf/active/vicechatdev/e-ink-llm/test_pdf_session.py | Lines: 11-72

    testing integration-test pdf-generation session-management conversation-tracking
  • class ConversationContextManager

    Advanced conversation context manager that analyzes conversation history, extracts topics, builds reference maps, and generates contextual intelligence for multi-turn conversations.

    File: /tf/active/vicechatdev/e-ink-llm/conversation_context.py | Lines: 57-416

    conversation-management context-analysis topic-extraction reference-tracking conversation-intelligence
  • class ConversationContext

    A dataclass that stores comprehensive conversation context including timeline, turns, topics, insights, and references for managing rich conversational state.

    File: /tf/active/vicechatdev/e-ink-llm/conversation_context.py | Lines: 45-55

    conversation context-management dataclass state-management dialogue-system
  • class ConversationReference

    A dataclass that stores a reference to a previous conversation exchange, including metadata about the reference type, content, and relevance.

    File: /tf/active/vicechatdev/e-ink-llm/conversation_context.py | Lines: 35-42

    dataclass conversation reference dialogue-management context-tracking
  • class ConversationTurn

    A dataclass representing a single turn in a conversation, storing metadata about the exchange including input/output summaries, files, topics, and processing metrics.

    File: /tf/active/vicechatdev/e-ink-llm/conversation_context.py | Lines: 20-32

    dataclass conversation turn exchange chat-history
  • function process_multi_page_pdf

    A convenience wrapper function that processes multi-page PDF files and extracts analysis data from each page along with document metadata.

    File: /tf/active/vicechatdev/e-ink-llm/multi_page_processor.py | Lines: 374-386

    pdf-processing document-analysis multi-page file-processing content-extraction
  • class MultiPagePDFProcessor

    A class for processing multi-page PDF documents with context-aware analysis, OCR, and summarization capabilities.

    File: /tf/active/vicechatdev/e-ink-llm/multi_page_processor.py | Lines: 39-372

    pdf-processing document-analysis ocr multi-page context-aware
  • class DocumentSummary

    A dataclass that encapsulates comprehensive analysis results of a document, including page-level and document-level summaries, topics, findings, and confidence metrics.

    File: /tf/active/vicechatdev/e-ink-llm/multi_page_processor.py | Lines: 29-37

    dataclass document-analysis data-structure summary nlp
  • class PageAnalysis

    A dataclass that encapsulates the analysis results for a single PDF page, including its image representation, text content, dimensions, and optional analysis metadata.

    File: /tf/active/vicechatdev/e-ink-llm/multi_page_processor.py | Lines: 18-26

    dataclass pdf-processing page-analysis data-container document-processing
  • function test_session_detection

    A comprehensive test function that validates session detection capabilities from multiple sources including filenames, PDF files, and text patterns.

    File: /tf/active/vicechatdev/e-ink-llm/test_session_detection.py | Lines: 10-83

    testing session-detection pdf-processing pattern-matching validation
  • class SessionManager_v1

    SessionManager is a class that manages conversation sessions and tracking using SQLite database, storing conversations and their exchanges with metadata.

    File: /tf/active/vicechatdev/e-ink-llm/session_manager.py | Lines: 42-255

    session-management conversation-tracking database sqlite state-management