pygpt-net 2.4.30__py3-none-any.whl → 2.4.34__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 (126) hide show
  1. CHANGELOG.md +24 -0
  2. README.md +46 -5
  3. pygpt_net/CHANGELOG.txt +24 -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 +67 -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 +239 -37
  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/presets/editor.py +11 -2
  19. pygpt_net/core/access/voice.py +2 -2
  20. pygpt_net/core/agents/legacy.py +3 -1
  21. pygpt_net/core/attachments/__init__.py +11 -7
  22. pygpt_net/core/attachments/context.py +226 -44
  23. pygpt_net/core/{audio.py → audio/__init__.py} +1 -1
  24. pygpt_net/core/audio/context.py +34 -0
  25. pygpt_net/core/bridge/context.py +29 -1
  26. pygpt_net/core/ctx/__init__.py +4 -1
  27. pygpt_net/core/db/__init__.py +4 -2
  28. pygpt_net/core/debug/attachments.py +3 -1
  29. pygpt_net/core/debug/context.py +5 -1
  30. pygpt_net/core/debug/presets.py +3 -1
  31. pygpt_net/core/events/event.py +2 -1
  32. pygpt_net/core/experts/__init__.py +3 -1
  33. pygpt_net/core/idx/chat.py +28 -6
  34. pygpt_net/core/idx/indexing.py +123 -15
  35. pygpt_net/core/modes.py +3 -1
  36. pygpt_net/core/presets.py +13 -2
  37. pygpt_net/core/render/markdown/pid.py +2 -1
  38. pygpt_net/core/render/plain/pid.py +2 -1
  39. pygpt_net/core/render/web/body.py +34 -12
  40. pygpt_net/core/render/web/pid.py +2 -1
  41. pygpt_net/core/render/web/renderer.py +8 -3
  42. pygpt_net/core/tokens.py +4 -2
  43. pygpt_net/core/types/mode.py +2 -1
  44. pygpt_net/data/config/config.json +5 -3
  45. pygpt_net/data/config/models.json +190 -5
  46. pygpt_net/data/config/modes.json +11 -5
  47. pygpt_net/data/config/presets/current.audio.json +34 -0
  48. pygpt_net/data/config/settings.json +15 -1
  49. pygpt_net/data/css/web.css +70 -0
  50. pygpt_net/data/css/web.dark.css +4 -1
  51. pygpt_net/data/css/web.light.css +1 -1
  52. pygpt_net/data/locale/locale.de.ini +26 -13
  53. pygpt_net/data/locale/locale.en.ini +61 -46
  54. pygpt_net/data/locale/locale.es.ini +26 -13
  55. pygpt_net/data/locale/locale.fr.ini +28 -15
  56. pygpt_net/data/locale/locale.it.ini +26 -13
  57. pygpt_net/data/locale/locale.pl.ini +30 -17
  58. pygpt_net/data/locale/locale.uk.ini +26 -13
  59. pygpt_net/data/locale/locale.zh.ini +33 -20
  60. pygpt_net/data/locale/plugin.cmd_files.de.ini +4 -4
  61. pygpt_net/data/locale/plugin.cmd_files.en.ini +4 -4
  62. pygpt_net/data/locale/plugin.cmd_files.es.ini +4 -4
  63. pygpt_net/data/locale/plugin.cmd_files.fr.ini +4 -4
  64. pygpt_net/data/locale/plugin.cmd_files.it.ini +4 -4
  65. pygpt_net/data/locale/plugin.cmd_files.pl.ini +4 -4
  66. pygpt_net/data/locale/plugin.cmd_files.uk.ini +4 -4
  67. pygpt_net/data/locale/plugin.cmd_files.zh.ini +4 -4
  68. pygpt_net/data/locale/plugin.cmd_web.de.ini +5 -5
  69. pygpt_net/data/locale/plugin.cmd_web.en.ini +5 -5
  70. pygpt_net/data/locale/plugin.cmd_web.es.ini +5 -5
  71. pygpt_net/data/locale/plugin.cmd_web.fr.ini +5 -5
  72. pygpt_net/data/locale/plugin.cmd_web.it.ini +5 -5
  73. pygpt_net/data/locale/plugin.cmd_web.pl.ini +5 -5
  74. pygpt_net/data/locale/plugin.cmd_web.uk.ini +5 -5
  75. pygpt_net/data/locale/plugin.cmd_web.zh.ini +5 -5
  76. pygpt_net/data/locale/plugin.idx_llama_index.de.ini +12 -12
  77. pygpt_net/data/locale/plugin.idx_llama_index.en.ini +12 -12
  78. pygpt_net/data/locale/plugin.idx_llama_index.es.ini +12 -12
  79. pygpt_net/data/locale/plugin.idx_llama_index.fr.ini +12 -12
  80. pygpt_net/data/locale/plugin.idx_llama_index.it.ini +12 -12
  81. pygpt_net/data/locale/plugin.idx_llama_index.pl.ini +12 -12
  82. pygpt_net/data/locale/plugin.idx_llama_index.uk.ini +12 -12
  83. pygpt_net/data/locale/plugin.idx_llama_index.zh.ini +12 -12
  84. pygpt_net/item/attachment.py +9 -1
  85. pygpt_net/item/ctx.py +9 -1
  86. pygpt_net/item/preset.py +5 -1
  87. pygpt_net/launcher.py +3 -1
  88. pygpt_net/migrations/Version20241126170000.py +28 -0
  89. pygpt_net/migrations/__init__.py +3 -1
  90. pygpt_net/plugin/audio_input/__init__.py +11 -1
  91. pygpt_net/plugin/audio_input/worker.py +9 -1
  92. pygpt_net/plugin/audio_output/__init__.py +37 -7
  93. pygpt_net/plugin/audio_output/worker.py +38 -41
  94. pygpt_net/plugin/cmd_code_interpreter/runner.py +2 -2
  95. pygpt_net/plugin/cmd_mouse_control/__init__.py +4 -2
  96. pygpt_net/plugin/openai_dalle/__init__.py +3 -1
  97. pygpt_net/plugin/openai_vision/__init__.py +3 -1
  98. pygpt_net/provider/core/attachment/json_file.py +4 -1
  99. pygpt_net/provider/core/config/patch.py +16 -0
  100. pygpt_net/provider/core/ctx/db_sqlite/storage.py +14 -4
  101. pygpt_net/provider/core/ctx/db_sqlite/utils.py +19 -2
  102. pygpt_net/provider/core/model/patch.py +7 -1
  103. pygpt_net/provider/core/preset/json_file.py +5 -1
  104. pygpt_net/provider/gpt/__init__.py +14 -2
  105. pygpt_net/provider/gpt/audio.py +63 -0
  106. pygpt_net/provider/gpt/chat.py +76 -44
  107. pygpt_net/provider/gpt/utils.py +27 -0
  108. pygpt_net/provider/gpt/vision.py +37 -15
  109. pygpt_net/provider/loaders/base.py +10 -1
  110. pygpt_net/provider/loaders/web_yt.py +19 -1
  111. pygpt_net/tools/image_viewer/ui/dialogs.py +3 -1
  112. pygpt_net/ui/dialog/preset.py +3 -1
  113. pygpt_net/ui/dialog/url.py +29 -0
  114. pygpt_net/ui/dialogs.py +5 -1
  115. pygpt_net/ui/layout/chat/attachments.py +42 -6
  116. pygpt_net/ui/layout/chat/attachments_ctx.py +14 -4
  117. pygpt_net/ui/layout/chat/attachments_uploaded.py +8 -4
  118. pygpt_net/ui/widget/dialog/url.py +59 -0
  119. pygpt_net/ui/widget/lists/attachment.py +22 -17
  120. pygpt_net/ui/widget/lists/attachment_ctx.py +65 -3
  121. pygpt_net/ui/widget/textarea/url.py +43 -0
  122. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.34.dist-info}/METADATA +48 -7
  123. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.34.dist-info}/RECORD +126 -117
  124. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.34.dist-info}/LICENSE +0 -0
  125. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.34.dist-info}/WHEEL +0 -0
  126. {pygpt_net-2.4.30.dist-info → pygpt_net-2.4.34.dist-info}/entry_points.txt +0 -0