Prism / server

Commit History

  1. fix: contextual retrieval latency — max_chunks gate + prompt trim + model update⁠

    benroshan +1: Claude Sonnet 4.6
    dec430b

  1. feat: chat route accepts filter_docs for scoped retrieval

    ab2e8c6
  2. feat: add filter_docs to HybridRetriever and get_retriever_filtered helper

    09d72bf
  3. fix: revert out-of-scope model default change in contextualize_chunks

    0155d2c
  4. feat: add source_type metadata to all ingested chunks

    acf6283
  5. fix: restore score > 0 threshold in filtered BM25 path + use original index for scoring

    d28e521
  6. feat: add filter_sources param to BM25Index.search()

    ba3026d

  1. fix: citation toggle stopPropagation + absolute UPLOAD_DIR path

    38ea650
  2. fix: replace startswith with is_relative_to() for path traversal security

    10860d7
  3. feat: add GET /api/files/{filename} route for citation PDF links⁠

    benroshan +1: Claude Sonnet 4.6
    3a34cb6

  1. feat: HyDE re-eval (recall +21pp), briefing JSON fix, eval run cleanup⁠

    benroshan +1: Claude Sonnet 4.6
    eca5609
  2. fix: remove web_search field, ensure cleanup runs on all paths in chat route⁠

    benroshan +1: Claude Sonnet 4.6
    4eaee9e
  3. feat: stream POST /api/chat via SSE StreamingResponse

    94344ae
  4. feat: add stream_query_with_web async generator to chain.py

    913b0ab

  1. feat: semantic chunking via SemanticChunker, toggled by config.yaml semantic_enabled

    b003dda
  2. fix: strip trailing commas from LLM JSON in briefing generation

    73914cd
  3. feat: async embed upload — return 202 immediately, poll status for stage labels

    34ca534

  1. refactor: remove Render 512MB memory guards — running on HF Spaces 16GB⁠

    benroshan +1: Claude Sonnet 4.6
    72bfed4
  2. fix: RSS guard in contextual refresh — skip if base RSS >460MB⁠

    benroshan +1: Claude Sonnet 4.6
    9383ef3
  3. fix: reduce peak RSS during upload — reorder GC + briefing after embed⁠

    benroshan +1: Claude Sonnet 4.6
    5a6eda2
  4. fix: OOM guard — skip web search during contextual refresh + psutil memory logging⁠

    benroshan +1: Claude Sonnet 4.6
    25ed685

  1. fix: reduce max_concurrent 20→3 to stay under Groq 6k TPM; smart 429 retry wait

    2ed79bb
  2. fix: return 422 on password-protected PDF upload instead of 500

    2c6df0a
  3. feat: contextual retrieval in production via async BackgroundTask⁠

    ee2661c
  4. feat: add contextualize_chunks() for LLM-prefixed chunk embeddings

    f181551

  1. feat: multi-query retrieval + HyDE/MQ eval runs (v1.1.0, v1.2.0 Violet)⁠

    benroshan +1: Claude Sonnet 4.6
    44e600b

  1. feat: Stage 8 — eval dashboard, mandatory web search, docs update⁠

    benroshan +1: Claude Sonnet 4.6
    65cee4e

  1. feat: add HyDE (Hypothetical Document Embeddings) for dense retrieval⁠

    Claude
    Unverified signature
    8945b43

  1. fix: singleton vectorstore/retriever cache to prevent OOM on repeated queries⁠

    benroshan +1: Claude Sonnet 4.6
    529675f

  1. fix: URL size guard for OOM prevention, eliminate double retrieval in chat, fix print⁠

    benroshan +1: Claude Sonnet 4.6
    6c9f809
  2. fix: workspace-aware retrieval in chat handler, robust list_collections() for chromadb 0.5+⁠

    benroshan +1: Claude Sonnet 4.6
    13e423a
  3. feat: multi-workspace backend — workspace_id routes ChromaDB collections + BM25 dict⁠

    benroshan +1: Claude Sonnet 4.6
    1e5c62a
  4. fix: use langchain_core.prompts for PromptTemplate, propagate citation_index in run_query

    6704de6
  5. feat: add citation_index to retriever + numbered doc prompt in QA chain

    a42b67e
  6. fix: robust JSON extraction in briefing (handles LLM preamble), tighten tests⁠

    benroshan +1: Claude Sonnet 4.6
    46c1407
  7. feat: add briefing module (5-bullet summary + 3 suggested Qs on upload)⁠

    benroshan +1: Claude Sonnet 4.6
    0ce8245
  8. fix: sanitize upload_url error messages, handle embed failure, add timeout

    4f14900
  9. feat: add URL ingestion endpoint + file/url tab UI in FileUpload

    ee2b23c
  10. fix: use httpx.HTTPStatusError in url_loader test, widen timeout type to float

    4044979
  11. feat: add URL loader with BeautifulSoup extraction + tests⁠

    benroshan +1: Claude Sonnet 4.6
    74c0e18
  12. feat: rebrand FinRAG → Prism (collection names, system prompt, UI branding)⁠

    benroshan +1: Claude Sonnet 4.6
    7dac988

  1. refactor: Remove live RAGAS eval, replace with static benchmark panel⁠

    benroshan +1: Claude Sonnet 4.6
    02ccb01
  2. fix: Graceful RAGAS 500 + info tooltips on eval metrics and faithfulness badge⁠

    benroshan +1: Claude Sonnet 4.6
    a165192
  3. fix: Switch reranker to TinyBERT-L-2-v2 (~17MB) to prevent OOM on web queries⁠

    benroshan +1: Claude Sonnet 4.6
    9f43040

  1. fix: Reduce web search memory footprint to prevent OOM on second query⁠

    benroshan +1: Claude Sonnet 4.6
    d03dfdb
  2. fix: Reduce CrossEncoder memory spike to prevent OOM on Render 512MB⁠

    benroshan +1: Claude Sonnet 4.6
    5ed477a
  3. fix: Lazy-import ragas to prevent startup crash on Render⁠

    benroshan +1: Claude Sonnet 4.6
    c17e20a
  4. feat: Migrate LLM to Groq, fix web search pipeline, add structured logging⁠

    benroshan +1: Claude Sonnet 4.6
    2868f80

  1. feat: Add RAGAS eval, score passthrough, docs, and hybrid retrieval config⁠

    benroshan +1: Claude Sonnet 4.6
    8446976

  1. feat: Add hybrid retrieval with BM25, RRF fusion, and cross-encoder reranker⁠

    benroshan +1: Claude Sonnet 4.6
    43e87a7