Agent setup and configuration

Hi I have recently faced this problem.

You can use the Knowledge - CrewAI knowledge feature but this has native support for PDF, CSV, TXT, Excel but lacks the docx support. You can use Docling (CrewDoclingSource) but I have not had a lot of success with this. You can use DOCX RAG Search - CrewAI Docx search and this acts as a form of RAG so useful but not brilliant.

In the end i converted all my DOCX and PDF to txt files to make them work, but you could convert to PDF in a work flow.

So in summary:

Option 1 use the DOCX RAG Search - CrewAI and configure your task yaml to search for files in your /knowledge directory.

Option 2 convert to text and then use TextFileKnowledgeSource (Knowledge - CrewAI)

Play around with both and find a methods that works for your particular problem.

Request for CrewAI : Can we have .docx added natively as I have found Docling to be slow Knowledge - CrewAI please :slight_smile:

1 Like