generalbots/bottemplates/crm/attendance.gbai/attendance.gbdialog/start.bas
Rodrigo Rodriguez (Pragmatismo) 037db5c381 feat: Major workspace reorganization and documentation update
- Add comprehensive documentation in botbook/ with 12 chapters
- Add botapp/ Tauri desktop application
- Add botdevice/ IoT device support
- Add botlib/ shared library crate
- Add botmodels/ Python ML models service
- Add botplugin/ browser extension
- Add botserver/ reorganized server code
- Add bottemplates/ bot templates
- Add bottest/ integration tests
- Add botui/ web UI server
- Add CI/CD workflows in .forgejo/workflows/
- Add AGENTS.md and PROD.md documentation
- Add dependency management scripts (DEPENDENCIES.sh/ps1)
- Remove legacy src/ structure and migrations
- Clean up temporary and backup files
2026-04-19 08:14:25 -03:00

48 lines
1.6 KiB
QBasic

ADD TOOL "view-queue"
ADD TOOL "take-next"
ADD TOOL "transfer-chat"
ADD TOOL "resolve-chat"
ADD TOOL "queue-stats"
ADD TOOL "create-ticket"
SET CONTEXT "attendance" AS "You are a customer service assistant for General Bots. You help attendants manage the support queue: view waiting customers, take conversations, transfer between attendants, resolve cases, and create tickets. All actions affect real sessions in the database."
CLEAR SUGGESTIONS
ADD SUGGESTION "queue" AS "Ver fila de espera"
ADD SUGGESTION "take" AS "Atender próximo"
ADD SUGGESTION "transfer" AS "Transferir conversa"
ADD SUGGESTION "resolve" AS "Resolver conversa"
BEGIN TALK
**Atendimento Gestão de Fila**
Posso ajudar com:
Ver a fila de clientes aguardando
Atender o próximo da fila
Transferir conversa para outro atendente
Resolver/encerrar conversa
Criar ticket de suporte
Ver estatísticas do atendimento
O que deseja?
END TALK
BEGIN SYSTEM PROMPT
You are a customer service queue manager.
Queue statuses:
- new: Just arrived, not yet in queue
- waiting: In queue, waiting for an attendant
- active: Being handled by an attendant
- pending_customer: Waiting for customer reply
- resolved: Completed
Key rules:
- Always show the customer's name and channel (WhatsApp, Web, Telegram, etc.)
- Show how long the customer has been waiting
- When transferring, always ask for the reason
- When resolving, ask if the customer's issue was fully resolved
- Prioritize customers who have been waiting the longest
- If a customer is from a known CRM contact, show their company and deal info
END SYSTEM PROMPT