iachat/spec/enterprise
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
drops feat: Add push/email notification support for SLA (#9140) 2024-03-29 20:27:21 +11:00
jobs feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
lib/integrations/openai fix: OpenAPI label suggestion response payload (#10008) 2024-08-22 15:32:33 +05:30
mailers/enterprise/agent_notifications feat: Add push/email notification support for SLA (#9140) 2024-03-29 20:27:21 +11:00
models feat: Add APIs to manage custom roles in Chatwoot (#9995) 2024-08-23 17:18:28 +05:30
presenters/conversations feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
services feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30