IT Chatbot Configuration
Overview
This skill covers chatbot configuration and management for the ConstructAI platform. It encompasses chatbot setup, state-aware assistant configuration, prompt tuning, discipline integration, knowledge base management, and conversational flow design. Primary agent: 02050-009 ChatBot Engineer. Supporting skills: domainforge_ai/voice-command-integration.
Triggers
- New discipline page needs chatbot integration
- Existing chatbot requires performance tuning
- Conversational flow update needed
- Knowledge base update required
- New chat type (document, agent, workspace) needs configuration
- User feedback indicates conversation quality issues
Prerequisites
- Chatbot infrastructure deployed and accessible
- Discipline domain knowledge available
- ChatbotBase component integrated in page
- LLM configuration established
- Knowledge base or vector database available for RAG
Steps
Step 1: Chatbot Type Assessment
- Identify chat type needed (document, agent, upsert, workspace)
- Determine discipline context and code
- Identify user roles and permissions
- Review existing chatbot implementations for similar disciplines
Step 2: State-Aware Configuration
- Configure chatbot to detect page state (agents, upsert, workspace)
- Define state-specific system prompts
- Define state-specific capability boundaries
- Configure state transition handling
- Test state detection accuracy
Step 3: Prompt Configuration
- Select appropriate system prompt template
- Inject discipline-specific context (domain knowledge, glossary)
- Configure assistant name and persona
- Define response boundaries (what chatbot can and cannot do)
- Add safety boundaries from domain knowledge
Step 4: Knowledge Base Integration
- Configure RAG pipeline connection
- Select relevant document collections for discipline
- Configure retrieval parameters (top-k, similarity threshold)
- Test retrieval accuracy with sample queries
Step 5: Conversation Flow Design
- Design greeting and initial prompt
- Design response structure for common query types
- Design error handling (no results, ambiguous query, out of scope)
- Design escalation path to human when needed
Step 6: Testing & Validation
- Test with sample queries for each state
- Test with out-of-scope queries — verify boundary enforcement
- Test with ambiguous queries — verify clarification requests
- Test state transitions — verify chatbot adapts correctly
- Test knowledge retrieval — verify RAG accuracy
Step 7: Monitoring & Tuning
- Configure conversation tracking and analytics
- Configure user feedback collection
- Identify low-quality conversation patterns
- Tune prompts, retrieval parameters, and boundaries
- Update knowledge base with new information
Success Criteria
- Chatbot correctly detects page state and adapts response
- System prompt includes discipline-specific context
- RAG retrieval returns relevant results 90%+ of the time
- Out-of-scope queries handled with appropriate escalation
- Conversation boundaries enforced
- User feedback collected and incorporated
Common Pitfalls
- Incorrect state detection: Ensure state detection logic covers all page states
- Overconfident responses: Configure uncertainty disclosure when knowledge is incomplete
- Missing boundaries: Explicitly define what chatbot cannot do (modify data, approve deployments)
- Knowledge base staleness: Schedule regular knowledge base updates
- Retrieval accuracy: Tune top-k and similarity threshold per discipline
- No fallback: Always provide human escalation path
Cross-References
it-agent-coordination/SKILL.md — Multi-agent chatbot orchestration
it-documentation-generation/SKILL.md — Knowledge base document generation
domainforge_ai/voice-command-integration/SKILL.md — Voice integration patterns
Usage
Apply this skill when configuring chatbots for new discipline pages, tuning existing chatbot performance, or updating conversational flows and knowledge bases.
Metrics
- State Detection Accuracy: 95%+ correct state identification
- RAG Retrieval Accuracy: 90%+ relevant results in top-3
- Response Quality Score: 85%+ of responses rated satisfactory by users
- Boundary Enforcement: 100% of out-of-scope queries handled appropriately
- Escalation Success: 90%+ of escalated issues resolved by human within SLA
1---2name: it-chatbot-configuration3description: Skill for chatbot setup, prompt tuning, state-aware assistant configuration, and discipline integration for the ConstructAI platform4---56# IT Chatbot Configuration78## Overview910This skill covers chatbot configuration and management for the ConstructAI platform. It encompasses chatbot setup, state-aware assistant configuration, prompt tuning, discipline integration, knowledge base management, and conversational flow design. Primary agent: 02050-009 ChatBot Engineer. Supporting skills: `domainforge_ai/voice-command-integration`.1112## Triggers1314- New discipline page needs chatbot integration15- Existing chatbot requires performance tuning16- Conversational flow update needed17- Knowledge base update required18- New chat type (document, agent, workspace) needs configuration19- User feedback indicates conversation quality issues2021## Prerequisites2223- Chatbot infrastructure deployed and accessible24- Discipline domain knowledge available25- ChatbotBase component integrated in page26- LLM configuration established27- Knowledge base or vector database available for RAG2829## Steps3031### Step 1: Chatbot Type Assessment32- Identify chat type needed (document, agent, upsert, workspace)33- Determine discipline context and code34- Identify user roles and permissions35- Review existing chatbot implementations for similar disciplines3637### Step 2: State-Aware Configuration38- Configure chatbot to detect page state (agents, upsert, workspace)39- Define state-specific system prompts40- Define state-specific capability boundaries41- Configure state transition handling42- Test state detection accuracy4344### Step 3: Prompt Configuration45- Select appropriate system prompt template46- Inject discipline-specific context (domain knowledge, glossary)47- Configure assistant name and persona48- Define response boundaries (what chatbot can and cannot do)49- Add safety boundaries from domain knowledge5051### Step 4: Knowledge Base Integration52- Configure RAG pipeline connection53- Select relevant document collections for discipline54- Configure retrieval parameters (top-k, similarity threshold)55- Test retrieval accuracy with sample queries5657### Step 5: Conversation Flow Design58- Design greeting and initial prompt59- Design response structure for common query types60- Design error handling (no results, ambiguous query, out of scope)61- Design escalation path to human when needed6263### Step 6: Testing & Validation64- Test with sample queries for each state65- Test with out-of-scope queries — verify boundary enforcement66- Test with ambiguous queries — verify clarification requests67- Test state transitions — verify chatbot adapts correctly68- Test knowledge retrieval — verify RAG accuracy6970### Step 7: Monitoring & Tuning71- Configure conversation tracking and analytics72- Configure user feedback collection73- Identify low-quality conversation patterns74- Tune prompts, retrieval parameters, and boundaries75- Update knowledge base with new information7677## Success Criteria7879- Chatbot correctly detects page state and adapts response80- System prompt includes discipline-specific context81- RAG retrieval returns relevant results 90%+ of the time82- Out-of-scope queries handled with appropriate escalation83- Conversation boundaries enforced84- User feedback collected and incorporated8586## Common Pitfalls87881. **Incorrect state detection**: Ensure state detection logic covers all page states892. **Overconfident responses**: Configure uncertainty disclosure when knowledge is incomplete903. **Missing boundaries**: Explicitly define what chatbot cannot do (modify data, approve deployments)914. **Knowledge base staleness**: Schedule regular knowledge base updates925. **Retrieval accuracy**: Tune top-k and similarity threshold per discipline936. **No fallback**: Always provide human escalation path9495## Cross-References9697- `it-agent-coordination/SKILL.md` — Multi-agent chatbot orchestration98- `it-documentation-generation/SKILL.md` — Knowledge base document generation99- `domainforge_ai/voice-command-integration/SKILL.md` — Voice integration patterns100101## Usage102103Apply this skill when configuring chatbots for new discipline pages, tuning existing chatbot performance, or updating conversational flows and knowledge bases.104105## Metrics106107- **State Detection Accuracy**: 95%+ correct state identification108- **RAG Retrieval Accuracy**: 90%+ relevant results in top-3109- **Response Quality Score**: 85%+ of responses rated satisfactory by users110- **Boundary Enforcement**: 100% of out-of-scope queries handled appropriately111- **Escalation Success**: 90%+ of escalated issues resolved by human within SLA