Skip to content

thomashaddock/pdf_reader_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf_reader_tool

A CrewAI Tool that downloads and extracts text from PDF files stored on Google Drive.

Features

  • Downloads PDFs from Google Drive sharing URLs
  • Extracts text content from all pages
  • Returns formatted markdown output
  • Handles errors gracefully

Installing

Ensure you have Python >=3.10 <3.14 installed on your system. This project uses UV for dependency management and package handling, offering a seamless setup and execution experience.

First, if you haven't already, install uv:

pip install uv

Next, navigate to your project directory and install the dependencies with:

crewai install

Usage

from pdf_reader_tool import PdfReaderTool

pdf_tool = PdfReaderTool()

# Add to your agent
researcher = Agent(
    role='Document Analyst',
    goal='Analyze PDF documents',
    backstory='An expert at extracting insights from documents.',
    tools=[pdf_tool],
    verbose=True
)

Publishing

Collaborate by sharing tools within your organization, or publish them publicly to contribute with the community.

crewai tool publish pdf_reader_tool

Others may install your tool in their crews running:

crewai tool install pdf_reader_tool

Support

For support, questions, or feedback regarding the pdf_reader_tool or CrewAI.

Let's create wonders together with the power and simplicity of crewAI.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages