Invalid Path Error using CrewAI Built-In Tools
Hey guys, I'm working on a project that requires 1) parsing through .pdf, .docx and .csv files and 2) extracting relevant information based on the query. I've imported all the SearchTools() for my specific file types, and have them in my crew.py file. For testing purposes, I added a field with the file_path to the file I want to read. However, my end goal is to ensure that user's can type in their file path and query, and the SearchTool() will extract the necessary information based on the file's location. I've tried a couple implementations, but am consistently receiving the same error, which is an invalid file path error. How does the SearchTool() work in terms of the inputs the crew receives at kickoff for file handling and why am I receiving an invalid file path error when it's clearly in my project directory. I used the "crewai create my_project" command, so my project structure is very similar to the one on the CrewAI documentation. The files I am testing are in the "src/data" folder. Here's all my code as well, would appreciate any and all help, please reach out if you have an idea. Thanks and really appreciate this helpful community!