iachat/enterprise/app/services
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
..
captain feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
enterprise feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
internal chore: Enable plan reconcile in self hosted (#9357) 2024-05-08 14:26:00 -07:00
sla chore: fix sla email notifications (#9192) 2024-04-04 21:16:49 +05:30
page_crawler_service.rb feat: Response Bot using GPT and Webpage Sources (#7518) 2023-07-21 18:11:51 +03:00