The PDFSearchTool
is designed to search PDF files and return the most relevant results.
PDFSearchTool
We are still working on improving tools, so there might be unexpected behavior or changes in the future.
The PDFSearchTool is a RAG tool designed for semantic searches within PDF content. It allows for inputting a search query and a PDF document, leveraging advanced search techniques to find relevant content efficiently. This capability makes it especially useful for extracting specific information from large PDF files quickly.
To get started with the PDFSearchTool, first, ensure the crewai_tools package is installed with the following command:
Here’s how to use the PDFSearchTool to search within a PDF document:
pdf
: Optional The PDF path for the search. Can be provided at initialization or within the run
method’s arguments. If provided at initialization, the tool confines its search to the specified document.By default, the tool uses OpenAI for both embeddings and summarization. To customize the model, you can use a config dictionary as follows:
The PDFSearchTool
is designed to search PDF files and return the most relevant results.
PDFSearchTool
We are still working on improving tools, so there might be unexpected behavior or changes in the future.
The PDFSearchTool is a RAG tool designed for semantic searches within PDF content. It allows for inputting a search query and a PDF document, leveraging advanced search techniques to find relevant content efficiently. This capability makes it especially useful for extracting specific information from large PDF files quickly.
To get started with the PDFSearchTool, first, ensure the crewai_tools package is installed with the following command:
Here’s how to use the PDFSearchTool to search within a PDF document:
pdf
: Optional The PDF path for the search. Can be provided at initialization or within the run
method’s arguments. If provided at initialization, the tool confines its search to the specified document.By default, the tool uses OpenAI for both embeddings and summarization. To customize the model, you can use a config dictionary as follows: