Best Practices
Follow these guidelines to effectively manage acronyms and query expansions for optimal chatbot performance.
Acronym Best Practicesโ
1. Be Comprehensiveโ
Include all acronyms users might encounter:
- Program abbreviations (HFIM, FACS)
- Department codes
- Common organizational acronyms
- Role abbreviations (GA, RA, PI)
2. Use Accurate Definitionsโ
Definitions should be:
- Complete: Full official name
- Current: Updated when organizations rename
- Consistent: Same format across entries
Good: "College of Agricultural and Environmental Sciences" Bad: "Ag college" or "CAES college"
3. Organize with Categoriesโ
Use categories to manage large lists:
| Category | Use For |
|---|---|
| Department | Academic departments |
| Program | Degree programs |
| College | Colleges and schools |
| Organization | External organizations |
| Role | Position abbreviations |
4. Avoid Duplicatesโ
Before adding an acronym:
- Search to see if it exists
- Check for slight variations
- Update existing entry if needed
Query Expansion Best Practicesโ
1. Target Problem Areasโ
Add expansions for:
- Terms that consistently cause search misses
- Domain-specific jargon
- Role titles and organizational terms
- Common synonyms in your field
2. Keep Expansions Focusedโ
Good expansion: "runs" โ "director head coordinator" Too broad: "runs" โ "director head coordinator manager supervisor lead chief boss"
More terms isn't always better - it can reduce result precision.
3. Test Before and Afterโ
When adding expansions:
- Test a sample question WITHOUT the expansion
- Note what results are missing
- Add the expansion
- Reload cache and test again
- Verify improvement
4. Use Appropriate Typesโ
Type classification helps with:
- Organization and filtering
- Understanding expansion purpose
- Future maintenance
General Guidelinesโ
Regular Maintenance Scheduleโ
Monthlyโ
- Review recently added acronyms
- Check for unused entries
- Update outdated definitions
Semesterโ
- Comprehensive acronym review
- Check for organizational changes
- Update Extension-specific terms
Reload Cache After Changesโ
Always click Reload Cache after:
- Adding new entries
- Editing existing entries
- Deleting entries
- Any batch updates
Changes don't take effect until reloaded.
Document Your Decisionsโ
Use the Description field for expansions to note:
- Why the expansion was added
- What search problem it solves
- When it was last reviewed
Common Mistakes to Avoidโ
Mistake 1: Forgetting to Reloadโ
Problem: Changes appear saved but aren't working.
Solution: Always click Reload Cache after making changes.
Mistake 2: Over-Expandingโ
Problem: Too many expansion terms dilute search relevance.
Solution: Limit expansions to 3-5 highly relevant terms.
Mistake 3: Inconsistent Categoriesโ
Problem: Same type of acronyms in different categories.
Solution: Review existing categories before creating new ones.
Mistake 4: Ignoring Contextโ
Problem: Acronym has different meanings in different contexts.
Solution: Use the most common meaning for your domain. Add clarifying text if needed.
Mistake 5: Not Testingโ
Problem: Added expansion but didn't verify it helps.
Solution: Always test with real questions before and after changes.
Integration with Other Featuresโ
Acronyms + Cacheโ
When creating cache entries:
- Users might ask with acronyms
- Include acronym variations in your question variations
- Test cache matching with acronym versions
Expansions + Popular Questionsโ
Review Popular Questions for:
- Questions using terms you should expand
- Missing results due to terminology gaps
- Patterns suggesting new expansions needed
Analyzing Conversationsโ
Check Conversations for:
- Questions with poor results (expansion candidates)
- Acronyms users are using
- Terminology patterns
Performance Considerationsโ
Memory Usageโ
- Each expansion adds to memory usage
- Hundreds of entries are fine
- Thousands may impact performance
- Clean up unused entries periodically
Search Impactโ
- More expansions = broader search
- Broader search = more results to rank
- Balance coverage with precision
- Test search quality after bulk additions
Measuring Successโ
Signs of Good Configurationโ
- Users find answers regardless of terminology
- Search results are relevant
- Cache hit rates are high
- Few complaints about "doesn't understand"
Signs of Problemsโ
- Users re-asking with different terms
- Search results seem random
- Cache entries not matching similar questions
- Feedback about chatbot "not understanding"
Checklist for New Acronymsโ
- Search for existing entry first
- Use full official definition
- Assign appropriate category
- Click Save
- Click Reload Cache
- Test with sample question
Checklist for New Expansionsโ
- Identify the search problem
- Test query without expansion
- Choose appropriate type
- Keep expansion terms focused (3-5)
- Add helpful description
- Save and Reload Cache
- Test query with expansion
- Verify improvement
Related Resources: