🔍 Code Extractor

Search Components

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

Search Results for "llmclient"

Found 30 matching component(s)

  • function test_local_document

    Integration test function that validates end date extraction from a local PDF document using document processing and LLM-based analysis.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_local_document.py

    testing integration-test document-processing pdf-extraction llm
  • function test_with_simulated_content

    Tests LLM-based contract analysis prompts using simulated NDA content containing a term clause to verify extraction of contract dates and metadata.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_local_document.py

    testing contract-analysis llm nda date-extraction
  • function test_single_document

    Tests end date extraction from a specific PDF document by downloading it from FileCloud, extracting text, and using LLM-based analysis to identify contract expiry dates.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_single_document.py

    testing integration-test document-processing pdf-extraction contract-analysis
  • function test_llm_client

    Tests the LLM client functionality by analyzing a sample contract text and verifying the extraction of key contract metadata such as third parties, dates, and status.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_implementation.py

    testing llm contract-analysis integration-test validation
  • function test_end_date_extraction

    Tests end date extraction functionality for contract documents that previously had missing end dates by downloading documents from FileCloud, extracting text, analyzing with LLM, and comparing results.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_missing_end_dates.py

    testing integration-test contract-analysis end-date-extraction document-processing
  • function test_ocr_retry_logic

    Tests the OCR retry logic for extracting contract end dates by first attempting normal text extraction, then falling back to OCR-based extraction if the end date is not found.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_ocr_retry.py

    testing ocr document-processing pdf-extraction contract-analysis
  • function test_new_fields

    A test function that validates an LLM client's ability to extract third-party email addresses and tax identification numbers from contract documents.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_new_fields.py

    testing llm contract-analysis email-extraction tax-id-extraction
  • function test_international_tax_ids

    A test function that validates an LLM client's ability to extract tax identification numbers and business registration numbers from a multi-party international contract document across 8 different countries.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_international_tax_ids.py

    testing llm document-analysis tax-id-extraction international
  • function test_edge_cases

    Tests edge cases and variations in European tax ID formats by analyzing a sample contract document containing Swiss, Norwegian, Swedish, and Danish tax identifiers.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_international_tax_ids.py

    testing tax-id-extraction european-formats contract-analysis llm-validation
  • function test_simulated_document

    Integration test function that validates end date extraction from a simulated contract document containing an explicit term clause, using a two-step LLM-based analysis process.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_simulated_document.py

    testing integration-test contract-analysis date-extraction llm-client
  • class ContractAnalyzer

    Main class for analyzing contract validity from FileCloud documents.

    File: /tf/active/vicechatdev/contract_validity_analyzer/core/analyzer.py

    class contractanalyzer
  • class LLMClient_v2

    Client for interacting with LLM providers (OpenAI, Anthropic, Azure, etc.)

    File: /tf/active/vicechatdev/contract_validity_analyzer/utils/llm_client.py

    class llmclient
  • class LLMClient_v1

    Multi-LLM client that provides a unified interface for interacting with OpenAI GPT-4o, Azure OpenAI, Google Gemini, and Anthropic Claude models.

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

    llm openai azure gemini claude
  • function chat_with_text_section

    Flask API endpoint that enables AI-powered chat conversations about a specific text section, with support for multiple LLM models and document context.

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

    flask api-endpoint chat ai-assistant llm
  • class LLMClient_v1

    A client class for interacting with Large Language Models (LLMs), specifically designed to work with OpenAI's chat completion API.

    File: /tf/active/vicechatdev/QA_updater/core/llm_client.py

    llm openai gpt chat-completion api-client
  • class QAUpdater

    Orchestrates a two-step Q&A document updating process that generates optimal search queries, retrieves information from internal and external sources, and uses an LLM to determine if updates are needed.

    File: /tf/active/vicechatdev/QA_updater/qa_engine/qa_updater.py

    qa-management document-updating llm-orchestration information-retrieval vector-search
  • class QAUpdater_v1

    Orchestrates the Q&A document updating process.

    File: /tf/active/vicechatdev/QA_updater/qa_engine/qa_updater_full.py

    class qaupdater
  • class InvoiceProcessor

    Main orchestrator class that coordinates the complete invoice processing pipeline from PDF extraction through validation to Excel generation.

    File: /tf/active/vicechatdev/invoice_extraction/main.py

    invoice-processing document-processing pdf-extraction entity-classification language-detection
  • class LanguageDetector

    A language detection class that identifies whether invoice documents are written in English, French, or Dutch using both rule-based keyword matching and LLM-based detection.

    File: /tf/active/vicechatdev/invoice_extraction/core/language_detector.py

    language-detection nlp invoice-processing text-analysis multilingual
  • class EntityClassifier

    Classifies which ViceBio entity (UK, Belgium, or Australia) an invoice is addressed to using rule-based pattern matching and LLM fallback.

    File: /tf/active/vicechatdev/invoice_extraction/core/entity_classifier.py

    classification entity-recognition invoice-processing pattern-matching regex
  • class MockLLMClient

    A mock implementation of an LLM client designed for testing extractor components without making actual API calls to language models.

    File: /tf/active/vicechatdev/invoice_extraction/tests/test_extractors.py

    testing mock llm unit-test test-double
  • class TestUKExtractor

    Unit test class for testing the UKExtractor class, which extracts structured data from UK invoices including VAT numbers, dates, amounts, and line items.

    File: /tf/active/vicechatdev/invoice_extraction/tests/test_extractors.py

    unit-test invoice-extraction uk-invoices vat-validation date-parsing
  • class TestBEExtractor

    Unit test class for testing the BEExtractor class, which extracts structured data from Belgian invoices using LLM-based extraction.

    File: /tf/active/vicechatdev/invoice_extraction/tests/test_extractors.py

    unit-testing invoice-extraction belgian-invoices llm-testing data-extraction
  • class TestAUExtractor

    Unit test class for testing the AUExtractor class, which extracts data from Australian invoices including ABN, GST, and payment details.

    File: /tf/active/vicechatdev/invoice_extraction/tests/test_extractors.py

    unit-test invoice-extraction australian-invoices ABN-formatting GST-handling
  • class TestLLMClient

    Unit test class for testing the LLMClient class, which provides comprehensive test coverage for initialization, text generation, structured data extraction, and error handling across multiple LLM providers (OpenAI, Anthropic, Azure, local).

    File: /tf/active/vicechatdev/invoice_extraction/tests/test_utils.py

    testing unit-test llm openai anthropic
  • class LLMClient

    A singleton client class for interacting with multiple LLM providers (OpenAI, Anthropic, Azure OpenAI, and local models) with unified interface for text generation and structured data extraction.

    File: /tf/active/vicechatdev/invoice_extraction/utils/llm_client.py

    llm openai anthropic azure gpt
  • class BEExtractor

    Belgium-specific invoice data extractor that uses LLM (Large Language Model) to extract structured invoice data from Belgian invoices in multiple languages (English, French, Dutch).

    File: /tf/active/vicechatdev/invoice_extraction/extractors/be_extractor.py

    invoice-extraction belgium llm ocr document-processing
  • class AUExtractor

    Australia-specific invoice data extractor that uses LLM (Large Language Model) to extract structured invoice data from Australian tax invoices, handling ABN, ACN, GST, BSB numbers and Australian date formats.

    File: /tf/active/vicechatdev/invoice_extraction/extractors/au_extractor.py

    invoice-extraction australia llm ocr document-processing
  • class BaseExtractor

    Abstract base class that defines the interface and shared functionality for entity-specific invoice data extractors (UK, BE, AU), providing a multi-stage extraction pipeline for invoice processing.

    File: /tf/active/vicechatdev/invoice_extraction/extractors/base_extractor.py

    invoice-processing data-extraction abstract-base-class OCR document-processing
  • class UKExtractor

    UK-specific invoice data extractor.

    File: /tf/active/vicechatdev/invoice_extraction/extractors/uk_extractor.py

    class ukextractor

Search Examples