🔍 Code Extractor

Search Components

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

Search Results for "graphics"

Found 24 matching component(s)

  • function create_signature_image

    Generates a synthetic signature image for a given name, either as stylized text or as a random hand-drawn curve, and saves it as a PNG file with transparent background.

    File: /tf/active/vicechatdev/document_auditor/generate_sample_signatures.py

    image-generation signature PIL graphics document-generation
  • class SignatureGenerator

    A class that generates signature-like images from text names using italic fonts and decorative flourishes.

    File: /tf/active/vicechatdev/document_auditor/src/utils/signature_generator.py

    image-generation signature PIL graphics text-rendering
  • class LLMHandler

    Handles OpenAI LLM interactions with optimized prompts for analyzing handwritten and drawn content, providing comprehensive responses with optional hybrid graphics integration.

    File: /tf/active/vicechatdev/e-ink-llm/llm_handler.py

    openai llm gpt-4 image-analysis handwriting-recognition
  • function create_instruction_diagram

    Generates a sample instructional diagram image showing step-by-step coffee making instructions with text, lines, shapes, and an arrow pointing to a coffee maker illustration.

    File: /tf/active/vicechatdev/e-ink-llm/demo.py

    image-generation PIL Pillow diagram instructions
  • class HybridSessionDocTemplate

    A custom ReportLab document template class that extends BaseDocTemplate to create PDF documents with session information footers, specifically designed for hybrid text and graphics responses.

    File: /tf/active/vicechatdev/e-ink-llm/hybrid_pdf_generator.py

    pdf-generation reportlab document-template session-tracking footer
  • class HybridPDFGenerator

    A class that generates hybrid PDF documents combining formatted text content with embedded graphics, optimized for e-ink displays.

    File: /tf/active/vicechatdev/e-ink-llm/hybrid_pdf_generator.py

    pdf-generation document-creation reportlab hybrid-content graphics-embedding
  • class GraphicPlaceholder

    A dataclass that represents a placeholder for graphics (charts, diagrams, etc.) embedded within text responses, storing metadata about the graphic's type, description, parameters, and position.

    File: /tf/active/vicechatdev/e-ink-llm/hybrid_response_handler.py

    dataclass placeholder graphics document-generation data-container
  • class HybridResponse

    A dataclass that encapsulates a complete hybrid response containing both text content and graphical elements with their placeholders and metadata.

    File: /tf/active/vicechatdev/e-ink-llm/hybrid_response_handler.py

    dataclass hybrid-content graphics text-and-graphics document-generation
  • class HybridResponseHandler

    Orchestrates the complete workflow for generating hybrid PDF documents that combine LLM text responses with dynamically generated graphics (charts, diagrams, illustrations).

    File: /tf/active/vicechatdev/e-ink-llm/hybrid_response_handler.py

    pdf-generation hybrid-content graphics-generation async document-assembly
  • class HybridPromptEnhancer

    A utility class that enhances LLM prompts by adding instructions and formatting guidelines to encourage hybrid text+graphics responses with embedded graphic placeholders.

    File: /tf/active/vicechatdev/e-ink-llm/hybrid_response_handler.py

    prompt-engineering llm graphics hybrid-output text-enhancement
  • function main_v68

    Async entry point for an E-Ink LLM Assistant that processes handwritten/drawn content using AI vision models, supporting local files, reMarkable Cloud, and OneDrive integration.

    File: /tf/active/vicechatdev/e-ink-llm/main.py

    async cli entry-point file-processing ai-vision
  • class EInkLLMProcessor

    Main processor class that handles the complete workflow

    File: /tf/active/vicechatdev/e-ink-llm/processor.py

    class einkllmprocessor
  • function demo_graphics_generation

    Demonstrates the generation of three types of graphics (bar chart, process diagram, and mathematical illustration) using the GraphicsGenerator class with e-ink optimized styling.

    File: /tf/active/vicechatdev/e-ink-llm/demo_hybrid_mode.py

    demo graphics-generation async visualization chart
  • function demo_hybrid_response

    Demonstrates end-to-end hybrid response processing by converting an LLM response containing text and graphics placeholders into a formatted PDF document.

    File: /tf/active/vicechatdev/e-ink-llm/demo_hybrid_mode.py

    demo hybrid-response pdf-generation graphics-processing async
  • function demo_placeholder_parsing

    Demonstrates the parsing of graphics placeholders embedded in text by extracting and displaying placeholder metadata including type, description, ID, and parameters.

    File: /tf/active/vicechatdev/e-ink-llm/demo_hybrid_mode.py

    demo testing placeholder-parsing graphics text-processing
  • function main_v59

    Orchestrates a comprehensive demonstration of E-Ink LLM hybrid mode capabilities, running three sequential demos showcasing graphics generation, placeholder parsing, and complete hybrid response processing.

    File: /tf/active/vicechatdev/e-ink-llm/demo_hybrid_mode.py

    async demo orchestration e-ink hybrid-mode
  • 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

    testing diagnostics import-validation dependency-check setup-verification
  • 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

    testing smoke-test initialization validation unit-test
  • 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

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

    A test orchestration function that runs a suite of validation tests for hybrid mode functionality, checking imports, basic functionality, and placeholder parsing.

    File: /tf/active/vicechatdev/e-ink-llm/test_hybrid_mode.py

    testing validation test-suite hybrid-mode orchestration
  • 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

    enum enumeration graphics types constants
  • 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

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

    A class that generates educational illustrations and technical drawings for mathematical and scientific concepts using matplotlib and programmatic rendering.

    File: /tf/active/vicechatdev/e-ink-llm/graphics_generator.py

    illustration educational graphics matplotlib visualization
  • class GraphicsGenerator

    GraphicsGenerator is a coordinator class that orchestrates the generation of different types of graphics (charts, diagrams, illustrations, and sketches) by delegating to specialized generator classes.

    File: /tf/active/vicechatdev/e-ink-llm/graphics_generator.py

    graphics visualization coordinator async chart-generation

Search Examples