🔍 Code Extractor

Search Components

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

Search Results for "rag"

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 SimpleDataHandle

    A data handler class that manages multiple data sources with different types (dataframes, vector stores, databases) and their associated processing configurations.

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

    data-management registry vector-store RAG dataframe
  • class OneCo_hybrid_RAG

    A class named OneCo_hybrid_RAG

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

    class oneco_hybrid_rag
  • class ReferenceManager

    Manages document references for inline citation and bibliography generation in a RAG (Retrieval-Augmented Generation) system.

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

    citation bibliography reference-management document-tracking RAG
  • function main_v58

    Entry point function that instantiates a FixedProjectVictoriaGenerator and executes its complete pipeline to generate fixed disclosure documents.

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

    entry-point pipeline disclosure-generation orchestration main-function
  • 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 OneCo_hybrid_RAG_v1

    A class named OneCo_hybrid_RAG

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

    class oneco_hybrid_rag
  • class DocumentProcessor_v4

    Process different document types for RAG context extraction

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

    class documentprocessor
  • class ReferenceManager_v1

    Manages document references for inline citation and bibliography generation, tracking documents and generating formatted citations and bibliographies.

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

    citation bibliography reference-management document-tracking inline-citation
  • function main_v62

    Entry point function that instantiates an ImprovedProjectVictoriaGenerator and executes its complete pipeline to generate disclosure documents.

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

    entry-point main-function disclosure-generation RAG document-generation
  • class QueryBasedExtractor_v2

    A class that performs targeted information extraction from text using LLM-based query-guided extraction, with support for handling long documents through chunking and token management.

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

    information-extraction text-processing llm openai query-based
  • class OneCo_hybrid_RAG_v2

    A class named OneCo_hybrid_RAG

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

    class oneco_hybrid_rag
  • class ExtensiveSearchManager

    Manages extensive search functionality including full document retrieval, summarization, and enhanced context gathering.

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

    class extensivesearchmanager
  • class DocumentProcessor_v5

    Process different document types for RAG context extraction

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

    class documentprocessor
  • 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 test_language_detection_and_translation

    A test function that validates multi-language query processing capabilities including language detection, translation, and query expansion across multiple supported languages.

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

    testing multi-language language-detection translation RAG
  • function test_adjusted_topk

    A test function that validates the adjusted top_k calculation by testing multiple base values against the number of supported languages and logging the results.

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

    testing unit-test validation logging configuration
  • function index_documents_example

    A demonstration function that indexes documents from a specified folder using a DocumentIndexer, creating the folder if it doesn't exist, and displays indexing results and collection statistics.

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

    document-indexing example tutorial demonstration RAG
  • 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 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 get_document_info

    Retrieves indexing status and metadata for a document, including whether it's indexed, its document ID, chunk count, and reindexing status.

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

    document-management indexing metadata vector-database chromadb
  • 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 api_update_system_config

    Flask API endpoint that allows administrators to update system configuration settings including system role, expertise, domain context, custom instructions, output style, and query languages, with persistence to disk.

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

    admin configuration system-settings api-endpoint flask
  • 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_upload

    Flask API endpoint that handles file uploads, validates file types, saves files to a configured directory structure, and automatically indexes the uploaded document for search/retrieval.

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

    file-upload api-endpoint document-management rag indexing
  • function health_v1

    Flask route handler that provides a health check endpoint returning the operational status of the application and its core components (RAG engine and document indexer).

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

    health-check monitoring diagnostics flask rest-api
  • function check_configuration

    A comprehensive configuration verification function that checks and displays the status of all DocChat system settings, including API keys, models, ChromaDB connection, directories, and LLM initialization.

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

    configuration verification diagnostics setup validation
  • function matches_source_filter

    Checks if a document path matches any of the provided source filters using exact match, folder prefix match, path component sequence match, or filename match.

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

    path-matching file-filtering document-filtering path-normalization string-matching
  • class QueryBasedExtractor

    A class that extracts relevant information from documents using a small LLM (Language Model), designed for Extensive and Full Reading modes in RAG systems.

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

    information-extraction document-processing llm rag query-based
  • 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 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 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 get_stats

    Flask API endpoint that retrieves and returns statistics about a document collection from a RAG (Retrieval-Augmented Generation) system.

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

    flask api endpoint statistics rag
  • function test_config

    A test function that validates the presence and correctness of all required configuration settings for a multi-model RAG (Retrieval-Augmented Generation) system.

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

    testing validation configuration unit-test assertion
  • function test_rag_engine

    A test function that validates the RAG engine's ability to correctly instantiate different LLM models (OpenAI, Anthropic, Gemini) based on configuration settings.

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

    testing rag llm model-switching validation
  • function main_v39

    Test orchestration function that executes a comprehensive test suite for DocChat's multi-LLM model selection feature and reports results.

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

    testing integration-tests test-orchestration multi-llm test-runner
  • function load_document_from_file

    Loads a document from a JSON file stored in a documents directory, deserializes it into a ComplexDocument object, and returns it.

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

    file-io document-management json deserialization persistence
  • function init_chat_engine

    Initializes a global chat engine instance using the OneCo_hybrid_RAG class and logs the initialization status.

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

    initialization chat-engine RAG hybrid-rag global-state
  • function document_workspace

    Flask route handler that renders the main document workspace interface for authenticated users.

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

    flask route-handler web-interface authentication document-workspace
  • 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_collections_v1

    Flask API endpoint that retrieves and returns a list of available data collections from the chat engine instance.

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

    flask api rest-endpoint collections rag
  • function api_delete_chat_uploaded_document

    Flask API endpoint that deletes a user's uploaded document by document ID, requiring authentication and returning success/error responses.

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

    flask api rest delete document-management

Search Examples