vector-auditor / src /services

Commit History

8 days ago

  1. feat: 10 free upgrades — streaming upload, cache invalidation, hybrid search, ONNX reranker, SQLAlchemy pool tuning, batch embed cache, semantic chunking, Prometheus histograms, DLQ auto-retry, structured logging+OTel

    AkshayM
    3e047b8

  1. Tune Presidio: strict mode masks names+orgs for NDA, light mode skips them for research

    AkshayM
    073907c
  2. Swap pdfplumber → pypdf for upload parsing (3x faster text extraction)

    AkshayM
    a965d17

  1. Handle null content in LLM response (NoneType len error)

    AkshayM
    102af7a
  2. Auto-fallback to mercury when minimax fails (chat + stream)

    AkshayM
    ed71b77
  3. Skip PERSON/LOCATION/ORG in PII masking — only mask contact & financial IDs

    AkshayM
    ebf84fb
  4. Safe minimax defaults: no thinking, temp=0.3, max_tokens=4096

    AkshayM
    536fca2
  5. Profile-aware API key: mercury uses INCEPTION_API_KEY, minimax uses LLM_API_KEY

    AkshayM
    fe833f1
  6. Minimax uses LLM_BASE_URL env var; mercury always uses inceptionlabs.ai

    AkshayM
    e2b443d
  7. Remove LLM_BASE_URL env override — use profile's own base_url

    AkshayM
    08f6f02
  8. Keep only mercury + minimax profiles; remove custom profile logic entirely

    AkshayM
    980aa8d
  9. Drop custom profile as default — always default to mercury; minimax remains selectable

    AkshayM
    17b877a
  10. Speed up analyze: use black_box mode (no thinking, 2K tokens) instead of white_box

    AkshayM
    3a19fe3
  11. Simplify document_agent: drop JSON parsing, return raw LLM output; fix llm.py syntax errors

    AkshayM
    7fdb111
  12. feat: query-driven analyze + context window bump⁠

    AkshayM
    4127275
  13. fix: thinking.type enabled for analyze mode + status event⁠

    AkshayM
    84db387
  14. fix: increase httpx timeout 120s -> 300s/600s for thinking models⁠

    AkshayM
    6addc68
  15. fix: thinking.type enabled instead of adaptive for NVIDIA API⁠

    AkshayM
    1c1c87d
  16. feat: minimax temp=0.1 + thinking adaptive + json output for analyze⁠

    AkshayM
    28a6ad4

  1. fix: handle LLM_BASE_URL with or without /chat/completions suffix⁠

    AkshayM
    cc8bded
  2. feat: provider-based LLM profiles + per-request model switching⁠

    AkshayM
    9a38dd4
  3. feat: add page_width/page_height to citations for frontend bbox scaling + combined bbox+dimension extraction

    AkshayM
    2c0e3a3
  4. fix: use pdfplumber text for chunking to ensure accurate page numbers for citations

    AkshayM
    247a9a5
  5. fix: tune Mercury 2 params — use valid temp range (0.5-0.75), instant reasoning for black-box, high for white-box, reasoning_summary=false for factual paths

    AkshayM
    835aa37
  6. fix: keep MarkItDown for chunking, pass pdfplumber page texts separately so page numbers align for bbox extraction

    AkshayM
    e01df47
  7. feat: per-mode reasoning_effort (high for white_box/analyze) + max_tokens 5120

    AkshayM
    964389b

  1. fix: handle None text in guardrails check_input (crashed on analyze with null question)

    AkshayM
    3556ab7
  2. feat: on-demand pdfplumber bbox extraction for citation highlighting

    AkshayM
    49aaae7

  1. feat: harden prompt injection guardrails with 11 detection layers + fix missing guardrails on /analyze

    AkshayM
    4eb6f45

  1. perf: upgrade embedding to all-mpnet-base-v2, add cross-encoder reranker, LRU cache, enable PII by default

    AkshayM
    9147527

  1. production hardening: circuit breakers, graceful degradation, health checks, parallel uploads, HF Spaces deploy config

    AkshayM
    fc2fe9f

  1. feat: /analyze now fairly samples all selected documents, adds cross_document_comparison + per_document_summary fields to response

    AkshayM
    cd3b9ef
  2. fix: enable NeMo Guardrails with correct parameters.api_key/parameters.base_url, add PII detection to guardrails flow, set PII_ENABLED=true

    AkshayM
    6ca471b
  3. fix: correct Inception API base URL (inceptionlabs.ai, not inception.ai)

    AkshayM
    288a113
  4. fix: add generic LLM_API_KEY/LLM_BASE_URL/LLM_MODEL for any OpenAI-compatible API; fall back from broken api.inception.ai

    AkshayM
    5e9bd07
  5. fix: handle LLM connection errors gracefully (SSL/connect errors → 502); convert Analyze 500 → 502 with clear message

    AkshayM
    5d8e007
  6. fix: 15 critical/high bugs across codebase⁠

    AkshayM
    da3be01

  1. fix models.py: match Neon schema varchar sizes, add email unique constraint

    AkshayM
    167c070