🔍 Code Extractor

Search Components

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

Search Results for "mathematical"

Found 13 matching component(s)

  • class ScriptExecutor

    A sandboxed Python script executor that safely runs user-provided Python code with timeout controls, security restrictions, and isolated execution environments for data analysis tasks.

    File: /tf/active/vicechatdev/vice_ai/script_executor.py

    sandbox script-execution security code-validation data-analysis
  • class ScriptExecutor_v1

    A sandboxed Python script executor that safely runs user-provided Python code with timeout controls, security restrictions, and isolated execution environments for data analysis tasks.

    File: /tf/active/vicechatdev/full_smartstat/script_executor.py

    sandbox security script-execution code-execution timeout
  • function int_to_roman

    Converts an integer between 1 and 3999 to its Roman numeral string representation.

    File: /tf/active/vicechatdev/patches/util.py

    conversion roman-numerals integer string-formatting mathematical
  • class CompactResponseFormatter

    A formatter class that converts verbose LLM responses into compact, symbol-rich text optimized for e-ink displays by using Unicode symbols, mathematical notation, and abbreviated formatting.

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

    formatting text-processing e-ink display-optimization compact-notation
  • 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
  • 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 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 test_compact_formatter

    A test function that demonstrates the CompactResponseFormatter's ability to compress verbose LLM responses by converting a lengthy mathematical explanation into a more compact format.

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

    testing unit-test formatter compression text-processing
  • function demo_improvement_comparison

    A demonstration function that displays a before-and-after comparison of response formatting improvements, showing the evolution from verbose to compact, symbol-rich formatting optimized for e-ink displays.

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

    demonstration comparison formatting e-ink console-output
  • 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

Search Examples