AI_Chatbot / app.py

Commit History

fix: add safe analytics floor repair endpoint
a2f56b2

Hamza-Naimat commited on

fix: stabilize analytics totals across warm containers
7c6dc69

Hamza-Naimat commited on

fix: initialize new tenant during catalog ingest
8dbe23e

Hamza-Naimat commited on

fix: allow stable widget route in client iframes
79e6ae5

Hamza-Naimat commited on

production: harden catalog tenants analytics and widget install
59bd3b5

Hamza-Naimat commited on

ingest: slice deterministic adds under chroma max batch (7k+ product catalogs)
c1272d7

Hamza-Naimat Claude Fable 5 commited on

outreach tracking: /px email-open pixel + widget-load logging per db
d28a3f6

Hamza-Naimat Claude Fable 5 commited on

product DBs: scope-declined shopping questions answer as honest catalog miss
13ca82d

Hamza-Naimat Claude Fable 5 commited on

scheduler: reload volume view each tick
39ffa91

Hamza-Naimat Claude Fable 5 commited on

startup: never rewind an overdue auto-crawl timestamp to now
259ac3b

Hamza-Naimat Claude Fable 5 commited on

auto-crawl: don't fail auto-ingest DBs on empty prose-URL discovery
45750d0

Hamza-Naimat Claude Fable 5 commited on

widget keys: arbitrary N-day TTL + refuse minting for unknown db
8556daf

Hamza-Naimat Claude Fable 5 commited on

admin: accept 'db' query param alias in _extract_admin_db
4346742

Hamza-Naimat Claude Fable 5 commited on

polish for client go-live: contact-request identity fix, leads viewer, ingest-fail alert, nvidia provider
6e3adf6

Hamza-Naimat Claude Fable 5 commited on

tenant routing: never serve a warm container's stale local_db to another tenant
831d7a8

Hamza-Naimat Claude Fable 5 commited on

G4 policy prompt: balance answer-from-policy vs over-assertion + stop label leak
5619c4f

Hamza-Naimat Claude Opus 4.8 commited on

G4 policy + G5 count_split determinism (100Q Q22/23/69/71)
d316add

Hamza-Naimat Claude Opus 4.8 commited on

fix: drop conversation history from product-DB LLM prose fallback (history-leak guard)
e357f0f

Hamza-Naimat Claude Opus 4.8 commited on

fix: report persisted active db on cold health
d1c250d

Hamza-Naimat commited on

fix: apply persisted active db before startup health
6879bda

Hamza-Naimat commited on

fix: return exact catalog answer sources
86b3af2

Hamza-Naimat commited on

fix: load active db when stored vectors exist
bd2a910

Hamza-Naimat commited on

fix: stabilize tenant routing and active db persistence
87ac153

Hamza-Naimat commited on

chat: scope bot to the logged-in admin/client DB (X-Admin-DB), not global active
d5b330f

Hamza-Naimat Claude Opus 4.8 commited on

admin: surface collection coverage in db-stats + panel badge
12511b8

Hamza-Naimat Claude Opus 4.8 commited on

catalog ingest: never silently drop sidebar collections under store throttling
391251d

Hamza-Naimat Claude Opus 4.8 commited on

app: leadbox criteria, per-DB Auto-Ingest, tenant analytics, volume-reload fix
66b8a57

Hamza-Naimat Claude Opus 4.8 commited on

eval panel: fix custom-tests 500, judge-key UX, product-question generation
d707010

Hamza-Naimat Claude Opus 4.8 commited on

perf(chat): live token streaming for docs DBs (TTFT p50 9.2s->6.8s under load)
c9c0107

Hamza-Naimat Claude Opus 4.8 commited on

security: production hardening β€” tenant isolation, email XSS, write limits, CSP
b86f0fd

Hamza-Naimat Claude Opus 4.8 commited on

rate-limit: sharded G-Counter daily budget (v1 single counter was raced)
7c3e2f6

Hamza-Naimat Claude Opus 4.8 commited on

rate-limit: global per-client daily budget via modal.Dict
d5e2579

Hamza-Naimat Claude Opus 4.8 commited on

scale: multi-tenant rate limits + per-client daily budget + row cache
9154113

Chatbot Deploy Claude Opus 4.8 commited on

fix(robustness): close 3 weakness CLASSES found by hamzastore hard eval
71e08c7

Hamza-Naimat Claude Opus 4.8 commited on

feat(gate): productionize answer-quality quiz as hard publish threshold
8831a55

Hamza-Naimat Claude Opus 4.8 commited on

feat(rag+safety): universal named-product abstention, RRF recall, injection-leak fix
8021ac8

Hamza-Naimat Claude Opus 4.8 commited on

feat(chat): request-scoped follow-up coreference + superlative/greeting parse fixes
b7d59f3

Hamza-Naimat Claude Opus 4.8 commited on

crawl: universal schema.org microdata product extraction (no per-DB code)
fda2c67

Hamza-Naimat Claude Opus 4.8 commited on

llm_keys: provider-diversified retries β€” skip a failed provider on next attempt
f4877da

Hamza-Naimat Claude Opus 4.8 commited on

admin: per-DB client password = DB name + owner view follows active DB
71c98ac

Hamza-Naimat Claude Opus 4.8 commited on

Crawler: fix product over-classification, --clear seen-cache, WooCommerce URLs
104a091

Hamza-Naimat Claude Opus 4.8 commited on

Wire catalog_ingest into _auto_crawl_db + fix double-encoded HTML entity junk
2771b56

Hamza-Naimat Claude Opus 4.8 commited on

catalog_ingest: also clear catalog/category HTML chunks on re-ingest
9b4a65e

Hamza-Naimat Claude Opus 4.8 commited on

crawl: drop storefront utility pages (cart/checkout/account) β€” gate quarantine fix
6500ef8

Hamza-Naimat Claude Opus 4.8 commited on

fix: make modal crawls durable under large writes
1b1b4a6

Hamza-Naimat commited on

gate: enforce crawl_gate as QUARANTINE before customer publish
79fc1c4

Hamza-Naimat Claude Opus 4.8 commited on

fix: harden modal crawl reload path
6a21904

Hamza-Naimat commited on

fix: stabilize chroma temp reload during crawl
af6d0f4

Hamza-Naimat commited on

gate: content-coverage invariant + cross-batch ID dedup robustness
f906649

Hamza-Naimat Claude Opus 4.8 commited on

crawl: dedup chunk IDs within batch to stop whole-batch drops
7c306c2

Hamza-Naimat Claude Opus 4.8 commited on