🔍 Code Extractor

Search Components

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

Search Results for "llmclient"

Found 17 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

    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

Search Examples