Upload Categories

  1. Export category to .csv file with the following columns:
    • CategoryCode
    • CategoryName
    • ParentCategoryCode
    • Description
  2. Upload the file to a dummy SR as an attachment.
  3. Get the documentIdentifier for the attachment.
  4. Generate a fusion-ai token to initiate the RAG use case and ingest the document.
  5. Initiate the RAG use case:
    POST <env url>/api/fusion-ai/orchestrator/rag/v1/initialization
    payload:{ "useCase": "crm.svc.service_request_triage_agent_classify_sr"}
  6. Add a RAG document:
    POST {{host}}/api/fusion-ai/orchestrator/rag/v1/documents
    Payload:{"usecase": "crm.svc.service_request_triage_agent_classify_sr","fndAttachmentDetails":
    {"apiContextRoot": "crmRestApi","entityId": "<srNumber>","entityName":"<entityname>","childResourceName": "Attachment","documentIdentifier": "<docId>"}}