Chat-research

Latest version: v0.1.13

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.1.5

Bug Fixes

- ๐Ÿ“ docs(README.md): update project description and fix broken links
- ๐Ÿ“ docs(README.md): improve readability and fix typos

Documentation

- ๐Ÿ“ docs: add Repobeats analytics image to README.md
- ๐Ÿ“ docs: add Acknowledgement section to README.md

Features

- ๐Ÿš€ feat: add homepage, repository, documentation, and classifiers to pyproject.toml
- ๐Ÿš€ feat: add classifiers to pyproject.toml
- ๐Ÿš€ feat(README.md): add 'Add gif' to the feature list

Miscellaneous Tasks

- ๐Ÿ”ง chore: update license to MIT License
- ๐Ÿšš chore(chat_config.py): rename 'config your apikey' to 'Generate configuration file'
- ๐Ÿšš chore(utils.py): rename 'apikey.toml' to 'chatre.toml' and add CONFIG_FILE_NAME constant
- ๐Ÿ”– chore(pyproject.toml): bump up version to 0.1.5

Testing

- ๐Ÿ”ง chore(pre-commit): update black and ruff hooks to latest versions

0.1.4

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 -->

Page 2 of 2

ยฉ 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.