The DirectorySearchTool
is a powerful RAG (Retrieval-Augmented Generation) tool designed for semantic searches within a directory’s content.
DirectorySearchTool
crewai_tools
package to start. You can initialize the tool without specifying a directory, enabling the setting of the search directory at runtime. Alternatively, the tool can be initialized with a predefined directory.
directory
: A string argument that specifies the search directory. This is optional during initialization but required for searches if not set initially.