Bug Fixes
- ๐ chore(pyproject.toml): remove packages field and fix chatre script path
- ๐ fix(**init**.py): fix import statement for Paper class
- ๐ fix(**main**.py): set width to 80 for RichHelpFormatter
- ๐ fix(**init**.py): import paper and paper_with_image modules
- ๐ fix(chat_paper.py): raise ValueError if args is None
- ๐ fix(chat_paper.py): set language to English if args.language is not "en" or "zh"
- ๐ fix(chat_paper.py): raise ValueError if pdf_path does not exist
- ๐ fix(chat_response.py): raise ValueError if comment_path does not exist
- ๐ fix(chat_arxiv.py): log exception messages correctly
- ๐ fix(chat_arxiv.py): fix report_token_usage import
- ๐ fix(chat_arxiv.py): fix report_token_usage function call
- ๐ fix(chat_arxiv.py): fix logger.info calls to use f-strings
- ๐ fix(chat_arxiv.py): fix logger.info calls to log token usage correctly
- ๐ fix(paper_with_image.py): fix logger.info() calls by adding f-string
- ๐ fix(test_paper.py): fix test_paper and test_paper_with_image tests to use demo.pdf from test/data directory
- ๐ fix(.gitignore): add 'export' to .gitignore
- ๐ fix(chat_paper.py): fix root_path type error
- ๐ fix(paper_with_image.py): add f-string to logger.info to log start_page and end_page variables
- ๐ fix(**main**.py): add logger configuration to stderr
- ๐ fix(chat_arxiv.py): get gitee_key from config dictionary
- ๐ fix(chat_reviewer.py): raise ValueError if args is None
- ๐ fix(**main**.py): remove single quotes from logger format string to fix formatting issue
- ๐ fix(chat_paper.py): remove redundant log message and fix log message format in chat_paper.py
- ๐ fix(export.py): add fallback to markdown if pandoc fails to output pdf
- ๐ fix(reader.py): remove unnecessary translations and add f-strings
Documentation
- ๐ docs(README.md): add project description, installation, usage, license, and contributors sections
- ๐ docs: add demo.pdf test file
- ๐ docs(README.md): update README.md with new usage instructions and subcommands
- ๐ docs(README.md): add links to example markdown and pdf report
Features
- ๐ feat(chat_arxiv.py): add Paper class to handle papers with images
- โจ feat(chat_arxiv.py): add metavar to arguments and improve help messages
- โจ feat(paper_with_image.py): add Paper class to parse pdf and extract paper information and sections. Add get_image_path method to extract the first image from the pdf and save it to a local directory. Add get_chapter_names method to extract chapter names from the pdf. Add get_title method to extract the title of the paper from the pdf.
- โจ feat(chat_paper.py): add support for pytest
- โจ feat(chat_paper.py): add support for pytest-sugar
- โจ feat(chat_paper.py): add support for --max-results argument
- โจ feat(chat_paper.py): add support for --save-image argument
- โจ feat(chat_paper.py): add support for --file-format argument
- โจ feat
- โจ feat(paper_with_image.py): add support for image resizing and saving
- โจ feat(chat_research): add rich traceback to **init**.py
- โจ feat(chat_research): add loguru logger to **main**.py
- โจ feat(paper.py): add title parameter to Paper class constructor
- โจ feat(chat_research/chat_config.py): add config subcommand to create apikey.toml
- Add biorxiv provider
- Add biorxiv provider
- โจ feat(reader.py): add key_words parameter to summary_with_chat, chat_summary, chat_method, and chat_conclusion methods
- Extract base reader
- ๐ feat(noxfile.py): add nox configuration file
- ๐ chore(README.md): add features section and update installation guide
- ๐ chore(README.md): add new features to TODO list
Miscellaneous Tasks
- ๐ง chore(chat_arxiv.py): remove unnecessary blank lines and add metavar to arguments
- ๐ง chore(chat_paper.py): update import statement for Paper class
- ๐ง chore(chat_paper.py): change sort parameter type from enum to string
- ๐ง chore(chat_reviewer.py): update import statement for Paper class
- ๐ง chore(chat_reviewer.py): add default value for review_format parameter
- ๐ง chore(chat_reviewer.py): add metavar for all arguments in add_subcommand function in chat_reviewer.py
- ๐ง chore(chat_response.py): add metavar for all arguments in add_subcommand function in chat_response.py
- ๐ง chore(pyproject.toml): add types-requests package
- ๐ง chore(pre-commit): add isort hook to pre-commit config
- ๐ง chore(pyproject.toml): add isort profile to tool.isort
- ๐ง chore(chat_research): move report_token_usage function to utils.py
- ๐ง chore(paper.py): rearrange imports in alphabetical order
- ๐ chore(utils.py): add function to report token usage
- ๐๏ธ chore(ReviewFormat.txt): delete file
- ๐ง chore(.gitignore): add apikey.toml to ignore list
- ๐ง chore(pyproject.toml): add toml to dependencies
- ๐ง chore(chat_research/**main**.py): add chat_config subcommand
- ๐ง chore(chat_research/chat_arxiv.py): add help message to subcommand
- ๐ง chore(chat_research/chat_paper.py): add help message to subcommand
- ๐ง chore(chat_research/chat_response.py): add help message to subcommand
- ๐ง chore(chat_research/chat_reviewer.py): add help message to subcommand
- ๐ง chore(chat_research/utils.py): change apikey.ini to apikey.toml and add error message
- ๐ง chore(**init**.py): add utils module to **all** list
- ๐ง chore(chat_biorxiv.py): add file-format argument and choices to add_subcommand function
- ๐ง chore(chat_paper.py): add file-format argument and choices to add_subcommand function
- ๐ง chore(export.py): add export function and combine_md function
- ๐ง chore(paper_with_image.py): change logger.info to logger.trace in Paper class
- ๐ง chore(arxiv.py): change \_last_request_dt type to Optional[datetime]
- ๐ chore(release.yml): remove unused check-parent-commit step
- ๐ง chore(pyproject.toml): add nox and nox-poetry dependencies
- ๐ chore(pyproject.toml): update version to 0.1.1
- ๐ chore(pyproject.toml): update version to 0.1.2
- ๐ chore(pyproject.toml): update version to 0.1.3
- ๐ chore(pyproject.toml): bump up version to 0.1.4
Refactor
- ๐ฅ refactor(chat_arxiv.py): remove unused imports and code
- ๐ฅ refactor(chat_arxiv.py): remove unused Paper class and its methods
- ๐จ refactor(chat_reviewer.py): add pydantic validator to check if paper_path exists
- ๐จ refactor(chat_reviewer.py): add default values to some arguments
- ๐จ refactor(paper.py): remove redundant code
- ๐จ refactor(paper_with_image.py): remove main function
- ๐ง chore(chat_research): refactor code to load API keys from configuration file and environment variable
- ๐ง chore(**main**.py): refactor logger initialization and add log-level argument
- ๐จ refactor(reader.py): remove category parameter from BaseReader constructor
- ๐จ refactor(reader.py): remove export_to_markdown method from BaseReader class
Styling
- ๐จ style(**init**.py): reformat import statements
- ๐จ style(**main**.py): reformat import statements
- ๐จ style(app.py): reformat import statements
- ๐จ style(README.md): update badges and format file for better readability
Testing
- ๐ง chore(pyproject.toml): add pytest and pytest-sugar packages
- ๐งช test(test_paper.py): add test for paper_with_image module
- ๐ chore(test_paper.py): move demo.pdf to test/data directory
<!-- generated by git-cliff -->