Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@ejfox ejfox released this 21 May 16:17
· 1 commit to main since this release

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

2.0.0

Added

  • Introduced new customization options for the fetchAndSummarizeUrl function, allowing users to specify the OpenAI model, chunk size, summary prompt, maximum summary tokens, and chunk prompt.
  • Added support for passing custom prompts through command-line arguments using the --summaryPrompt and --chunkPrompt flags.
  • Implemented a new main function to handle command-line arguments and initiate the summarization process with user-specified options.

Changed

  • Refactored the codebase to improve readability, maintainability, and performance.
  • Updated the README with detailed usage instructions, examples, and information about the new customization options.
  • Improved error handling and logging throughout the package.

Fixed

  • Resolved issues with text cleaning and chunk splitting to ensure more accurate and consistent summarization results.
  • Fixed a bug where the package would fail to handle certain edge cases gracefully.

Removed

  • Removed deprecated functions and options to streamline the package's API.

This release introduces significant enhancements and new features to provide users with greater flexibility and control over the webpage summarization process. The addition of customization options allows users to fine-tune the summarization behavior according to their specific needs.

Please refer to the updated README for detailed information on how to use the new options and leverage the full potential of the package. If you encounter any issues or have feedback, please open an issue on the package's GitHub repository.

Note: This release contains breaking changes due to the removal of deprecated functions and options. Please review the migration guide in the README for instructions on updating your code to work with version 2.0.0.


21 May 2024

  • refactor: add a lot more configuration to options, add those options as arguments, and document everything better in the README 9039641
  • refactor: move prompt and tokens to options 3c7a7b6
  • Update README.md with video c965433

1.0.3

17 February 2024

  • refactor: try/catch and better error handling and reporting 7d5bf6a
  • Release 1.0.3 efc454b

1.0.2

17 February 2024

1.0.1

17 February 2024

  • add gitignore, package.json c9e8519
  • build: update to latest openai version, clean up summarization, tweak prompt 8d13acc
  • scaffold the start of the browser, though it does not work yet a1404e9