iachat/enterprise/app
Pranav 0b4028b95d
feat: Add support for the references in FAQs (#10699)
Currently, it’s unclear whether an FAQ item is generated from a
document, derived from a conversation, or added manually.

This PR resolves the issue by providing visibility into the source of
each FAQ. Users can now see whether an FAQ was generated or manually
added and, if applicable, by whom.

- Move the document_id to a polymorphic relation (documentable).
- Updated the APIs to accommodate the change.
- Update the service to add corresponding references. 
- Updated the specs.

<img width="1007" alt="Screenshot 2025-01-15 at 11 27 56 PM"
src="https://github.com/user-attachments/assets/7d58f798-19c0-4407-b3e2-748a919d14af"
/>

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2025-01-16 15:27:30 +05:30
..
controllers feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
dashboards chore: Refactor Response Bot Data Schema (#8011) 2023-10-01 19:31:38 -07:00
dispatchers/enterprise feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
drops feat: Add push/email notification support for SLA (#9140) 2024-03-29 20:27:21 +11:00
finders/enterprise feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
helpers/super_admin feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
jobs feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
mailers/enterprise/agent_notifications chore: fix sla email notifications (#9192) 2024-04-04 21:16:49 +05:30
models feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
policies feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
presenters/enterprise/conversations feat: UI to show the SLA threshold in chat screen (#9146) 2024-04-04 15:46:46 +05:30
services feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
views feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30