Spaces:
Sleeping
Sleeping
Commit History
-
Fix: Groq decommissioned llama-3.3-70b-versatile
Every /chat request returned 500. The Groq API key is still valid, but llama-3.3-70b-versatile is no longer in the served model list, so the LLM call failed immediately. llama-3.1-8b-instant, used as the eval judge, is gone too. - LLM_MODEL -> openai/gpt-oss-120b, JUDGE_MODEL -> openai/gpt-oss-20b - Both read an env override (FINCHAT_LLM_MODEL / FINCHAT_JUDGE_MODEL) so the next retirement is a Space-secret change rather than a redeploy - Pin citation format in the prompt and normalise output deterministically: gpt-oss emits CJK-bracketed citations and typographic punctuation regardless of what the prompt asks for Verified locally: narrative, numeric ratio, YoY trend and the no-answer refusal path all return correctly formatted answers. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>62a7aca
-
Add year-over-year trends + expanded ratios (EBITDA, turnover, FCF conversion)
48c9780 -
Add deterministic computed-ratios layer (Approach 2); FinanceBench 20% -> 45%
087a312 -
Add hybrid RAG: XBRL structured-financials layer for numeric questions
8db8a8c
-
Fix cold-start crash: probe vector store via filesystem, not a Chroma client
ensure_index() opened a Chroma client to check for documents, which created an empty database and held it open. chromadb caches clients per path, so the subsequent rebuild deleted the directory out from under the cached client and Chroma.from_documents crashed with sqlite 'unable to open database file' (code 14) on fresh deployments. Check for chroma.sqlite3 on disk instead. Also remove the unused Dockerfile left over from the Space template (the Space runs with sdk: streamlit from README frontmatter; the Dockerfile referenced a nonexistent src/streamlit_app.py).2e01d2b -
FinChat: RAG chatbot over SEC 10-K filings
6ba3ef3