Aimpress_site/chatbot-api
Vadym Samoilenko a8e8d8a71b Add lead collection form before chat + fix RC bot message delivery
- New ChatLeadForm component: collects name, email, company before chat starts
- GDPR consent checkbox with Privacy Policy link
- Lead info passed to backend and injected as LLM context
- Visitor name from form used in Rocket.Chat room
- RC bot messages: added logging + fallback to livechat/message endpoint
- RC room caching to avoid repeated API calls

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 18:02:08 +00:00
..
config.py Fix Claude model name to claude-sonnet-4-6 2026-03-08 17:31:59 +00:00
Dockerfile Add AI chatbot: FastAPI backend + React chat widget 2026-03-08 17:14:07 +00:00
knowledge.py Fix chatbot: always return follow-up after lead capture + add Cal.com booking link 2026-03-08 17:37:56 +00:00
llm.py Fix chatbot: always return follow-up after lead capture + add Cal.com booking link 2026-03-08 17:37:56 +00:00
main.py Add lead collection form before chat + fix RC bot message delivery 2026-03-08 18:02:08 +00:00
models.py Add lead collection form before chat + fix RC bot message delivery 2026-03-08 18:02:08 +00:00
requirements.txt Add AI chatbot: FastAPI backend + React chat widget 2026-03-08 17:14:07 +00:00
rocketchat.py Add lead collection form before chat + fix RC bot message delivery 2026-03-08 18:02:08 +00:00
security.py Add AI chatbot: FastAPI backend + React chat widget 2026-03-08 17:14:07 +00:00