ml_research_tools.doc#
Document processing tools for ML Research.
- class ml_research_tools.doc.AskDocumentTool(services)[source]#
Bases:
BaseToolTool for interactive chat with document content.
Initialize the tool with default values.
- Parameters:
services (ServiceProvider)
- classmethod add_arguments(parser)[source]#
Add tool-specific arguments to the argument parser.
- Return type:
- Parameters:
parser (ArgumentParser)
Submodules#
has_requests()has_bs4()has_pypdf2()has_tiktoken()DocumentParserTextDocumentParserCodeDocumentParserLatexDocumentParserPDFDocumentParserURLParserget_parser_for_document()generate_document_cache_key()load_document_with_cache()estimate_token_count_with_cache()DocumentChatAskDocumentToolget_venue_pdfs_with_metadata()OpenreviewLoadToolPDFDocumentSearchResultPDFIndexDBPDFIndexTool