🔍 Code Extractor

Search Components

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

Search Results for "chat"

Found 50 matching component(s)

  • class RegulatoryExtractor

    A class for extracting structured metadata from regulatory guideline PDF documents using LLM-based analysis and storing the results in an Excel tracking spreadsheet.

    File: /tf/active/vicechatdev/reg_extractor.py

    pdf-extraction regulatory-documents llm-extraction ocr data-extraction
  • class ReferenceManager_v2

    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

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

    A class named OneCo_hybrid_RAG

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py

    class oneco_hybrid_rag
  • class pathobrowser_base

    Base class that contains all static elements of the app Parameters ---------- image : str An Image UID which may be passed on app startup. Immediately redirects to said image Attributes ---------- current_user : Userclass A class containing various information on the user workspace : panel.layout.Column The main container of the app sidebar : panel.layout.Column Container showing items on the side of the app head : panel.layout.Row The header of the app modal : panel.layout.Column The container for the modal window of the app

    File: /tf/active/vicechatdev/datacapture_integrated.py

    class pathobrowser_base
  • class ReferenceManager_v3

    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_old.py

    class referencemanager
  • class OneCo_hybrid_RAG_v1

    A class named OneCo_hybrid_RAG

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG_old.py

    class oneco_hybrid_rag
  • function test_reference_system_completeness

    A diagnostic test function that prints a comprehensive overview of a reference system's architecture, including backend storage, API endpoints, reference types, and content flow verification.

    File: /tf/active/vicechatdev/reference_system_verification.py

    testing documentation diagnostic reference-system api-endpoints
  • class MeetingMinutesGenerator

    A class that generates professional meeting minutes from meeting transcripts using OpenAI's GPT-4o model, with capabilities to parse metadata, extract action items, and format output.

    File: /tf/active/vicechatdev/meeting_minutes_generator.py

    meeting-minutes transcript-processing openai gpt-4o natural-language-processing
  • class MeetingMinutesGenerator_v1

    A class that generates professional meeting minutes from meeting transcripts using either OpenAI's GPT-4o or Google's Gemini AI models.

    File: /tf/active/vicechatdev/advanced_meeting_minutes_generator.py

    meeting-minutes transcript-processing llm gpt-4o gemini
  • class ReferenceManager_v4

    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.py

    class referencemanager
  • class OneCo_hybrid_RAG_v2

    A class named OneCo_hybrid_RAG

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG.py

    class oneco_hybrid_rag
  • class MyEmbeddingFunction_v3

    A custom embedding function class that generates embeddings for text documents using OpenAI's embedding models, with automatic text summarization and token limit handling for large documents.

    File: /tf/active/vicechatdev/offline_docstore_multi.py

    embeddings openai vector-database chromadb text-processing
  • class pathobrowser_base_v1

    Base class that contains all static elements of the app Parameters ---------- image : str An Image UID which may be passed on app startup. Immediately redirects to said image Attributes ---------- current_user : Userclass A class containing various information on the user workspace : panel.layout.Column The main container of the app sidebar : panel.layout.Column Container showing items on the side of the app head : panel.layout.Row The header of the app modal : panel.layout.Column The container for the modal window of the app

    File: /tf/active/vicechatdev/datacapture.py

    class pathobrowser_base
  • function extract_previous_reports_summary

    Extracts and summarizes key information from previous meeting report files using document extraction and OpenAI's GPT-4o-mini model to provide context for upcoming meetings.

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

    meeting-analysis document-extraction text-summarization llm openai
  • class EnhancedMeetingMinutesGenerator

    A class named EnhancedMeetingMinutesGenerator

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

    class enhancedmeetingminutesgenerator
  • function basic_rag_example

    Demonstrates a basic RAG (Retrieval-Augmented Generation) workflow by initializing a DocChatRAG engine, executing a sample query about document topics, and displaying the response with metadata.

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

    rag retrieval-augmented-generation example demo document-chat
  • function extensive_mode_example

    Demonstrates the usage of DocChatRAG's extensive mode for detailed document analysis with a sample query about methodologies.

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

    example demo RAG retrieval-augmented-generation extensive-mode
  • function full_reading_example

    Demonstrates the full reading mode of a RAG (Retrieval-Augmented Generation) system by processing all documents to answer a comprehensive query about key findings.

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

    example demonstration RAG retrieval-augmented-generation full-reading
  • 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_v46

    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 save_session_to_disk

    Persists a chat session to disk by serializing session data to a JSON file, converting datetime objects to ISO format strings.

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

    persistence serialization session-management file-io json
  • function load_all_sessions

    Loads all chat session data from JSON files stored in a sessions directory into memory on application startup.

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

    session-management persistence initialization disk-io thread-safe
  • function get_or_create_session

    Retrieves an existing chat session by ID or creates a new one if it doesn't exist, with thread-safe access and persistent storage support.

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

    session-management chat thread-safe persistence caching
  • 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 process_chat_background

    Processes chat requests asynchronously in a background thread, managing RAG engine interactions, progress updates, and session state for various query modes including basic, extensive, full_reading, and deep_reflection.

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

    background-processing async rag chat document-retrieval
  • function init_engines

    Initializes the RAG (Retrieval-Augmented Generation) engine and document indexer components, loads persisted sessions, and optionally starts background auto-indexing of documents.

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

    initialization RAG document-indexing background-processing threading
  • function get_session_settings

    Flask API endpoint that retrieves saved settings for the current user's session from the session store.

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

    flask api session-management settings rest-api
  • 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 api_chat

    Flask API endpoint that handles chat requests asynchronously, processing user queries through a RAG (Retrieval-Augmented Generation) engine with support for multiple modes, memory, web search, and custom configurations.

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

    flask api chat async rag
  • 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_task_status

    Flask API endpoint that retrieves and returns the status of asynchronous tasks (chat or indexing operations) by task ID.

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

    api flask rest-endpoint task-status async-polling
  • function api_chat_status

    Flask API endpoint that retrieves the detailed status of a chat task by delegating to the api_task_status function using the provided task_id.

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

    flask api endpoint chat status
  • 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 save_session_to_disk_v1

    Persists a chat session to disk by serializing session data to a JSON file, converting datetime objects to ISO format strings for storage.

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

    persistence session-management file-io serialization json
  • function index_v2

    Flask route handler that renders the main DocChat interface with document collection statistics.

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

    flask route-handler web-interface authentication rag
  • function user_guide_v1

    Flask route handler that renders the user guide page for the document chat application.

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

    flask route-handler view-function authentication user-guide
  • 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 upload_document

    Flask route handler that processes file uploads, saves them securely to disk, and indexes the document content for retrieval-augmented generation (RAG) search.

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

    file-upload document-processing flask-route authentication RAG
  • function index_all_documents

    Flask route handler that initiates background indexing of all documents in the system, creating a task ID for tracking progress and returning immediately while indexing continues asynchronously.

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

    flask api-endpoint background-task document-indexing async-processing
  • 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 get_available_models

    Flask API endpoint that returns a JSON response containing the list of available LLM models and the default model configured in the application.

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

    api endpoint flask llm models
  • 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
  • function test_flask_routes

    A test function that validates Flask application routes are properly configured by checking for required endpoints.

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

    testing flask routes validation web-application

Search Examples