DOCXSearchTool
We are still working on improving tools, so there might be unexpected behavior or changes in the future.
Description
TheDOCXSearchTool is a RAG tool designed for semantic searching within DOCX documents.
It enables users to effectively search and extract relevant information from DOCX files using query-based searches.
This tool is invaluable for data analysis, information management, and research tasks,
streamlining the process of finding specific information within large document collections.
Installation
Install the crewai_tools package by running the following command in your terminal:Example
The following example demonstrates initializing the DOCXSearchTool to search within any DOCX file’s content or with a specific DOCX file path.Code
Arguments
The following parameters can be used to customize theDOCXSearchTool’s behavior:
Custom model and embeddings
By default, the tool uses OpenAI for both embeddings and summarization. To customize the model, you can use a config dictionary as follows:Code
