diff --git a/README.md b/README.md index 50d7442e8..d5b84f798 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PYGPT v2 -Release: **2.0.9** build: **2023.12.09** | Official website: https://pygpt.net | Docs: https://pygpt.readthedocs.io +Release: **2.0.10** build: **2023.12.09** | Official website: https://pygpt.net | Docs: https://pygpt.readthedocs.io PyPi: https://pypi.org/project/pygpt-net @@ -618,11 +618,11 @@ Allows system commands execution. *Default:* `True` ## Command: Custom Commands -With the `Custom Commands` plugin, you can integrate PYGPT with your operating system and scripts or applications. You can define an unlimited number of custom commands and instruct GPT on when and how to execute them. Configuration is straightforward, and PYGPT includes a simple tutorial command for testing and learning how it works: +With the `Custom Commands` plugin, you can integrate **PYGPT** with your operating system and scripts or applications. You can define an unlimited number of custom commands and instruct GPT on when and how to execute them. Configuration is straightforward, and **PYGPT** includes a simple tutorial command for testing and learning how it works: ![v2_custom_cmd](https://github.com/szczyglis-dev/py-gpt/assets/61396542/f236a30e-3c17-49f4-94df-597cf41feed7) -To add a new custom command, click the 'ADD' button and then: +To add a new custom command, click the **ADD** button and then: 1. Provide a name for your command: this is a unique identifier for GPT. 2. Provide an `instruction` explaining what this command does; GPT will know when to use the command based on this instruction. @@ -647,11 +647,11 @@ You can define as many placeholders and parameters as you desire. Here are some predefined system placeholders for use: -- `{_time}` - current time in `Y-m-d` format -- `{_date}` - current date in `H:M:S` format +- `{_time}` - current time in `H:M:S` format +- `{_date}` - current date in `Y-m-d` format - `{_datetime}` - current date and time in `Y-m-d H:M:S` format - `{_file}` - path to the file from which the command is invoked -- `{_home}` - path to PYGPT's home/workworking directory +- `{_home}` - path to PYGPT's home/working directory You can connect predefined placeholders with your own params. @@ -676,7 +676,7 @@ PYGPT provides simple tutorial command to show how it work, to run it just ask G ```> please execute tutorial test command``` -![v2_code_execute_example](https://github.com/szczyglis-dev/py-gpt/assets/61396542/acd16409-c66f-461b-ba6f-69ba682805f7) +![v2_code_execute_example](https://github.com/szczyglis-dev/py-gpt/assets/61396542/df94b500-d6fe-462f-98d8-6c8a9e42f9f4) ## Command: Google Web Search @@ -1042,6 +1042,10 @@ may consume additional tokens that are not displayed in the main window. # CHANGELOG +## 2.0.10 (2023-12-09) + +- Updated locale + ## 2.0.9 (2023-12-09) - Added `Command: Custom Commands` feature; plugin allows to easily create and execute custom commands diff --git a/docs/source/conf.py b/docs/source/conf.py index c183fd218..2ea741821 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -9,7 +9,7 @@ project = 'PYGPT' copyright = '2023, pygpt.net' author = 'szczyglis-dev, Marcin Szczygliński' -release = '2.0.9' +release = '2.0.10' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/docs/source/images/v2_code_execute_example.png b/docs/source/images/v2_code_execute_example.png index 14ccb9718..2fed26a20 100644 Binary files a/docs/source/images/v2_code_execute_example.png and b/docs/source/images/v2_code_execute_example.png differ diff --git a/docs/source/index.rst b/docs/source/index.rst index 17fe249ec..9bc66d7ba 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -10,7 +10,7 @@ PYGPT v2 - pygpt.net | **Project website:** https://pygpt.net | **GitHub:** https://github.com/szczyglis-dev/py-gpt | **PyPI:** https://pypi.org/project/pygpt-net -| **Release:** 2.0.9 (2023-12-08) +| **Release:** 2.0.10 (2023-12-08) .. toctree:: :maxdepth: 3 diff --git a/docs/source/plugins_list.rst b/docs/source/plugins_list.rst index 3a38216e2..93f8a7089 100644 --- a/docs/source/plugins_list.rst +++ b/docs/source/plugins_list.rst @@ -136,8 +136,8 @@ You can define as many placeholders and parameters as you desire. Here are some predefined system placeholders for use: -- ``{_time}`` - current time in ``Y-m-d`` format -- ``{_date}`` - current date in ``H:M:S`` format +- ``{_time}`` - current time in ``H:M:S`` format +- ``{_date}`` - current date in ``Y-m-d`` format - ``{_datetime}`` - current date and time in ``Y-m-d H:M:S`` format - ``{_file}`` - path to the file from which the command is invoked - ``{_home}`` - path to PYGPT's home/working directory diff --git a/pyproject.toml b/pyproject.toml index 457807f7a..0ce7383d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pygpt-net" -version = "2.0.9" +version = "2.0.10" description = "Desktop AI Assistant powered by GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 with chatbot, assistant, text completion, vision and image generation, real-time internet access, commands and code execution, files upload and download and more" readme = "README.md" authors = [{ name = "Marcin Szczygliński", email = "info@pygpt.net" }] diff --git a/setup.py b/setup.py index b5f1785a3..9fe553981 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -VERSION = '2.0.9' +VERSION = '2.0.10' DESCRIPTION = 'Desktop AI Assistant powered by GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 with chatbot, assistant, text completion, ' \ 'vision and image generation, real-time internet access, commands and code execution, files upload and download and more' LONG_DESCRIPTION = 'Package containing a GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 AI desktop assistant with chatbot, ' \ diff --git a/src/pygpt_net/CHANGELOG.txt b/src/pygpt_net/CHANGELOG.txt index 40c83ed6f..1f69de924 100755 --- a/src/pygpt_net/CHANGELOG.txt +++ b/src/pygpt_net/CHANGELOG.txt @@ -1,3 +1,7 @@ +2.0.10 (2023-12-09) + +- Updated locale + 2.0.9 (2023-12-09) - Added Command: Custom Commands feature; plugin allows to easily create and execute custom commands diff --git a/src/pygpt_net/__init__.py b/src/pygpt_net/__init__.py index 2d9c062a1..e5faa2a2b 100755 --- a/src/pygpt_net/__init__.py +++ b/src/pygpt_net/__init__.py @@ -6,14 +6,14 @@ # GitHub: https://github.com/szczyglis-dev/py-gpt # # MIT License # # Created By : Marcin Szczygliński # -# Updated Date: 2023.12.08 22:00:00 # +# Updated Date: 2023.12.09 12:00:00 # # ================================================== # __author__ = "Marcin Szczygliński" __copyright__ = "Copyright 2023, Marcin Szczygliński" __credits__ = ["Marcin Szczygliński"] __license__ = "MIT" -__version__ = "2.0.9" +__version__ = "2.0.10" __build__ = "2023.12.09" __maintainer__ = "Marcin Szczygliński" __github__ = "https://github.com/szczyglis-dev/py-gpt" diff --git a/src/pygpt_net/core/ui/widget/settings.py b/src/pygpt_net/core/ui/widget/settings.py index 35a49d982..014136622 100644 --- a/src/pygpt_net/core/ui/widget/settings.py +++ b/src/pygpt_net/core/ui/widget/settings.py @@ -6,7 +6,7 @@ # GitHub: https://github.com/szczyglis-dev/py-gpt # # MIT License # # Created By : Marcin Szczygliński # -# Updated Date: 2023.12.08 22:00:00 # +# Updated Date: 2023.12.09 12:00:00 # # ================================================== # from PySide6.QtCore import Qt, QAbstractItemModel, QModelIndex @@ -432,7 +432,7 @@ def __init__(self, window=None, option_id=None, autoupdate=True, section=None, p lambda: self.window.controller.context.selection_change()) # add button - add_btn = QPushButton('ADD', self) + add_btn = QPushButton(trans('action.add'), self) add_btn.clicked.connect(self.add) # layout diff --git a/src/pygpt_net/data/locale/locale.en.ini b/src/pygpt_net/data/locale/locale.en.ini index 119c6917e..92571e6d0 100755 --- a/src/pygpt_net/data/locale/locale.en.ini +++ b/src/pygpt_net/data/locale/locale.en.ini @@ -1,5 +1,6 @@ [LOCALE] about.thanks = Special thanks to GitHub community +action.add = Add action.delete = Delete action.open_dir = Open in directory... action.rename = Rename diff --git a/src/pygpt_net/data/locale/locale.pl.ini b/src/pygpt_net/data/locale/locale.pl.ini index e8cd80733..907cd571b 100755 --- a/src/pygpt_net/data/locale/locale.pl.ini +++ b/src/pygpt_net/data/locale/locale.pl.ini @@ -1,5 +1,6 @@ [LOCALE] about.thanks = Specjalne podziękowania dla społeczności GitHub-a +action.add = Dodaj action.delete = Usuń action.open_dir = Otwórz w katalogu... action.rename = Zmień nazwę diff --git a/version.rc b/version.rc index 7fd1d000a..427eb8aa0 100755 --- a/version.rc +++ b/version.rc @@ -1,7 +1,7 @@ VSVersionInfo( ffi=FixedFileInfo( - filevers=(2, 0, 9, 0), - prodvers=(2, 0, 9, 0), + filevers=(2, 0, 10, 0), + prodvers=(2, 0, 10, 0), mask=0x3f, flags=0x0, OS=0x4, @@ -16,12 +16,12 @@ StringFileInfo( u'040904B0', [StringStruct(u'CompanyName', u'pygpt.net'), StringStruct(u'FileDescription', u'Desktop AI Assistant powered by GPT-4, GPT-3 and DALL-E 3: assistant, chatbot, text completion, image generation and analyze and more'), - StringStruct(u'FileVersion', u'2.0.9'), + StringStruct(u'FileVersion', u'2.0.10'), StringStruct(u'InternalName', u'Py-GPT'), StringStruct(u'LegalCopyright', u'(c) 2023 pygpt.net, Marcin Szczygliński'), StringStruct(u'OriginalFilename', u'Py-GPT.exe'), StringStruct(u'ProductName', u'pygpt.net'), - StringStruct(u'ProductVersion', u'2.0.9')]) + StringStruct(u'ProductVersion', u'2.0.10')]) ]), VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) ]