obsidian-textgenerator-plugin

Text generator is a handy plugin for Obsidian that helps you generate text content using GPT-3 (OpenAI).

MIT License

Stars
1.3K
Committers
21

Bot releases are visible (Hide)

obsidian-textgenerator-plugin - 0.5.12

Published by github-actions[bot] 12 months ago

v0.5.12 Release Notes

We are excited to announce the stable release of v0.5.12 for the Obsidian TextGenerator Plugin! This version brings several key enhancements, bug fixes, and new features designed to improve your experience and increase flexibility.

Highlights of v0.5.12:

  • Support for gpt-4-1106-preview (gpt4 turbo): The plugin now supports the latest GPT-4 model with turbo capabilities, offering more powerful and efficient text generation within Obsidian.

  • Extensive Language Model Compatibility: Enjoy flexibility with support for a diverse range of language models, including gpt3.5, gpt4, gpt-3.5-instruct, claude, bard, and llama using Langchain.

  • Add Playground: We've refined the playground UI to create a more visually appealing and user-friendly experience when crafting prompts and viewing responses.

  • Better Settings: Visually appealing and user-friendly experience for the settings with search.

  • Advanced Variable Access: All variables are now accessible within custom Instruct templates, providing you with greater control over dynamic content generation.

  • Advanced Template Engine: Elevate your productivity with dynamic Templates (Handlebars & Javascript) with chaining that simplify and enhance your note-taking routine.

  • Open Template as Tool : Open Template as Tool is an innovative solution designed to streamline your workflow by integrating templates directly into your desktop environment. This tool ensures your templates are accessible and editable in real time, atop any application you might be using.

  • New Helpers for Enhanced Processing:

    • encodeURI helper for better URI encoding.
    • regex helper introduced for sophisticated text manipulation.
    • Each helper updated to handle objects as well as arrays.
  • Efficient Data Handling: Enhanced variable extractions using Handlebars templates make data management more streamlined and powerful.

  • Optimizations and Bug Fixes: A range of optimizations have been implemented to ensure smoother performance, alongside numerous bug fixes that address issues from previous versions.

Other Notable Changes:

  • Default setting for "free cursor" is now false, enhancing user experience by avoiding unexpected cursor movements.

  • Improved slow-loading page handling, with specific attention to platforms like Twitter and Reddit.

  • Deprecated the term "engine" in favor of "model" across documentation and settings for better clarity.

  • New read, write, and append helpers have been added to extend functionality.

  • Introduced run and extract functions in the script helper for a more streamlined approach.

  • The starting template example has been enhanced to provide clearer guidance for new users.

  • Fixed issues with relative links during web extractions ensuring accurate data retrieval.

New Documentation Available

Alongside this release, we're also thrilled to introduce our newly revamped documentation available at https://docs.text-gen.com/. Here you can find comprehensive guides, usage tips, and best practices that will help you leverage the full potential of the Obsidian TextGenerator Plugin.

We hope you enjoy these updates as much as we enjoyed developing them! Your feedback is always welcome as it helps us continue improving your writing workflow within Obsidian.

Happy text generating!

obsidian-textgenerator-plugin - 0.5.12-beta

Published by github-actions[bot] 12 months ago

Release v0.5.12-beta ๐Ÿš€

Changes:

  • Fixed documentation link ๐Ÿ“š
obsidian-textgenerator-plugin - 0.5.11-beta

Published by github-actions[bot] 12 months ago

Release v0.5.11-beta ๐Ÿš€

Changes:

  • Fixed mobile bugs ๐Ÿ“ฑ
  • Fixed minor bugs ๐Ÿž
obsidian-textgenerator-plugin - 0.5.10-beta

Published by github-actions[bot] 12 months ago

obsidian-textgenerator-plugin - 0.5.9-beta

Published by github-actions[bot] 12 months ago

Release v0.5.8-beta ๐Ÿš€

Changes

  • Fixed the extractor tool for RSS feeds for improved functionality ๐ŸŒ
  • Resolved the bug in template tool variables for smoother operation ๐Ÿ› ๏ธ
  • Rectified a strange bug with the package manager for better performance ๐Ÿž
  • Updated the documentation link for the latest resources ๐Ÿ“š
  • Modified the getRandomFile helper to utilize regex for more accurate results ๐Ÿ”€
  • Fixed processing with sub-templates for streamlined template handling ๐Ÿ”„
  • Corrected issues related to variables for consistent and predictable behavior ๐Ÿ›
  • Addressed the set helper bug for more reliable variable setting ๐Ÿ› ๏ธ
  • Handled the bug occurring when there are no variables present for smoother execution ๐Ÿž
  • Fixed the "read" helper for better data retrieval and handling ๐Ÿ“š
  • Integrated an RSS parser for improved RSS feed management ๐Ÿ“ฐ
  • Addressed a bug with the gen function in the script for better script execution ๐Ÿ› ๏ธ
  • Added "yt" as a slug for YouTube for enhanced linking ๐ŸŒ
  • Implemented "gen" in script helper function for streamlined data generation ๐Ÿ”„
  • Set to ignore anything inside the script block for improved script management ๐Ÿ“œ
  • Rectified the bug where adding space in string results caused issues in added variable barhandles ๐Ÿ›
  • Fixed a startup issue with the llm Provider for smoother initiation ๐Ÿš€
  • Addressed an inconsistency bug with the run helper for more predictable outcomes ๐Ÿž
  • Resolved various internal bugs for enhanced stability and performance ๐Ÿž
obsidian-textgenerator-plugin - 0.5.8-beta

Published by github-actions[bot] 12 months ago

Release v0.5.8-beta ๐Ÿš€

Changes:

  • Preparing for the stable release ๐Ÿ—๏ธ
  • Set "free cursor" to default to false for improved user experience ๐Ÿ”’
  • Fixed extraction issues that occurred with slow-loading pages like Twitter and Reddit ๐Ÿข
  • Resolved the issue with "make template" from the playground ๐Ÿ› ๏ธ
  • Removed the "eachProperty" and updated "each" to also work with objects ๐Ÿ”„
  • Improved version upgrading and ensured backward compatibility ๐Ÿ”„
  • Deprecated the word "engine" and replaced it with "model" for clarity โš™๏ธ
  • Added read, write, and append helpers for enhanced functionality โœ๏ธ
  • Introduced run and extract functions to the script helper for streamlined usage ๐Ÿ“œ
  • Added a link to Discord for more templates/packages ๐ŸŒ
  • Changed "VAR_" to "vars" for improved naming consistency ๐Ÿ”„
  • Enhanced the starting template example for better understanding ๐Ÿ“
  • Fixed relative links when extracting from the web ๐ŸŒ
  • Numerous internal bug fixes for smoother performance ๐Ÿž

Full Changelog: https://github.com/nhaouari/obsidian-textgenerator-plugin/compare/0.5.7-beta...0.5.8-beta

obsidian-textgenerator-plugin - 0.5.7-beta

Published by github-actions[bot] 12 months ago

Release v0.5.7-beta ๐Ÿš€

Changes:

  • Fixed the playground UI for improved user experience ๐ŸŽจ

  • Added yaml and metadata variables for more comprehensive data handling ๐Ÿ“„
    image

  • Made all variables accessible within the custom Instruct template for increased flexibility โœจ

  • Added encodeURI and eachProperty helpers for better URI handling ๐ŸŒ

  • Introduced a regex helper to handlebars for improved text processing ๐Ÿงน

  • Enhanced variable extractions with handlebars for more efficient data handling ๐Ÿ’ก

  • Implemented several optimizations and bug fixes for smoother performance ๐Ÿž

Full Changelog: https://github.com/nhaouari/obsidian-textgenerator-plugin/compare/0.5.6-beta...0.5.7-beta

obsidian-textgenerator-plugin - 0.5.6-beta

Published by github-actions[bot] about 1 year ago

Release v0.5.6-beta ๐Ÿš€

Changes:

  • Added the window playground handlebars to preview how the prompt will look like ๐ŸŽจ
    you can access it by enabling open-playground command.
    image

image

  • Changed selection to tg_selection, and reserved the variable selection solely to get the highlighted/selected text ๐Ÿ”„

  • Added custom instruct + {{context}} template in the settings page, allowing for more customizations โœ๏ธ
    image
    image

  • Included the http-Referer header as suggested by pipboyguy#0000 to work with openrouter's endpoint

  • Attempted fix for "Disable auto-suggestions at the beginning of the line #200" ๐Ÿž

Full Changelog: https://github.com/nhaouari/obsidian-textgenerator-plugin/compare/0.5.5-beta...0.5.6-beta

obsidian-textgenerator-plugin - 0.5.5-beta

Published by github-actions[bot] about 1 year ago

Release v0.5.5-beta ๐Ÿš€

Changes:

  • Corrected the issue where it took context instead of selection in normal generation ๐Ÿž
  • Made minor fixes in the package manager for improved performance ๐Ÿ› ๏ธ
  • Added slugs to providers for better organization and access ๐ŸŒ
  • Resolved the problem with undefined URL in the audio extractor ๐ŸŽง

Full Changelog: https://github.com/nhaouari/obsidian-textgenerator-plugin/compare/0.5.4-beta...0.5.5-beta

obsidian-textgenerator-plugin - 0.5.4-beta

Published by github-actions[bot] about 1 year ago

Release v0.5.4-beta ๐Ÿš€

Changes:

  • Added support for the plugin API ๐Ÿงฉ
Plugin.tg.gen("hello").then(console.log)

image

  • Eliminated unnecessary console logs for smoother operation ๐Ÿ”„

  • Fixed a bug that was preventing generation ๐Ÿ›

  • Rectified the scroll issue in the output of the tool, especially when using a theme ๐Ÿ› ๏ธ

  • Enhanced the tool's user interface for improved usability and aesthetics ๐ŸŽจ

  • Fixed the source template for better functionality โœ…

Full Changelog: https://github.com/nhaouari/obsidian-textgenerator-plugin/compare/0.5.3-beta...0.5.4-beta

obsidian-textgenerator-plugin - 0.5.3-beta

Published by github-actions[bot] about 1 year ago

Release v0.5.3-beta ๐Ÿš€

Changes:

  • Updated the default behavior of the tool to create a new popup instead of a side view ๐Ÿ”„
  • Implemented a version manager to handle breaking changes between versions and ensure backward compatibility ๐Ÿ› ๏ธ
  • Made minor adjustments and improvements for enhanced performance and user experience โœจ

Full Changelog: https://github.com/nhaouari/obsidian-textgenerator-plugin/compare/0.5.2-beta...0.5.3-beta

obsidian-textgenerator-plugin - 0.5.2-beta

Published by github-actions[bot] about 1 year ago

Release v0.5.2-beta ๐Ÿš€

Changes:

  • Added the ability to set a custom variable name using the format {#run "templateId" "customVarName"} (optional but helpful in some cases) ๐Ÿ› ๏ธ
  • Added "open as tool" functionality to templates, along with new commands "open template as tool" and "tool" which can be set in any template ๐Ÿงฐ
  • Added a popout and "always on top" feature to the tool ๐Ÿช„
  • Numerous bug fixes ๐Ÿž
obsidian-textgenerator-plugin - 0.5.1-beta

Published by github-actions[bot] about 1 year ago

changes:

  • Fixed mobile support, by forking library handlebars-async-helpers and removing readable call
obsidian-textgenerator-plugin - 0.5.0-beta

Published by github-actions[bot] about 1 year ago

Version 0.5.0-beta

Changes:

  • Template calling other templates
  • Template inheritance
  • Batch generate using template on multiple files (was highly requested)
  • Template calling extractors ex:{{extract "web" url}}
  • Langchain chains support (this will allow a huge amount of text to be summarized) setting chain.type: "map-reduce" will enable it
  • Bug fixes

Additional Information:

  • Examples of templates are attached as examples.zip. These examples showcase the power of calling templates from other templates.
obsidian-textgenerator-plugin - 0.4.9-beta

Published by github-actions[bot] about 1 year ago

Release Notes - Version 0.4.9-beta

Bug Fix

  • Fixed Models List Not Showing Up: This release addresses a critical issue where the models list was not displaying as expected.

We appreciate your feedback and contributions to make this project even better. If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request.

Thank you for using our plugin!

obsidian-textgenerator-plugin - 0.4.8-beta

Published by github-actions[bot] about 1 year ago

Release Notes - Version 0.4.8-beta

New Features

  • Added Summary Funtionality with langchain:

template:

---
promptId: Summarize
name: Summarize
title: Summarize long text
description: Summarize long text
commands:
  - generate
mode: insert
chain.type: map_reduce
splitter.ChunkSize: 2000
splitter.ChunkOverlap: 200
---

{{selection}}


***
Summary: {{output}}

Bug Fixes

  • Fixed Switching Between Encryption Enabled/Disabled: A bug that prevented smooth switching between encryption enabled and disabled modes has been resolved.

  • Fixed Free Cursor Not Working: A recent bug affecting the free cursor functionality has been addressed and is now functioning as expected.

Enhancements

  • Changed Naming of LLM Providers: We have updated the naming conventions for LLM (Language Model) providers for clarity and consistency.

Thank you for using our software!

obsidian-textgenerator-plugin - 0.4.7-beta

Published by github-actions[bot] about 1 year ago

Release Notes

Changes

  • Fixed mobile support.

  • Improved error handling with better error messages if text generation fails.

obsidian-textgenerator-plugin - 0.4.6-beta

Published by github-actions[bot] about 1 year ago

Release Notes

Version 0.4.6-beta

Changes

  • Improved Text Selection/Insertion Logic:

    • Previously, the tool selected the entire block (line or document) before making changes. Now, it will only select the text before the cursor position, making editing more precise.
    • Text will now be inserted in the same position as the cursor, rather than at the end of the block.
  • Enhanced Context Display:

    • The context (selection) will now be shown before sending, providing better context-awareness for users.
  • Provider Selection in Frontmatter:

    • Added a new feature that allows users to select a Provider within the frontmatter, enhancing customization options.
  • Resolved Section Height Issue:

    • Fixed a bug that caused abnormal height behavior in the settings section, improving the overall user experience.
  • Various Bug Fixes:

    • Addressed several bugs and issues to ensure smoother functionality and reliability.

We appreciate your feedback and support <3

obsidian-textgenerator-plugin - 0.4.5-beta

Published by github-actions[bot] about 1 year ago

Release Notes - Version 0.4.5-beta

Changes:

  • Auto Suggest Fix: Fixed issues, now working as intended.
  • Model Selection: Updates selected model accurately.
  • Status Bar: Debounced for maxTokens changes.

Enjoy!

obsidian-textgenerator-plugin - 0.4.4-beta

Published by github-actions[bot] about 1 year ago

Release Notes - Version 0.4.4-beta

Changes:

  • OpenAI LLMs Support: Added support for OpenAI's latest language models, including the new gpt-3.5-turbo-instruct, enhancing the capabilities of our platform and providing users with even more powerful AI assistance.

  • Updated Models List: We've updated the models list to ensure that you have access to the latest and most relevant AI models, keeping our platform up-to-date with the latest advancements in AI technology.

  • Automatic Deployment: Implemented automated deployment for both stable and beta versions of the plugin using GitHub Actions. This streamlines the release process, ensuring that users can quickly access the latest features and improvements.

  • Command Loading Bug Fixes: Resolved several bugs related to loading commands when the plugin reloads. Users will now experience a smoother and more reliable operation when interacting with the plugin.

  • Settings Page Resizing: Fixed bugs related to resizing the settings page, preventing content from being hidden or obscured. This improvement enhances the user experience, making it easier to configure and customize settings.

Thank you for using our plugin, and we hope you enjoy the enhanced features and improvements in this release!

Badges
Extracted from project README
Youtube Demonstration
Related Projects