DEVELOPER REFERENCE

Documentation & API Hooks

Lightweight REST architecture, client-side event dispatchers, and zero-dependency PHP backend handlers.

Frontend Data Attributes

Control widget opening, context setting, and modal toggles directly in HTML markup using simple attributes like data-chat-trigger and data-chat-topic.

REST Endpoint Payload

Submit asynchronous query requests to your server endpoint via standard POST requests returning clean, lightweight JSON response blocks.

Client Event Hooks

Listen for custom JavaScript window events such as chat:open, chat:message_sent, and chat:escalated to feed your local web analytics.

SQLite Retrieval Schema

Direct table mappings for TF-IDF and BM25 scoring without needing external database drivers or extra extensions.

Integration Architecture Summary

My Chat Assistant relies on vanilla Web APIs and native PHP array responses. All requests are processed synchronously or asynchronously using standard fetch() methods, preventing blocking main-thread UI operations.

Request Full Developer Package