Skip to content

feat(default_tools): add FileReaderTool for reading file content and document reading support in VisitWebpageTool #1327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KingNish24
Copy link

Introduce a new FileReaderTool that reads file content, if file is document ( like pdf, ppt, docx, etc.) than it converts it to markdown format. The tool supports truncation of content exceeding a specified maximum length and handles file not found errors gracefully. Also, updated VisitWebpageTool to also use markitdown library. So, now it can also read docs/pdfs from url's.

Introduce a new FileReaderTool that reads file content, if file is document ( like pdf, ppt, docx, etc.) than it converts it to markdown format. The tool supports truncation of content exceeding a specified maximum length and handles file not found errors gracefully. Also, updated VisitWebpageTool to also use markitdown library. So, now it can also read docs/pdfs from url's.
@KingNish24
Copy link
Author

@aymeric-roucher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant