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
-
Fix invalid HF Space colorTo metadata (teal -> green)
Hugging Face only accepts colorTo in [red, yellow, green, blue, indigo, purple, pink, gray]; teal failed pre-receive YAML verification. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>09e2914 -
Add headless FastAPI backend for HF Docker Space (Part A)
Wraps src.rag.answer() in a FastAPI service; adds root Dockerfile, .dockerignore, and switches the Space README front-matter to sdk: docker. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>817f25b
-
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 stale '18-company' references (corpus is now 25; make eval text count-agnostic)
ca49d1a -
Expand corpus to 25 companies (add Apple, Alphabet, Amazon, NVIDIA, Tesla, JPMorgan, Walmart)
6f598ab
-
Update README + evals for 18-company EDGAR corpus; add capability eval (100%) alongside FinanceBench (20%)
47541b7
-
Fix stale sidebar caption: corpus is FY2021-2023, not 2017-2020
be81d7c -
Expand corpus to 18 companies (recent SEC 10-Ks); ship prebuilt index via git-lfs
7ab3f4b -
Add starter-question buttons to UI; add live demo link to README
4eda25e
-
Pin Python 3.12 + verified package versions; store index in /tmp on Linux
b534bcc -
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 -
initial commit
0fa006f -
Duplicate from streamlit/streamlit-template-space
346f08f