Knowledge Base

The AI draws from two knowledge sources when generating responses:

1. Admin-learned knowledge

Short, admin-verified Q&A pairs learned from ticket conversations. Built over time by:

2. General knowledge files

.txt files uploaded under AI → Dosyalar. Used as factual context for AI answers.

Best practices:

Priority order

  1. Admin precedents (highest) — override general knowledge
  2. General knowledge files — baseline context
  3. Recent announcements — timestamped (older than 7 days gets a "past announcement" marker)
  4. User memory — recent conversation context
  5. User profile — history with this user

FAQ cache

Common questions get cached for 48 hours (configurable). Cache hits skip the AI call entirely — saves cost and latency.

Cache invalidation happens when:

Learning filter

Not every admin reply becomes a learning candidate. The bot filters out:

This ensures the knowledge base stays focused and high-signal.