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, and then run the Process Agent Documents scheduled process. After the scheduled process completes, from the Tools tab, select your document, and set its status as Published.

Also remember, the best practice is to create one Document tool per logical document. For example:
  • Java Resumes Tool - One logical document containing all Java resumes.
  • Python Resumes Tool - One logical document containing all Python resumes.