Why is my agent not fetching data from the document added to it?

Check if you've marked your document as published. If not, publish your document. To do so, from the Tools tab in AI Agent Studio, set the status of your document as Ready to Publish. Changing the status initiates the Process Agent Documents scheduled process. After the scheduled process completes, your document status is automatically changed to Published.

If your document status hasn't changed to Published even after five minutes, that means the scheduled process might have failed to trigger or complete. To resolve, do these steps:

  1. Make sure your user has the oraCommonFusionAISecurityAuthorization_create_Rag_OraResource permission assigned.
  2. From the Tools tab in AI Agent Studio, edit your document tool and change the status of your document from Ready to Publish to Draft.
  3. Save the document tool.
  4. Now, again change the status of your document back to Ready to Publish.
  5. Save again to trigger the scheduled process.

For information about creating documents to be uploaded to the Document tool, see Create Documents to Add to Document Tool.