AI_Robot / app.py

Commit History

removed commit message
ad1b018

Sanjay kumar K commited on

Fix: catch Firebase init errors so chat works even if credentials are invalid
1cc6e5f

Sanjay kumar K Claude Sonnet 4.6 commited on

Re-apply Firebase Firestore lead storage integration
aa8d161

Sanjay kumar K Claude Sonnet 4.6 commited on

Add Firebase Firestore integration for persistent lead storage
d41946a

Sanjay kumar K Claude Sonnet 4.6 commited on

Add full contact details (address) to bot responses and contact rule
9f9d99e

Sanjay kumar K Claude Sonnet 4.6 commited on

Groq model update and environment variable override
0ff78bd

Sanjay kumar K commited on

Fix: check error type before printing traceback — no noise for known errors
c494fe8

Sanjay kumar K commited on

Fix: handle network/connection errors gracefully instead of 500 crash
5afcfc1

Sanjay kumar K commited on

Update widget.js to match new UI + add /leads endpoint for captured contacts
781da9a

Sanjay kumar K commited on

Add multi-key Groq rotation, session cleanup, smarter FAISS chunking
08a2a8d

Sanjay kumar K commited on

Fix: correct local port in docstring to 8500
3bb92f8

Sanjay kumar K commited on

Fix: use system+human message structure to stop prompt leaking in responses
992abeb

Sanjay kumar K commited on

Fix: handle greetings naturally instead of treating them as out-of-scope
9e62d1b

Sanjay kumar K commited on

Fix: stop greeting user on every reply
1cd67a6

Sanjay kumar K commited on

Remove office hours from all bot responses
62dcf9f

Sanjay kumar K commited on

Fix host: bind to 0.0.0.0 so HuggingFace can reach the app
3587236

Sanjay kumar K commited on

Simplify to single Groq API key
0c8ec61

Sanjay kumar K commited on

Fix UnboundLocalError: declare _retriever,_prompt global in chat()
8fa113c

Sanjay kumar K commited on

Speed up startup: lazy-load embedding model on first request
7b10ede

Sanjay kumar K commited on

Fix SyntaxError: move global declaration to top of chat function
ddf3a73

Sanjay kumar K commited on

Add multi-key Groq fallback + embeddable widget.js for vibhusolutions.com
3f31663

Sanjay kumar K commited on

url update
66e5034

Sanjay kumar K commited on

Revert to Groq: OpenAI quota exceeded, use llama-3.1-8b-instant free tier
9c76a46

Sanjay kumar K commited on

Switch LLM: Groq -> OpenAI gpt-4o-mini
9ce2056

Sanjay kumar K commited on

Fix rate limit: switch to llama-3.1-8b-instant (500K TPD), handle 429 gracefully, clean hero page
24ed9f4

Sanjay kumar K commited on

Fix agent: correct business name, stop history leakage, smart lead capture
1ea5d49

Sanjay kumar K Claude Sonnet 4.6 commited on

Add Vibhu Solutions AI Agent
c5ffa21

Sanjay kumar K commited on

ui update
1846b00

Sanjay kumar K commited on

fist update
9c224f1

Sanjay kumar K commited on