🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function get_lims_parameters_by_id

    Retrieves a LIMS_Parameters node from a Neo4j graph database by its unique identifier.

    File: /tf/active/vicechatdev/neo4j_schema/neo4j_python_snippets.py | Lines: 70-77

    neo4j graph-database lims database-query cypher
  • function get_all_lims_parameters

    Queries a Neo4j graph database to retrieve all nodes labeled as LIMS_Parameters, with a configurable limit on the number of results returned.

    File: /tf/active/vicechatdev/neo4j_schema/neo4j_python_snippets.py | Lines: 61-68

    neo4j graph-database cypher-query lims database-query
  • function create_lims_importerrors

    Creates a new LIMS_ImportErrors node in a Neo4j graph database with the specified properties and returns the created node.

    File: /tf/active/vicechatdev/neo4j_schema/neo4j_python_snippets.py | Lines: 49-58

    neo4j graph-database lims error-logging database-insert
  • function get_lims_importerrors_by_uid

    Retrieves a LIMS_ImportErrors node from a Neo4j graph database by its unique identifier (UID).

    File: /tf/active/vicechatdev/neo4j_schema/neo4j_python_snippets.py | Lines: 40-47

    neo4j graph-database query lims error-tracking
  • function get_lims_importerrors_by_id

    Retrieves a single LIMS_ImportErrors node from a Neo4j graph database by its unique ID.

    File: /tf/active/vicechatdev/neo4j_schema/neo4j_python_snippets.py | Lines: 31-38

    neo4j graph-database query lims error-handling
  • function get_all_lims_importerrors

    Queries a Neo4j graph database to retrieve all nodes labeled as LIMS_ImportErrors, with a configurable limit on the number of results returned.

    File: /tf/active/vicechatdev/neo4j_schema/neo4j_python_snippets.py | Lines: 22-29

    neo4j graph-database lims error-handling database-query
  • function run_query_v2

    Executes a Cypher query against a Neo4j graph database and returns the results as a list of dictionaries.

    File: /tf/active/vicechatdev/neo4j_schema/neo4j_python_snippets.py | Lines: 15-18

    neo4j graph-database cypher database-query data-retrieval
  • function run_all_tests

    Orchestrates a comprehensive test suite for the Vendor Email Extractor system, verifying configuration, authentication, mailbox access, email search, and LLM connectivity.

    File: /tf/active/vicechatdev/find_email/test_vendor_extractor.py | Lines: 206-258

    testing verification setup validation integration-test
  • function test_llm_connectivity

    Tests the connectivity and functionality of an OpenAI LLM integration by analyzing a mock email with vendor information extraction.

    File: /tf/active/vicechatdev/find_email/test_vendor_extractor.py | Lines: 170-203

    testing llm openai connectivity diagnostic
  • function test_email_search

    Tests the email search functionality of a VendorEmailExtractor instance by searching for emails containing common business terms in the first available mailbox.

    File: /tf/active/vicechatdev/find_email/test_vendor_extractor.py | Lines: 127-167

    testing email search microsoft-graph mailbox
  • function test_mailbox_access

    Tests the ability to access and retrieve mailboxes from Microsoft Graph API through a VendorEmailExtractor instance, displaying results and troubleshooting information.

    File: /tf/active/vicechatdev/find_email/test_vendor_extractor.py | Lines: 98-124

    testing microsoft-graph mailbox diagnostics permissions
  • function test_authentication

    Tests Azure AD authentication for a VendorEmailExtractor instance by attempting to authenticate and providing detailed troubleshooting guidance on failure.

    File: /tf/active/vicechatdev/find_email/test_vendor_extractor.py | Lines: 78-95

    authentication azure-ad testing diagnostics troubleshooting
  • function test_configuration_v1

    Validates that all required configuration variables (Azure AD credentials, OpenAI API key, and domain) are properly set and not using placeholder values.

    File: /tf/active/vicechatdev/find_email/test_vendor_extractor.py | Lines: 31-75

    configuration validation testing setup credentials
  • function extract_batch

    Batch processes a list of vendors from an Excel file to extract their email addresses by searching through Microsoft 365 mailboxes using AI-powered email analysis.

    File: /tf/active/vicechatdev/find_email/extract_vendor_batch.py | Lines: 44-115

    email-extraction vendor-management batch-processing microsoft-graph-api openai
  • function load_vendor_list

    Loads unique vendor names from the first column of an Excel file, removing any null values and returning them as a list.

    File: /tf/active/vicechatdev/find_email/extract_vendor_batch.py | Lines: 30-41

    data-loading excel pandas vendor-management file-processing
  • class VendorEmailExtractor

    Extract vendor email addresses from all organizational mailboxes

    File: /tf/active/vicechatdev/find_email/vendor_email_extractor.py | Lines: 29-945

    class vendoremailextractor
  • class VendorEnricher

    A class that enriches vendor information by finding official email addresses and VAT numbers using RAG (Retrieval-Augmented Generation) with ChromaDB document search and web search capabilities.

    File: /tf/active/vicechatdev/find_email/vendor_enrichment.py | Lines: 33-415

    vendor-enrichment data-enrichment RAG web-search ChromaDB
  • function test_single_vendor

    Tests vendor enrichment by querying a RAG (Retrieval-Augmented Generation) system to find official contact information (email and VAT number) for a specified vendor using document search and web search capabilities.

    File: /tf/active/vicechatdev/find_email/test_enrichment.py | Lines: 37-134

    testing vendor-enrichment RAG information-retrieval contact-information
  • function test_setup

    Validates the presence of required API keys (OpenAI and SERPER) and sets them as environment variables with fallback default values.

    File: /tf/active/vicechatdev/find_email/test_enrichment.py | Lines: 19-34

    setup validation environment-variables api-keys configuration
  • class StatisticalAgent_v1

    LLM-powered statistical analysis agent

    File: /tf/active/vicechatdev/full_smartstat/statistical_agent.py | Lines: 33-724

    class statisticalagent