Aug 7 - Update: knowledge base MT19
This commit is contained in:
@@ -34,6 +34,12 @@
|
||||
placeholder="Add facts, FAQs, or instructions the AI should know about this customer's account…"></textarea>
|
||||
<div class="form-text">Keep entries focused and factual. Combined active entries are capped at 6,000 characters.</div>
|
||||
</div>
|
||||
<div class="mb-3" style="max-width:200px;">
|
||||
<label class="form-label fw-semibold">Sort Order</label>
|
||||
<input type="number" name="sort_order" class="form-control"
|
||||
min="0" max="9999" step="1" value="0">
|
||||
<div class="form-text">Lower numbers are sent to the assistant first. Leave at 0 unless an entry should take priority.</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-sm">
|
||||
<i class="bi bi-plus me-1"></i>Add Entry
|
||||
</button>
|
||||
@@ -54,6 +60,7 @@
|
||||
<div class="d-flex justify-content-between align-items-start">
|
||||
<div class="flex-grow-1 me-3">
|
||||
<div class="d-flex align-items-center gap-2 mb-1">
|
||||
<span class="badge bg-light text-dark border" title="Sort order">#{{ entry.sort_order }}</span>
|
||||
<span class="fw-semibold">{{ entry.title }}</span>
|
||||
{% if entry.active %}
|
||||
<span class="badge bg-success">Active</span>
|
||||
|
||||
@@ -23,6 +23,12 @@
|
||||
<textarea name="body" class="form-control" rows="8" required>{{ entry.body }}</textarea>
|
||||
<div class="form-text">Combined active entries are capped at 6,000 characters in the AI prompt.</div>
|
||||
</div>
|
||||
<div class="mb-3" style="max-width:200px;">
|
||||
<label class="form-label fw-semibold">Sort Order</label>
|
||||
<input type="number" name="sort_order" class="form-control"
|
||||
min="0" max="9999" step="1" value="{{ entry.sort_order }}">
|
||||
<div class="form-text">Lower numbers are sent to the assistant first. Leave at 0 unless an entry should take priority.</div>
|
||||
</div>
|
||||
<div class="d-flex gap-2">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
<i class="bi bi-check-lg me-1"></i>Save Changes
|
||||
|
||||
Reference in New Issue
Block a user