pygpt-net 2.4.30__py3-none-any.whl → 2.4.35__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. CHANGELOG.md +32 -0
  2. README.md +2105 -1892
  3. pygpt_net/CHANGELOG.txt +32 -0
  4. pygpt_net/__init__.py +3 -3
  5. pygpt_net/controller/access/__init__.py +5 -5
  6. pygpt_net/controller/access/control.py +3 -2
  7. pygpt_net/controller/attachment.py +68 -1
  8. pygpt_net/controller/audio/__init__.py +34 -6
  9. pygpt_net/controller/chat/__init__.py +3 -1
  10. pygpt_net/controller/chat/attachment.py +263 -38
  11. pygpt_net/controller/chat/audio.py +99 -0
  12. pygpt_net/controller/chat/input.py +10 -3
  13. pygpt_net/controller/chat/output.py +4 -1
  14. pygpt_net/controller/chat/text.py +7 -3
  15. pygpt_net/controller/dialogs/confirm.py +17 -1
  16. pygpt_net/controller/lang/custom.py +3 -1
  17. pygpt_net/controller/mode.py +2 -1
  18. pygpt_net/controller/painter/capture.py +2 -2
  19. pygpt_net/controller/presets/editor.py +15 -2
  20. pygpt_net/controller/ui/__init__.py +4 -1
  21. pygpt_net/core/access/voice.py +2 -2
  22. pygpt_net/core/agents/legacy.py +3 -1
  23. pygpt_net/core/attachments/__init__.py +14 -9
  24. pygpt_net/core/attachments/context.py +226 -44
  25. pygpt_net/core/{audio.py → audio/__init__.py} +1 -1
  26. pygpt_net/core/audio/context.py +34 -0
  27. pygpt_net/core/bridge/context.py +29 -1
  28. pygpt_net/core/ctx/__init__.py +4 -1
  29. pygpt_net/core/db/__init__.py +4 -2
  30. pygpt_net/core/debug/attachments.py +3 -1
  31. pygpt_net/core/debug/context.py +5 -1
  32. pygpt_net/core/debug/presets.py +3 -1
  33. pygpt_net/core/events/event.py +2 -1
  34. pygpt_net/core/experts/__init__.py +3 -1
  35. pygpt_net/core/idx/chat.py +28 -6
  36. pygpt_net/core/idx/indexing.py +123 -15
  37. pygpt_net/core/modes.py +3 -1
  38. pygpt_net/core/presets.py +13 -2
  39. pygpt_net/core/render/markdown/pid.py +2 -1
  40. pygpt_net/core/render/plain/pid.py +2 -1
  41. pygpt_net/core/render/web/body.py +34 -12
  42. pygpt_net/core/render/web/pid.py +2 -1
  43. pygpt_net/core/render/web/renderer.py +8 -3
  44. pygpt_net/core/tokens.py +4 -2
  45. pygpt_net/core/types/mode.py +2 -1
  46. pygpt_net/data/config/config.json +7 -5
  47. pygpt_net/data/config/models.json +190 -5
  48. pygpt_net/data/config/modes.json +11 -5
  49. pygpt_net/data/config/presets/current.audio.json +34 -0
  50. pygpt_net/data/config/settings.json +15 -1
  51. pygpt_net/data/css/web.css +70 -0
  52. pygpt_net/data/css/web.dark.css +4 -1
  53. pygpt_net/data/css/web.light.css +1 -1
  54. pygpt_net/data/locale/locale.de.ini +27 -14
  55. pygpt_net/data/locale/locale.en.ini +63 -47
  56. pygpt_net/data/locale/locale.es.ini +27 -14
  57. pygpt_net/data/locale/locale.fr.ini +29 -16
  58. pygpt_net/data/locale/locale.it.ini +27 -14
  59. pygpt_net/data/locale/locale.pl.ini +31 -18
  60. pygpt_net/data/locale/locale.uk.ini +27 -14
  61. pygpt_net/data/locale/locale.zh.ini +34 -21
  62. pygpt_net/data/locale/plugin.cmd_files.de.ini +4 -4
  63. pygpt_net/data/locale/plugin.cmd_files.en.ini +4 -4
  64. pygpt_net/data/locale/plugin.cmd_files.es.ini +4 -4
  65. pygpt_net/data/locale/plugin.cmd_files.fr.ini +4 -4
  66. pygpt_net/data/locale/plugin.cmd_files.it.ini +4 -4
  67. pygpt_net/data/locale/plugin.cmd_files.pl.ini +4 -4
  68. pygpt_net/data/locale/plugin.cmd_files.uk.ini +4 -4
  69. pygpt_net/data/locale/plugin.cmd_files.zh.ini +4 -4
  70. pygpt_net/data/locale/plugin.cmd_web.de.ini +5 -5
  71. pygpt_net/data/locale/plugin.cmd_web.en.ini +5 -5
  72. pygpt_net/data/locale/plugin.cmd_web.es.ini +5 -5
  73. pygpt_net/data/locale/plugin.cmd_web.fr.ini +5 -5
  74. pygpt_net/data/locale/plugin.cmd_web.it.ini +5 -5
  75. pygpt_net/data/locale/plugin.cmd_web.pl.ini +5 -5
  76. pygpt_net/data/locale/plugin.cmd_web.uk.ini +5 -5
  77. pygpt_net/data/locale/plugin.cmd_web.zh.ini +5 -5
  78. pygpt_net/data/locale/plugin.idx_llama_index.de.ini +12 -12
  79. pygpt_net/data/locale/plugin.idx_llama_index.en.ini +12 -12
  80. pygpt_net/data/locale/plugin.idx_llama_index.es.ini +12 -12
  81. pygpt_net/data/locale/plugin.idx_llama_index.fr.ini +12 -12
  82. pygpt_net/data/locale/plugin.idx_llama_index.it.ini +12 -12
  83. pygpt_net/data/locale/plugin.idx_llama_index.pl.ini +12 -12
  84. pygpt_net/data/locale/plugin.idx_llama_index.uk.ini +12 -12
  85. pygpt_net/data/locale/plugin.idx_llama_index.zh.ini +12 -12
  86. pygpt_net/data/win32/USER-LICENSE.rtf +0 -0
  87. pygpt_net/data/win32/banner.bmp +0 -0
  88. pygpt_net/data/win32/banner_welcome.bmp +0 -0
  89. pygpt_net/item/attachment.py +9 -1
  90. pygpt_net/item/ctx.py +9 -1
  91. pygpt_net/item/preset.py +5 -1
  92. pygpt_net/launcher.py +3 -1
  93. pygpt_net/migrations/Version20241126170000.py +28 -0
  94. pygpt_net/migrations/__init__.py +3 -1
  95. pygpt_net/plugin/audio_input/__init__.py +11 -1
  96. pygpt_net/plugin/audio_input/worker.py +9 -1
  97. pygpt_net/plugin/audio_output/__init__.py +37 -7
  98. pygpt_net/plugin/audio_output/worker.py +38 -41
  99. pygpt_net/plugin/cmd_code_interpreter/runner.py +2 -2
  100. pygpt_net/plugin/cmd_mouse_control/__init__.py +4 -2
  101. pygpt_net/plugin/openai_dalle/__init__.py +3 -1
  102. pygpt_net/plugin/openai_vision/__init__.py +3 -1
  103. pygpt_net/provider/core/attachment/json_file.py +4 -1
  104. pygpt_net/provider/core/config/patch.py +22 -0
  105. pygpt_net/provider/core/ctx/db_sqlite/storage.py +14 -4
  106. pygpt_net/provider/core/ctx/db_sqlite/utils.py +19 -2
  107. pygpt_net/provider/core/model/patch.py +7 -1
  108. pygpt_net/provider/core/preset/json_file.py +5 -1
  109. pygpt_net/provider/gpt/__init__.py +14 -2
  110. pygpt_net/provider/gpt/audio.py +63 -0
  111. pygpt_net/provider/gpt/chat.py +76 -44
  112. pygpt_net/provider/gpt/utils.py +27 -0
  113. pygpt_net/provider/gpt/vision.py +37 -15
  114. pygpt_net/provider/loaders/base.py +10 -1
  115. pygpt_net/provider/loaders/web_yt.py +19 -1
  116. pygpt_net/tools/image_viewer/ui/dialogs.py +3 -1
  117. pygpt_net/ui/dialog/about.py +1 -1
  118. pygpt_net/ui/dialog/preset.py +3 -1
  119. pygpt_net/ui/dialog/url.py +29 -0
  120. pygpt_net/ui/dialogs.py +5 -1
  121. pygpt_net/ui/layout/chat/attachments.py +42 -6
  122. pygpt_net/ui/layout/chat/attachments_ctx.py +14 -4
  123. pygpt_net/ui/layout/chat/attachments_uploaded.py +8 -4
  124. pygpt_net/ui/widget/anims/toggles.py +2 -2
  125. pygpt_net/ui/widget/dialog/url.py +59 -0
  126. pygpt_net/ui/widget/lists/attachment.py +22 -17
  127. pygpt_net/ui/widget/lists/attachment_ctx.py +65 -3
  128. pygpt_net/ui/widget/option/checkbox.py +1 -3
  129. pygpt_net/ui/widget/option/toggle.py +1 -0
  130. pygpt_net/ui/widget/textarea/url.py +43 -0
  131. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.35.dist-info}/METADATA +2107 -1894
  132. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.35.dist-info}/RECORD +135 -124
  133. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.35.dist-info}/LICENSE +0 -0
  134. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.35.dist-info}/WHEEL +0 -0
  135. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.35.dist-info}/entry_points.txt +0 -0
CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.4.35 (2024-11-28)
4
+
5
+ - Docker removed from dependencies in Snap version #82
6
+ - Refactored documentation.
7
+ - Fix: toggles real-time update hook.
8
+ - Fix: missing edit icons.
9
+ - Added tokens from attachments to counters if mode == Full context.
10
+
11
+ ## 2.4.34 (2024-11-26)
12
+
13
+ - Added a new mode: `Chat with Audio`, with built-in multimodal support for audio input/output. Currently in beta, the execution of commands and tools in this mode is temporarily unavailable.
14
+ - Added new models: `gpt-4o-audio-preview`, `gpt-4o-2024-11-20`, `chatgpt-4o-latest`.
15
+ - Force disabled integration with the native system menu.
16
+
17
+ ## 2.4.33 (2024-11-26)
18
+
19
+ - Improved CSS and rendering of file and image lists.
20
+ - Added displaying of used attachments in the chat window.
21
+
22
+ ## 2.4.32 (2024-11-26)
23
+
24
+ - The "Add URL" option added to the "Attachments" tab allows users to include content from a given website as additional context. Currently, it only supports standard web pages and video transcription for YouTube links. More "web" options will be added in the future.
25
+ - Added UTF-8 as default in attachments content text read/write.
26
+
27
+ ## 2.4.31 (2024-11-25)
28
+
29
+ - Added an option checkbox `Auto-index on upload` in the `Attachments` tab:
30
+
31
+ **Tip:** To use the `Query only` mode, the file must be indexed in the vector database. This occurs automatically at the time of upload if the `Auto-index on upload` option in the `Attachments` tab is enabled. When uploading large files, such indexing might take a while - therefore, if you are using the `Full context` option, which does not use the index, you can disable the `Auto-index` option to speed up the upload of the attachment. In this case, it will only be indexed when the `Query only` option is called for the first time, and until then, attachment will be available in the form of `Full context` and `Summary`.
32
+
33
+ - Added context menu options in `Uploaded attachments` tab: `Open`, `Open Source directory` and `Open Storage directory`.
34
+
3
35
  ## 2.4.30 (2024-11-25)
4
36
 
5
37
  - Added instruction to model about mapped data directory in both legacy and IPython code interepreter.