Merchants
RealtimeTurn real merchant chats into structured learnings and approved AI knowledge.
This workspace reads your existing chat threads, lets you extract training signals, and moves approved answers into a trusted knowledge base for AI Staff.
Current source
chats
Chat Threads
Realtime—
Pending Learnings
Review—
Approved Knowledge
Trusted—
Training Pipeline
How AI Staff learns in this app
Select a real chat thread
Use the existing merchant-user chat conversations as source material.
Create a learning record
Extract the intent, prior answer, customer reply, and corrected final answer.
Add direct admin knowledge
Admins can type approved question-and-answer pairs directly into the knowledge base.
Approve into knowledge
Only trusted records become AI Staff knowledge for future use.
Current Focus
Training-only workspace
No live reply controls here
This app is only for training, learnings, and approved knowledge management.
Scope lockedUses existing chat infrastructure
The training app reads from your current chats collection and messages subcollections.
Source of truthDirect admin input supported
Knowledge can now come from manual admin-approved Q&A, not only from chat learnings.
Manual knowledge enabledGovernance
Training guardrails
Realtime Health
Connection state
Merchant Chat Inbox
Realtime threads from chats
Conversation
Select a chat
Here is the final trusted knowledge that the AI can use.
This page is part of training. The Training tab creates learnings, while the Knowledge tab stores the approved answers, manual admin Q&A, and cleaned business rules that become the usable knowledge base of AI Staff.
Approved Knowledge
Trusted business answers
Knowledge Editor
Manual admin question and answer
Pending Learnings
Approval queue
How this helps the AI
Knowledge strategy
Manual knowledge
Use this for FAQs, policies, delivery rules, payment instructions, schedule answers, and standard replies that should be trusted immediately.
Approved learnings
Use pending learnings from chats when you want the AI to learn from a real customer interaction and a corrected final response.
Final output
The AI should base answers on what is approved here, not on raw chat guesses or unreviewed learnings.
Training Source
Selected chat context
Latest customer message
—
Previous merchant / AI-style reply
—
Create Learning
Save a pending training record
Test Console
Prompt the AI staff
Sample Output
AI response preview
Internal Access
Firebase sign in
Collection Mapping
Current Firestore paths
This app reads from chats and saves structured learning records into ai_staff_learnings, then approved records and manual Q&A into ai_staff_knowledge.