vector-auditor / src /agents

Commit History

Remove forced section headers from SYSTEM_WHITE_BOX β€” /query returns raw LLM output
d134998

AkshayM commited on

Parallelize multi-doc retrieval with asyncio.gather
a0f0ee1

AkshayM commited on

Restore JSON parsing in analyze_document β€” populate all DocumentAnalysis fields
06a5fdf

AkshayM commited on

Append verification warning to answer so frontend always shows it
1a0d1f5

AkshayM commited on

Speed up analyze: use black_box mode (no thinking, 2K tokens) instead of white_box
3a19fe3

AkshayM commited on

Remove _strip_headers post-processing β€” let LLM output pass through as-is
bededb8

AkshayM commited on

Strip headers server-side + stronger prompt to enforce plain-text output
f4d05f9

AkshayM commited on

Force plain-text output: remove all headers/structure from LLM prompt
d62b685

AkshayM commited on

Simplify document_agent: drop JSON parsing, return raw LLM output; fix llm.py syntax errors
7fdb111

AkshayM commited on

fix: strict query-only output in analyze β€” no extra sections
79d0c2f

AkshayM commited on

feat: query-driven analyze + context window bump
4127275

AkshayM commited on

fix: make analyze JSON structure query-driven instead of rigid template
6d2e6ad

AkshayM commited on

fix: normalize all LLM JSON fields + wire cross_doc/per_doc
3788bc0

AkshayM commited on

fix: normalize list-typed limitations/methodology from LLM JSON
ede9cc4

AkshayM commited on

fix: thinking.type enabled for analyze mode + status event
84db387

AkshayM commited on

feat: provider-based LLM profiles + per-request model switching
9a38dd4

AkshayM commited on

fix: reduce max_citations_total=10, retrieve_k=15, rerank_top_k=10 + filter chunks <50 chars
542c221

AkshayM commited on

chore: white-box temperature 0.75 -> 0.3 (stream + analyze)
afb97f7

AkshayM commited on

feat: remove per-doc citation cap, bump rerank_top_k=20, max_citations_total=50, expose all retrieved citations
a2a3e4f

AkshayM commited on

fix: retrieve_k=20, strengthen system prompts to prevent citation hallucination, add _sanitize_citations post-processing
12bcac9

AkshayM commited on

fix: black-box concise -> medium reasoning, white-box researcher + analyze -> high
438e3b0

AkshayM commited on

fix: use high reasoning for verify, medium for gaps + full citation text for gaps
13ff565

AkshayM commited on

feat: add page_width/page_height to citations for frontend bbox scaling + combined bbox+dimension extraction
2c0e3a3

AkshayM commited on

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
835aa37

AkshayM commited on

fix: use full citation text in _verify instead of truncated 300-char prefix
f545531

AkshayM commited on

feat: per-mode reasoning_effort (high for white_box/analyze) + max_tokens 5120
964389b

AkshayM commited on

chore: increase white_box max_tokens 3048 -> 4096 for more detailed answers
c44b309

AkshayM commited on

feat: on-demand pdfplumber bbox extraction for citation highlighting
49aaae7

AkshayM commited on

perf: revert to all-MiniLM-L6-v2, query embed cache, fire-and-forget Cloudinary, pre-warm reranker, reduce top-k
1476572

AkshayM commited on

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

AkshayM commited on

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

AkshayM commited on

fix: query and stream_query now greet back instead of analyzing greetings
b7e6bc7

AkshayM commited on

fix: analyze endpoint no-ops on greetings and when no documents selected
a775719

AkshayM commited on

fix: normalize filenames (space/underscore) for doc counting in analyze tab, add document_id to Citation model
4bec4c4

AkshayM commited on

fix: analyze tab β€” documents_analyzed now matches actual citation sources, max_tokens=4096, key_findings 4-7
15d6801

AkshayM commited on

feat: white-box mode now uses max_tokens=3048 and structured answer output
a206720

AkshayM commited on

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

AkshayM commited on

fix: 15 critical/high bugs across codebase
da3be01

AkshayM commited on

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

AkshayM commited on