🔍 Code Extractor

Browse Components

Showing 20 of 1103 components

  • 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
  • class User

    A user management class that handles authentication, authorization, user profiles, preferences, file management, and logging for a Panel-based web application with Neo4j backend.

    File: /tf/active/vicechatdev/userclass.py | Lines: 23-396

    authentication authorization user-management role-based-access-control neo4j
  • function update_access_tokens

    Updates access control tokens for nodes in a Neo4j graph database by traversing relationships from token carrier nodes and storing accumulated access keys.

    File: /tf/active/vicechatdev/dbinit.py | Lines: 9-26

    neo4j graph-database access-control security token-management
  • function test_collection_creation

    A diagnostic test function that verifies Chroma DB functionality by creating a test collection, adding a document, querying it, and cleaning up.

    File: /tf/active/vicechatdev/test_chroma_collections.py | Lines: 134-183

    testing debugging chroma-db vector-database health-check
  • function test_chroma_collections

    A diagnostic function that tests connectivity to ChromaDB instances across multiple connection methods and lists all available collections with their metadata.

    File: /tf/active/vicechatdev/test_chroma_collections.py | Lines: 18-131

    chromadb database-testing diagnostics connection-testing vector-database
  • function generate_cypher_examples

    Generates a comprehensive Cypher query examples file for interacting with a Neo4j graph database based on the provided schema information.

    File: /tf/active/vicechatdev/neo4j_schema_report.py | Lines: 1288-1446

    neo4j cypher graph-database code-generation documentation
  • function generate_python_snippets

    Generates a Python file containing code snippets and helper functions for interacting with a Neo4j graph database based on the provided schema information.

    File: /tf/active/vicechatdev/neo4j_schema_report.py | Lines: 1061-1286

    code-generation neo4j graph-database cypher schema
  • function generate_html_report

    Generate HTML report from schema info

    File: /tf/active/vicechatdev/neo4j_schema_report.py | Lines: 277-1059

    function generate_html_report
  • function generate_diagram_data

    Transforms Neo4j schema information into a structured format suitable for graph visualization, creating separate node and edge data structures.

    File: /tf/active/vicechatdev/neo4j_schema_report.py | Lines: 245-275

    graph-visualization schema-processing neo4j data-transformation diagram-generation