🔍 Code Extractor

Search Components

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

Search Results for "conversation"

Found 50 matching component(s)

  • 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

    chat memory conversation history chatbot
  • function test_attendee_extraction_comprehensive

    A comprehensive test function that validates the attendee extraction logic from meeting transcripts, comparing actual speakers versus mentioned names, and demonstrating integration with meeting minutes generation.

    File: /tf/active/vicechatdev/leexi/test_attendee_comprehensive.py

    testing attendee-extraction meeting-minutes transcript-parsing speaker-identification
  • class EnhancedMeetingMinutesGenerator

    A class named EnhancedMeetingMinutesGenerator

    File: /tf/active/vicechatdev/leexi/enhanced_meeting_minutes_generator.py

    class enhancedmeetingminutesgenerator
  • function conversation_example

    Demonstrates a multi-turn conversational RAG system with chat history management, showing how follow-up questions are automatically optimized based on conversation context.

    File: /tf/active/vicechatdev/docchat/example_usage.py

    RAG conversational-ai chat-history multi-turn-conversation context-management
  • function main_v73

    Orchestrates and executes a series of example demonstrations for the DocChat system, including document indexing, RAG queries, and conversation modes.

    File: /tf/active/vicechatdev/docchat/example_usage.py

    demo examples orchestration RAG document-chat
  • function add_message_to_session

    Adds a message to a chat session with thread-safe locking, storing role, content, timestamp, and optional metadata/references, then persists the session to disk.

    File: /tf/active/vicechatdev/docchat/app.py

    chat session-management thread-safe messaging persistence
  • function clear_session_v1

    Clears all messages from a chat session identified by session_id, resets the session's updated timestamp, and persists the changes to disk in a thread-safe manner.

    File: /tf/active/vicechatdev/docchat/app.py

    session-management chat thread-safe persistence state-management
  • function update_session_settings

    Updates the settings (model, mode, options) for an existing chat session and persists the changes to disk.

    File: /tf/active/vicechatdev/docchat/app.py

    session-management settings persistence thread-safe chat
  • function get_session_history

    Flask API endpoint that retrieves the chat message history for the current user's session.

    File: /tf/active/vicechatdev/docchat/app.py

    flask api rest-endpoint session-management chat-history
  • function process_full_reading_background

    Asynchronous background task processor that executes a full reading mode RAG (Retrieval-Augmented Generation) query, tracks progress, and stores results in session history.

    File: /tf/active/vicechatdev/docchat/app.py

    background-task async-processing rag full-reading-mode chat
  • function api_clear_history

    Flask API endpoint that clears the chat history for the current user session by removing stored conversation data associated with the session ID.

    File: /tf/active/vicechatdev/docchat/app.py

    flask api endpoint chat history
  • function export_to_word

    Flask route handler that exports a chat conversation to a formatted Microsoft Word (.docx) document with styled headings, timestamps, and references.

    File: /tf/active/vicechatdev/docchat/app.py

    export word-document docx chat-history conversation-export
  • function export_to_pdf_v1

    Flask route handler that exports a chat conversation to a PDF file with formatted messages, roles, and references using the reportlab library.

    File: /tf/active/vicechatdev/docchat/app.py

    pdf-export document-generation chat-export reportlab flask-route
  • class DocChatRAG

    Main RAG engine with three operating modes: 1. Basic RAG (similarity search) 2. Extensive (full document retrieval with preprocessing) 3. Full Reading (process all documents)

    File: /tf/active/vicechatdev/docchat/rag_engine.py

    class docchatrag
  • function chat

    Flask route handler that processes chat requests with RAG (Retrieval-Augmented Generation) capabilities, managing conversation sessions, chat history, and document-based question answering.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    chat rag retrieval-augmented-generation conversational-ai document-qa
  • function clear_session

    Flask route handler that clears the current user's chat session, deletes associated session data from memory and disk, and creates a new empty session.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    flask session-management chat api-endpoint authentication
  • function get_history

    Flask API endpoint that retrieves chat message history for the current user's session from an in-memory chat_sessions dictionary.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    flask api-endpoint chat-history session-management authentication
  • function on_load

    Blueprint initialization hook that loads persisted chat sessions from disk when the DocChat blueprint is registered with the Flask application.

    File: /tf/active/vicechatdev/docchat/blueprint.py

    flask blueprint initialization lifecycle-hook session-management
  • class LLMMessage

    A simple dataclass that represents a message for Large Language Model (LLM) interactions, containing only the message content as a string.

    File: /tf/active/vicechatdev/docchat/llm_factory.py

    dataclass message llm data-container language-model
  • class ChatSession

    A class that manages a chat session associated with a specific document section, tracking messages, context documents, references, and timestamps.

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

    chat session-management conversation document-chat message-tracking
  • function create_chat_session

    Creates a new chat session for a specific document section by generating a unique session ID, initializing a ChatSession object, storing it in application state with thread-safe locking, and persisting it to file.

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

    chat session-management thread-safe uuid state-management
  • function get_chat_session

    Retrieves a chat session by its unique session ID, first checking an in-memory cache, then falling back to loading from persistent file storage if not found in memory.

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

    chat session-management caching thread-safe persistence
  • function api_send_chat_message

    Flask API endpoint that handles sending a message in a chat session, processes it through a hybrid RAG engine with configurable search and memory settings, and returns an AI-generated response with references.

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

    flask api chat rag hybrid-rag
  • function api_load_template_v2

    Flask API endpoint that retrieves and returns an instruction template by name from the chat engine.

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

    flask api rest-endpoint template-loading instruction-template
  • function process_chat_request_background

    Process chat request in background thread

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

    function process_chat_request_background
  • function api_chat_v1

    Handle chat API requests with support for long-running tasks

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

    function api_chat
  • function api_clear_memory

    Flask API endpoint that clears the chat memory from the server-side chat engine, removing all stored conversation messages.

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

    flask api endpoint chat memory-management
  • function chat_with_text_section

    Flask API endpoint that enables AI-powered chat conversations about a specific text section, with support for multiple LLM models and document context.

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

    flask api-endpoint chat ai-assistant llm
  • function get_section_chat_history

    Flask API endpoint that retrieves chat history for a specific text section, verifying user ownership before returning messages.

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

    flask api rest-endpoint chat-history authentication
  • function data_section_analysis_chat

    Async Flask route handler that processes chat messages for data section analysis, managing conversation history and integrating with a statistical analysis service.

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

    flask api-endpoint async chat data-analysis
  • class DataAnalysisService

    Service class for managing data analysis operations within document sections, integrating with SmartStat components for statistical analysis, dataset processing, and visualization generation.

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

    data-analysis statistical-analysis session-management dataset-processing visualization
  • class ChatSessionService

    Service class for managing chat sessions, including creation, retrieval, message management, and configuration updates for document section-based conversations.

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

    chat session-management conversation messaging database-service
  • class OneCo_hybrid_RAG_v3

    A class named OneCo_hybrid_RAG

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

    class oneco_hybrid_rag
  • class ChatMessage

    A dataclass representing an individual chat message in a conversation, with support for serialization to and from dictionaries.

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

    chat message dataclass conversation serialization
  • class ChatSession_v1

    A dataclass representing a chat session associated with a specific text section in a document, managing conversation messages, context, and references.

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

    chat session-management conversation dataclass serialization
  • class DataAnalysisSession_v1

    A dataclass representing a statistical analysis session that is linked to specific document sections, managing analysis state, messages, plots, and configuration.

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

    dataclass analysis session-management state-tracking data-analysis
  • class DataAnalysisSession

    A dataclass representing a data analysis session that is linked to a specific text section within a document, managing conversation messages, analysis results, plots, and configuration.

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

    data-analysis session-management dataclass serialization conversation
  • class SessionDocTemplate

    A custom ReportLab document template that extends BaseDocTemplate to add session information (conversation ID and exchange number) in the footer of each page.

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

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

    A class that generates PDF documents optimized for e-ink displays, converting LLM responses and images into formatted, high-contrast PDFs with custom styling.

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

    pdf-generation e-ink document-formatting reportlab image-processing
  • class MultiPageLLMHandler

    Handles LLM processing for multi-page documents with context awareness, automatically selecting optimal analysis strategies based on document size.

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

    llm multi-page document-analysis context-aware async
  • 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 ConversationTimelineGenerator

    A class that generates comprehensive PDF reports documenting conversation timelines, including detailed exchanges, problem-solving analysis, references, and visual summaries.

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

    pdf-generation reporting conversation-analysis timeline documentation
  • 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
  • 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 process_single_file

    Asynchronously processes a single file (likely PDF) through an LLM pipeline, generating a response PDF with optional conversation continuity, multi-page support, and editing workflow capabilities.

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

    async file-processing pdf llm openai
  • 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 test_session_manager

    A comprehensive test function that validates the SessionManager class functionality including conversation creation, exchange tracking, filename generation, and context retrieval.

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

    testing session-management database conversation-tracking unit-test
  • 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

Search Examples