🔍 Code Extractor

Browse Components

Showing 20 of 582 components

  • 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 | Lines: 51-128

    meeting-analysis document-extraction text-summarization llm openai
  • function allowed_file

    Validates whether a filename has an allowed file extension by checking if it contains a dot and if the extension (case-insensitive) exists in a predefined ALLOWED_EXTENSIONS collection.

    File: /tf/active/vicechatdev/leexi/app.py | Lines: 46-49

    validation file-upload security flask file-extension
  • function test_document_extractor

    A test function that validates the DocumentExtractor class by testing file type support detection, text extraction from various document formats, and error handling.

    File: /tf/active/vicechatdev/leexi/test_document_extractor.py | Lines: 15-55

    testing document-extraction file-processing validation text-extraction
  • class DocumentExtractor

    A document text extraction class that supports multiple file formats including Word, PowerPoint, PDF, and plain text files, with automatic format detection and conversion capabilities.

    File: /tf/active/vicechatdev/leexi/document_extractor.py | Lines: 40-256

    document-processing text-extraction pdf word powerpoint
  • function test_mixed_previous_reports

    A test function that validates the DocumentExtractor's ability to extract text content from multiple file formats (TXT and Markdown) and combine them into a unified previous reports summary.

    File: /tf/active/vicechatdev/leexi/test_enhanced_reports.py | Lines: 12-84

    testing document-extraction file-processing integration-test text-extraction
  • function test_web_ui

    Integration test function that validates a Flask web UI for meeting minutes generation by testing file upload, generation, and regeneration endpoints with sample transcript and PowerPoint files.

    File: /tf/active/vicechatdev/leexi/test_ui.py | Lines: 13-110

    testing integration-test web-ui flask api-testing
  • 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 | Lines: 124-4351

    class pathobrowser_base
  • class CDocsApp

    Panel-based web application class for the CDocs Controlled Document System that provides a complete UI with navigation, authentication, and document management features.

    File: /tf/active/vicechatdev/cdocs_panel_app.py | Lines: 57-132

    panel web-application ui document-management authentication
  • class ControlledDocApp

    A standalone Panel web application class that provides a complete controlled document management system with user authentication, navigation, and document lifecycle management features.

    File: /tf/active/vicechatdev/panel_app.py | Lines: 45-390

    panel web-application document-management authentication navigation
  • function create_folder_hierarchy_v1

    Creates a hierarchical structure of Subfolder nodes in a Neo4j graph database based on a file path, connecting each folder level with PATH relationships.

    File: /tf/active/vicechatdev/offline_docstore_multi.py | Lines: 1233-1289

    neo4j graph-database folder-hierarchy file-system path-processing
  • function create_folder_hierarchy_v2

    Creates a hierarchical structure of Subfolder nodes in a Neo4j graph database based on a file path, establishing parent-child relationships between folders.

    File: /tf/active/vicechatdev/offline_parser_docstore.py | Lines: 114-169

    neo4j graph-database hierarchy folder-structure file-system
  • function add_document_to_graph

    Creates nodes and relationships in a Neo4j graph database for a processed document, including its text and table chunks, connecting it to a folder hierarchy.

    File: /tf/active/vicechatdev/offline_docstore_multi.py | Lines: 1181-1231

    neo4j graph-database document-management knowledge-graph data-ingestion
  • function add_document_to_graph_v1

    Creates a Neo4j graph node for a processed document and connects it to a folder hierarchy, along with its text and table chunks.

    File: /tf/active/vicechatdev/offline_docstore_multi_vice.py | Lines: 1220-1275

    neo4j graph-database document-management knowledge-graph cypher-query
  • 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 | Lines: 127-187

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

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

    File: /tf/active/vicechatdev/offline_docstore_multi_vice.py | Lines: 135-195

    embeddings openai chromadb text-processing summarization
  • class MyEmbeddingFunction

    Custom embedding function class that integrates OpenAI's embedding API with Chroma DB for generating vector embeddings from text documents.

    File: /tf/active/vicechatdev/project_victoria_disclosure_generator.py | Lines: 819-856

    embeddings openai chroma vector-database nlp
  • class MyEmbeddingFunction_v1

    A custom embedding function class that generates embeddings for documents using OpenAI's API, with built-in text summarization for long documents and token management.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py | Lines: 589-683

    embeddings openai chromadb vector-database text-summarization
  • class ProjectVictoriaDisclosureGenerator

    Main class for generating Project Victoria disclosures from warranty claims.

    File: /tf/active/vicechatdev/project_victoria_disclosure_generator.py | Lines: 63-816

    class projectvictoriadisclosuregenerator
  • function merge_word_documents

    Merges track changes and comments from a revision Word document into a base Word document, creating a combined output document.

    File: /tf/active/vicechatdev/word_merge.py | Lines: 1153-1166

    document-processing word-documents docx merge track-changes
  • class DocxMerger

    A class named DocxMerger

    File: /tf/active/vicechatdev/word_merge.py | Lines: 41-1150

    class docxmerger