pygpt-net 2.4.41__py3-none-any.whl → 2.4.42__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 (139) hide show
  1. CHANGELOG.md +8 -0
  2. README.md +135 -70
  3. pygpt_net/CHANGELOG.txt +8 -0
  4. pygpt_net/__init__.py +3 -3
  5. pygpt_net/app.py +3 -1
  6. pygpt_net/controller/audio/__init__.py +2 -2
  7. pygpt_net/controller/camera.py +1 -10
  8. pygpt_net/controller/chat/audio.py +2 -2
  9. pygpt_net/controller/config/placeholder.py +15 -1
  10. pygpt_net/controller/ui/mode.py +16 -21
  11. pygpt_net/core/audio/__init__.py +4 -1
  12. pygpt_net/core/audio/whisper.py +37 -0
  13. pygpt_net/core/bridge/worker.py +2 -2
  14. pygpt_net/core/debug/events.py +22 -10
  15. pygpt_net/core/debug/tabs.py +6 -3
  16. pygpt_net/core/history.py +3 -2
  17. pygpt_net/core/idx/__init__.py +16 -4
  18. pygpt_net/core/idx/chat.py +15 -5
  19. pygpt_net/core/idx/indexing.py +24 -8
  20. pygpt_net/core/installer.py +2 -4
  21. pygpt_net/core/models.py +62 -17
  22. pygpt_net/core/modes.py +11 -13
  23. pygpt_net/core/notepad.py +4 -4
  24. pygpt_net/core/plugins.py +27 -16
  25. pygpt_net/core/presets.py +20 -9
  26. pygpt_net/core/profile.py +11 -3
  27. pygpt_net/core/render/web/parser.py +3 -1
  28. pygpt_net/core/settings.py +5 -5
  29. pygpt_net/core/tabs/tab.py +10 -2
  30. pygpt_net/core/tokens.py +8 -6
  31. pygpt_net/core/web/__init__.py +105 -0
  32. pygpt_net/core/{web.py → web/helpers.py} +93 -67
  33. pygpt_net/data/config/config.json +3 -3
  34. pygpt_net/data/config/models.json +3 -3
  35. pygpt_net/data/config/modes.json +3 -3
  36. pygpt_net/data/locale/locale.en.ini +1 -0
  37. pygpt_net/data/locale/plugin.cmd_web.en.ini +2 -0
  38. pygpt_net/data/locale/plugin.mailer.en.ini +21 -0
  39. pygpt_net/item/ctx.py +13 -2
  40. pygpt_net/plugin/agent/__init__.py +7 -2
  41. pygpt_net/plugin/audio_output/__init__.py +6 -1
  42. pygpt_net/plugin/base/plugin.py +58 -26
  43. pygpt_net/plugin/base/worker.py +20 -17
  44. pygpt_net/plugin/cmd_history/config.py +2 -2
  45. pygpt_net/plugin/cmd_web/__init__.py +3 -4
  46. pygpt_net/plugin/cmd_web/config.py +71 -3
  47. pygpt_net/plugin/cmd_web/websearch.py +20 -12
  48. pygpt_net/plugin/cmd_web/worker.py +67 -4
  49. pygpt_net/plugin/idx_llama_index/config.py +3 -3
  50. pygpt_net/plugin/mailer/__init__.py +123 -0
  51. pygpt_net/plugin/mailer/config.py +149 -0
  52. pygpt_net/plugin/mailer/runner.py +285 -0
  53. pygpt_net/plugin/mailer/worker.py +123 -0
  54. pygpt_net/provider/agents/base.py +5 -2
  55. pygpt_net/provider/agents/openai.py +4 -2
  56. pygpt_net/provider/agents/openai_assistant.py +4 -2
  57. pygpt_net/provider/agents/planner.py +4 -2
  58. pygpt_net/provider/agents/react.py +4 -2
  59. pygpt_net/provider/audio_output/openai_tts.py +5 -11
  60. pygpt_net/provider/core/assistant/base.py +5 -3
  61. pygpt_net/provider/core/assistant/json_file.py +8 -5
  62. pygpt_net/provider/core/assistant_file/base.py +4 -3
  63. pygpt_net/provider/core/assistant_file/db_sqlite/__init__.py +4 -3
  64. pygpt_net/provider/core/assistant_file/db_sqlite/storage.py +3 -2
  65. pygpt_net/provider/core/assistant_store/base.py +6 -4
  66. pygpt_net/provider/core/assistant_store/db_sqlite/__init__.py +5 -4
  67. pygpt_net/provider/core/assistant_store/db_sqlite/storage.py +5 -3
  68. pygpt_net/provider/core/attachment/base.py +5 -3
  69. pygpt_net/provider/core/attachment/json_file.py +4 -3
  70. pygpt_net/provider/core/calendar/base.py +5 -3
  71. pygpt_net/provider/core/calendar/db_sqlite/__init__.py +6 -5
  72. pygpt_net/provider/core/calendar/db_sqlite/storage.py +5 -4
  73. pygpt_net/provider/core/config/base.py +8 -6
  74. pygpt_net/provider/core/config/json_file.py +9 -7
  75. pygpt_net/provider/core/ctx/base.py +27 -25
  76. pygpt_net/provider/core/ctx/db_sqlite/__init__.py +51 -35
  77. pygpt_net/provider/core/ctx/db_sqlite/storage.py +42 -31
  78. pygpt_net/provider/core/ctx/db_sqlite/utils.py +11 -9
  79. pygpt_net/provider/core/index/base.py +129 -23
  80. pygpt_net/provider/core/index/db_sqlite/__init__.py +130 -23
  81. pygpt_net/provider/core/index/db_sqlite/storage.py +130 -23
  82. pygpt_net/provider/core/index/db_sqlite/utils.py +4 -2
  83. pygpt_net/provider/core/mode/base.py +5 -3
  84. pygpt_net/provider/core/mode/json_file.py +7 -6
  85. pygpt_net/provider/core/model/base.py +6 -4
  86. pygpt_net/provider/core/model/json_file.py +9 -7
  87. pygpt_net/provider/core/notepad/base.py +5 -3
  88. pygpt_net/provider/core/notepad/db_sqlite/__init__.py +5 -4
  89. pygpt_net/provider/core/notepad/db_sqlite/storage.py +4 -3
  90. pygpt_net/provider/core/plugin_preset/base.py +4 -2
  91. pygpt_net/provider/core/plugin_preset/json_file.py +5 -3
  92. pygpt_net/provider/core/preset/base.py +6 -4
  93. pygpt_net/provider/core/preset/json_file.py +9 -9
  94. pygpt_net/provider/core/prompt/base.py +6 -3
  95. pygpt_net/provider/core/prompt/json_file.py +11 -6
  96. pygpt_net/provider/gpt/assistants.py +15 -6
  97. pygpt_net/provider/gpt/audio.py +5 -5
  98. pygpt_net/provider/gpt/chat.py +7 -5
  99. pygpt_net/provider/gpt/completion.py +8 -4
  100. pygpt_net/provider/gpt/image.py +3 -3
  101. pygpt_net/provider/gpt/store.py +46 -12
  102. pygpt_net/provider/gpt/vision.py +16 -11
  103. pygpt_net/provider/llms/anthropic.py +7 -2
  104. pygpt_net/provider/llms/azure_openai.py +26 -5
  105. pygpt_net/provider/llms/base.py +47 -9
  106. pygpt_net/provider/llms/google.py +7 -2
  107. pygpt_net/provider/llms/hugging_face.py +13 -3
  108. pygpt_net/provider/llms/hugging_face_api.py +18 -4
  109. pygpt_net/provider/llms/local.py +7 -2
  110. pygpt_net/provider/llms/ollama.py +30 -6
  111. pygpt_net/provider/llms/openai.py +32 -6
  112. pygpt_net/provider/vector_stores/__init__.py +45 -14
  113. pygpt_net/provider/vector_stores/base.py +35 -8
  114. pygpt_net/provider/vector_stores/chroma.py +13 -3
  115. pygpt_net/provider/vector_stores/ctx_attachment.py +31 -12
  116. pygpt_net/provider/vector_stores/elasticsearch.py +12 -3
  117. pygpt_net/provider/vector_stores/pinecode.py +12 -3
  118. pygpt_net/provider/vector_stores/redis.py +12 -3
  119. pygpt_net/provider/vector_stores/simple.py +12 -3
  120. pygpt_net/provider/vector_stores/temp.py +16 -4
  121. pygpt_net/provider/web/base.py +10 -3
  122. pygpt_net/provider/web/google_custom_search.py +9 -3
  123. pygpt_net/provider/web/microsoft_bing.py +9 -3
  124. pygpt_net/tools/__init__.py +13 -5
  125. pygpt_net/tools/audio_transcriber/__init__.py +4 -3
  126. pygpt_net/tools/base.py +15 -8
  127. pygpt_net/tools/code_interpreter/__init__.py +4 -3
  128. pygpt_net/tools/html_canvas/__init__.py +4 -3
  129. pygpt_net/tools/image_viewer/__init__.py +10 -4
  130. pygpt_net/tools/indexer/__init__.py +8 -7
  131. pygpt_net/tools/media_player/__init__.py +4 -3
  132. pygpt_net/tools/text_editor/__init__.py +36 -10
  133. pygpt_net/ui/layout/chat/output.py +2 -2
  134. pygpt_net/ui/menu/audio.py +12 -1
  135. {pygpt_net-2.4.41.dist-info → pygpt_net-2.4.42.dist-info}/METADATA +136 -71
  136. {pygpt_net-2.4.41.dist-info → pygpt_net-2.4.42.dist-info}/RECORD +139 -132
  137. {pygpt_net-2.4.41.dist-info → pygpt_net-2.4.42.dist-info}/LICENSE +0 -0
  138. {pygpt_net-2.4.41.dist-info → pygpt_net-2.4.42.dist-info}/WHEEL +0 -0
  139. {pygpt_net-2.4.41.dist-info → pygpt_net-2.4.42.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygpt-net
3
- Version: 2.4.41
3
+ Version: 2.4.42
4
4
  Summary: Desktop AI Assistant powered by models: OpenAI o1, GPT-4o, GPT-4, GPT-4 Vision, GPT-3.5, DALL-E 3, Llama 3, Mistral, Gemini, Claude, Bielik, and other models supported by Langchain, Llama Index, and Ollama. Features include chatbot, text completion, image generation, vision analysis, speech-to-text, internet access, file handling, command execution and more.
5
5
  Home-page: https://pygpt.net
6
6
  License: MIT
@@ -92,7 +92,7 @@ Description-Content-Type: text/markdown
92
92
 
93
93
  [![pygpt](https://snapcraft.io/pygpt/badge.svg)](https://snapcraft.io/pygpt)
94
94
 
95
- Release: **2.4.41** | build: **2024.12.14** | Python: **>=3.10, <3.12**
95
+ Release: **2.4.42** | build: **2024.12.15** | Python: **>=3.10, <3.12**
96
96
 
97
97
  > Official website: https://pygpt.net | Documentation: https://pygpt.readthedocs.io
98
98
  >
@@ -1157,6 +1157,8 @@ as well as list and create directories.
1157
1157
 
1158
1158
  - `Voice Control (inline)` - provides voice control command execution within a conversation.
1159
1159
 
1160
+ - `Mailer` - Provides the ability to send, receive and read emails.
1161
+
1160
1162
  ## Audio Input
1161
1163
 
1162
1164
  The plugin facilitates speech recognition (by default using the `Whisper` model from OpenAI, `Google` and `Bing` are also available). It allows for voice commands to be relayed to the AI using your own voice. Whisper doesn't require any extra API keys or additional configurations; it uses the main OpenAI key. In the plugin's configuration options, you should adjust the volume level (min energy) at which the plugin will respond to your microphone. Once the plugin is activated, a new `Speak` option will appear at the bottom near the `Send` button - when this is enabled, the application will respond to the voice received from the microphone.
@@ -1583,15 +1585,15 @@ sudo snap connect pygpt:docker docker:docker-daemon
1583
1585
 
1584
1586
  Automatically attach code input/output to the Python Code Interpreter window. *Default:* `True`
1585
1587
 
1586
- - `Enable: get_python_output` *cmd.get_python_output*
1588
+ - `Tool: get_python_output` *cmd.get_python_output*
1587
1589
 
1588
1590
  Allows `get_python_output` command execution. If enabled, it allows retrieval of the output from the Python Code Interpreter window. *Default:* `True`
1589
1591
 
1590
- - `Enable: get_python_input` *cmd.get_python_input*
1592
+ - `Tool: get_python_input` *cmd.get_python_input*
1591
1593
 
1592
1594
  Allows `get_python_input` command execution. If enabled, it allows retrieval all input code (from edit section) from the Python Code Interpreter window. *Default:* `True`
1593
1595
 
1594
- - `Enable: clear_python_output` *cmd.clear_python_output*
1596
+ - `Tool: clear_python_output` *cmd.clear_python_output*
1595
1597
 
1596
1598
  Allows `clear_python_output` command execution. If enabled, it allows clear the output of the Python Code Interpreter window. *Default:* `True`
1597
1599
 
@@ -1643,11 +1645,11 @@ Default: 5558
1643
1645
  Default: 5559
1644
1646
 
1645
1647
 
1646
- - `Enable: ipython_execute` *cmd.ipython_execute*
1648
+ - `Tool: ipython_execute` *cmd.ipython_execute*
1647
1649
 
1648
1650
  Allows Python code execution in IPython interpreter (in current kernel). *Default:* `True`
1649
1651
 
1650
- - `Enable: python_kernel_restart` *cmd.ipython_kernel_restart*
1652
+ - `Tool: python_kernel_restart` *cmd.ipython_kernel_restart*
1651
1653
 
1652
1654
  Allows to restart IPython kernel. *Default:* `True`
1653
1655
 
@@ -1674,26 +1676,26 @@ Custom Docker image name
1674
1676
 
1675
1677
  Custom Docker container name
1676
1678
 
1677
- - `Enable: code_execute` *cmd.code_execute*
1679
+ - `Tool: code_execute` *cmd.code_execute*
1678
1680
 
1679
1681
  Allows `code_execute` command execution. If enabled, provides Python code execution (generate and execute from file). *Default:* `True`
1680
1682
 
1681
- - `Enable: code_execute_all` *cmd.code_execute_all*
1683
+ - `Tool: code_execute_all` *cmd.code_execute_all*
1682
1684
 
1683
1685
  Allows `code_execute_all` command execution. If enabled, provides execution of all the Python code in interpreter window. *Default:* `True`
1684
1686
 
1685
- - `Enable: code_execute_file` *cmd.code_execute_file*
1687
+ - `Tool: code_execute_file` *cmd.code_execute_file*
1686
1688
 
1687
1689
  Allows `code_execute_file` command execution. If enabled, provides Python code execution from existing .py file. *Default:* `True`
1688
1690
 
1689
1691
 
1690
1692
  **HTML Canvas**
1691
1693
 
1692
- - `Enable: render_html_output` *cmd.render_html_output*
1694
+ - `Tool: render_html_output` *cmd.render_html_output*
1693
1695
 
1694
1696
  Allows `render_html_output` command execution. If enabled, it allows to render HTML/JS code in built-it HTML/JS browser (HTML Canvas). *Default:* `True`
1695
1697
 
1696
- - `Enable: get_html_output` *cmd.get_html_output*
1698
+ - `Tool: get_html_output` *cmd.get_html_output*
1697
1699
 
1698
1700
  Allows `get_html_output` command execution. If enabled, it allows retrieval current output from HTML Canvas. *Default:* `True`
1699
1701
 
@@ -1796,79 +1798,79 @@ If a file being created (with the same name) already exists, a prefix including
1796
1798
 
1797
1799
  **General**
1798
1800
 
1799
- - `Enable: send (upload) file as attachment` *cmd.send_file*
1801
+ - `Tool: send (upload) file as attachment` *cmd.send_file*
1800
1802
 
1801
1803
  Allows `cmd.send_file` command execution. *Default:* `True`
1802
1804
 
1803
- - `Enable: read file` *cmd.read_file*
1805
+ - `Tool: read file` *cmd.read_file*
1804
1806
 
1805
1807
  Allows `read_file` command execution. *Default:* `True`
1806
1808
 
1807
- - `Enable: append to file` *cmd.append_file*
1809
+ - `Tool: append to file` *cmd.append_file*
1808
1810
 
1809
1811
  Allows `append_file` command execution. Text-based files only (plain text, JSON, CSV, etc.) *Default:* `True`
1810
1812
 
1811
- - `Enable: save file` *cmd.save_file*
1813
+ - `Tool: save file` *cmd.save_file*
1812
1814
 
1813
1815
  Allows `save_file` command execution. Text-based files only (plain text, JSON, CSV, etc.) *Default:* `True`
1814
1816
 
1815
- - `Enable: delete file` *cmd.delete_file*
1817
+ - `Tool: delete file` *cmd.delete_file*
1816
1818
 
1817
1819
  Allows `delete_file` command execution. *Default:* `True`
1818
1820
 
1819
- - `Enable: list files (ls)` *cmd.list_files*
1821
+ - `Tool: list files (ls)` *cmd.list_files*
1820
1822
 
1821
1823
  Allows `list_dir` command execution. *Default:* `True`
1822
1824
 
1823
- - `Enable: list files in dirs in directory (ls)` *cmd.list_dir*
1825
+ - `Tool: list files in dirs in directory (ls)` *cmd.list_dir*
1824
1826
 
1825
1827
  Allows `mkdir` command execution. *Default:* `True`
1826
1828
 
1827
- - `Enable: downloading files` *cmd.download_file*
1829
+ - `Tool: downloading files` *cmd.download_file*
1828
1830
 
1829
1831
  Allows `download_file` command execution. *Default:* `True`
1830
1832
 
1831
- - `Enable: removing directories` *cmd.rmdir*
1833
+ - `Tool: removing directories` *cmd.rmdir*
1832
1834
 
1833
1835
  Allows `rmdir` command execution. *Default:* `True`
1834
1836
 
1835
- - `Enable: copying files` *cmd.copy_file*
1837
+ - `Tool: copying files` *cmd.copy_file*
1836
1838
 
1837
1839
  Allows `copy_file` command execution. *Default:* `True`
1838
1840
 
1839
- - `Enable: copying directories (recursive)` *cmd.copy_dir*
1841
+ - `Tool: copying directories (recursive)` *cmd.copy_dir*
1840
1842
 
1841
1843
  Allows `copy_dir` command execution. *Default:* `True`
1842
1844
 
1843
- - `Enable: move files and directories (rename)` *cmd.move*
1845
+ - `Tool: move files and directories (rename)` *cmd.move*
1844
1846
 
1845
1847
  Allows `move` command execution. *Default:* `True`
1846
1848
 
1847
- - `Enable: check if path is directory` *cmd.is_dir*
1849
+ - `Tool: check if path is directory` *cmd.is_dir*
1848
1850
 
1849
1851
  Allows `is_dir` command execution. *Default:* `True`
1850
1852
 
1851
- - `Enable: check if path is file` *cmd.is_file*
1853
+ - `Tool: check if path is file` *cmd.is_file*
1852
1854
 
1853
1855
  Allows `is_file` command execution. *Default:* `True`
1854
1856
 
1855
- - `Enable: check if file or directory exists` *cmd.file_exists*
1857
+ - `Tool: check if file or directory exists` *cmd.file_exists*
1856
1858
 
1857
1859
  Allows `file_exists` command execution. *Default:* `True`
1858
1860
 
1859
- - `Enable: get file size` *cmd.file_size*
1861
+ - `Tool: get file size` *cmd.file_size*
1860
1862
 
1861
1863
  Allows `file_size` command execution. *Default:* `True`
1862
1864
 
1863
- - `Enable: get file info` *cmd.file_info*
1865
+ - `Tool: get file info` *cmd.file_info*
1864
1866
 
1865
1867
  Allows `file_info` command execution. *Default:* `True`
1866
1868
 
1867
- - `Enable: find file or directory` *cmd.find*
1869
+ - `Tool: find file or directory` *cmd.find*
1868
1870
 
1869
1871
  Allows `find` command execution. *Default:* `True`
1870
1872
 
1871
- - `Enable: get current working directory` *cmd.cwd*
1873
+ - `Tool: get current working directory` *cmd.cwd*
1872
1874
 
1873
1875
  Allows `cwd` command execution. *Default:* `True`
1874
1876
 
@@ -1878,7 +1880,7 @@ Use data loaders from LlamaIndex for file reading (`read_file` command). *Defaul
1878
1880
 
1879
1881
  **Indexing**
1880
1882
 
1881
- - `Enable: quick query the file with LlamaIndex` *cmd.query_file*
1883
+ - `Tool: quick query the file with LlamaIndex` *cmd.query_file*
1882
1884
 
1883
1885
  Allows `query_file` command execution (in-memory index). If enabled, model will be able to quick index file into memory and query it for data (in-memory index) *Default:* `True`
1884
1886
 
@@ -1886,7 +1888,7 @@ Allows `query_file` command execution (in-memory index). If enabled, model will
1886
1888
 
1887
1889
  Model used for query temporary index for `query_file` command (in-memory index). *Default:* `gpt-3.5-turbo`
1888
1890
 
1889
- - `Enable: indexing files to persistent index` *cmd.file_index*
1891
+ - `Tool: indexing files to persistent index` *cmd.file_index*
1890
1892
 
1891
1893
  Allows `file_index` command execution. If enabled, model will be able to index file or directory using LlamaIndex (persistent index). *Default:* `True`
1892
1894
 
@@ -1914,7 +1916,7 @@ The plugin provides access to the operating system and executes system commands.
1914
1916
 
1915
1917
  Automatically append current working directory to `sys_exec` command. *Default:* `True`
1916
1918
 
1917
- - `Enable: sys_exec` *cmd.sys_exec*
1919
+ - `Tool: sys_exec` *cmd.sys_exec*
1918
1920
 
1919
1921
  Allows `sys_exec` command execution. If enabled, provides system commands execution. *Default:* `True`
1920
1922
 
@@ -1966,35 +1968,35 @@ Allows keyboard typing. *Default:* `True`
1966
1968
 
1967
1969
  Allows making screenshots. *Default:* `True`
1968
1970
 
1969
- - `Enable: mouse_get_pos` *cmd.mouse_get_pos*
1971
+ - `Tool: mouse_get_pos` *cmd.mouse_get_pos*
1970
1972
 
1971
1973
  Allows `mouse_get_pos` command execution. *Default:* `True`
1972
1974
 
1973
- - `Enable: mouse_set_pos` *cmd.mouse_set_pos*
1975
+ - `Tool: mouse_set_pos` *cmd.mouse_set_pos*
1974
1976
 
1975
1977
  Allows `mouse_set_pos` command execution. *Default:* `True`
1976
1978
 
1977
- - `Enable: make_screenshot` *cmd.make_screenshot*
1979
+ - `Tool: make_screenshot` *cmd.make_screenshot*
1978
1980
 
1979
1981
  Allows `make_screenshot` command execution. *Default:* `True`
1980
1982
 
1981
- - `Enable: mouse_click` *cmd.mouse_click*
1983
+ - `Tool: mouse_click` *cmd.mouse_click*
1982
1984
 
1983
1985
  Allows `mouse_click` command execution. *Default:* `True`
1984
1986
 
1985
- - `Enable: mouse_move` *cmd.mouse_move*
1987
+ - `Tool: mouse_move` *cmd.mouse_move*
1986
1988
 
1987
1989
  Allows `mouse_move` command execution. *Default:* `True`
1988
1990
 
1989
- - `Enable: mouse_scroll` *cmd.mouse_scroll*
1991
+ - `Tool: mouse_scroll` *cmd.mouse_scroll*
1990
1992
 
1991
1993
  Allows `mouse_scroll` command execution. *Default:* `True`
1992
1994
 
1993
- - `Enable: keyboard_key` *cmd.keyboard_key*
1995
+ - `Tool: keyboard_key` *cmd.keyboard_key*
1994
1996
 
1995
1997
  Allows `keyboard_key` command execution. *Default:* `True`
1996
1998
 
1997
- - `Enable: keyboard_type` *cmd.keyboard_type*
1999
+ - `Tool: keyboard_type` *cmd.keyboard_type*
1998
2000
 
1999
2001
  Allows `keyboard_type` command execution. *Default:* `True`
2000
2002
 
@@ -2094,41 +2096,35 @@ Max length of the summarized or raw result (characters). *Default:* `50000`
2094
2096
 
2095
2097
  Max tokens in output when generating summary. *Default:* `1500`
2096
2098
 
2097
- - `Enable: search the Web` *cmd.web_search*
2099
+ - `Tool: web_search` *cmd.web_search*
2098
2100
 
2099
2101
  Allows `web_search` command execution. If enabled, model will be able to search the Web. *Default:* `True`
2100
2102
 
2101
- - `Enable: opening URLs` *cmd.web_url_open*
2103
+ - `Tool: web_url_open` *cmd.web_url_open*
2102
2104
 
2103
2105
  Allows `web_url_open` command execution. If enabled, model will be able to open specified URL and summarize content. *Default:* `True`
2104
2106
 
2105
- - `Enable: reading the raw content from URLs` *cmd.web_url_raw*
2107
+ - `Tool: web_url_raw` *cmd.web_url_raw*
2106
2108
 
2107
2109
  Allows `web_url_raw` command execution. If enabled, model will be able to open specified URL and get the raw content. *Default:* `True`
2108
2110
 
2109
- - `Enable: getting a list of URLs from search results` *cmd.web_urls*
2111
+ - `Tool: web_request` *cmd.web_request*
2110
2112
 
2111
- Allows `web_urls` command execution. If enabled, model will be able to search the Web and get founded URLs list. *Default:* `True`
2113
+ Allows `web_request` command execution. If enabled, model will be able to send any HTTP request to specified URL or API endpoint. *Default:* `True`
2112
2114
 
2113
- - `Enable: indexing web and external content` *cmd.web_index*
2115
+ - `Tool: web_extract_links` *cmd.web_extract_links*
2114
2116
 
2115
- Allows `web_index` command execution. If enabled, model will be able to index pages and external content using LlamaIndex (persistent index). *Default:* `True`
2117
+ Allows `web_extract_links` command execution. If enabled, model will be able to open URL and get list of all links from it. *Default:* `True`
2116
2118
 
2117
- - `Enable: quick query the web and external content` *cmd.web_index_query*
2119
+ - `Tool: web_extract_images` *cmd.web_extract_images*
2118
2120
 
2119
- Allows `web_index_query` command execution. If enabled, model will be able to quick index and query web content using LlamaIndex (in-memory index). *Default:* `True`
2121
+ Allows `web_extract_images` command execution. If enabled, model will be able to open URL and get list of all images from it.. *Default:* `True`
2120
2122
 
2121
- - `Auto-index all used URLs using LlamaIndex` *auto_index*
2122
-
2123
- If enabled, every URL used by the model will be automatically indexed using LlamaIndex (persistent index). *Default:* `False`
2124
-
2125
- - `Index to use` *idx*
2126
-
2127
- ID of index to use for web page indexing (persistent index). *Default:* `base`
2123
+ **Advanced**
2128
2124
 
2129
2125
  - `Model used for web page summarize` *summary_model*
2130
2126
 
2131
- Model used for web page summarize. *Default:* `gpt-3.5-turbo-1106`
2127
+ Model used for web page summarize. *Default:* `gpt-4o-mini`
2132
2128
 
2133
2129
  - `Summarize prompt` *prompt_summarize*
2134
2130
 
@@ -2138,6 +2134,24 @@ Prompt used for web search results summarize, use {query} as a placeholder for s
2138
2134
 
2139
2135
  Prompt used for specified URL page summarize.
2140
2136
 
2137
+ **Indexing**
2138
+
2139
+ - `Tool: web_index` *cmd.web_index*
2140
+
2141
+ Allows `web_index` command execution. If enabled, model will be able to index pages and external content using LlamaIndex (persistent index). *Default:* `True`
2142
+
2143
+ - `Tool: web_index_query` *cmd.web_index_query*
2144
+
2145
+ Allows `web_index_query` command execution. If enabled, model will be able to quick index and query web content using LlamaIndex (in-memory index). *Default:* `True`
2146
+
2147
+ - `Auto-index all used URLs using LlamaIndex` *auto_index*
2148
+
2149
+ If enabled, every URL used by the model will be automatically indexed using LlamaIndex (persistent index). *Default:* `False`
2150
+
2151
+ - `Index to use` *idx*
2152
+
2153
+ ID of index to use for web page indexing (persistent index). *Default:* `base`
2154
+
2141
2155
  ## Serial port / USB
2142
2156
 
2143
2157
  Provides commands for reading and sending data to USB ports.
@@ -2185,15 +2199,15 @@ Timeout in seconds. *Default:* `1`
2185
2199
 
2186
2200
  Sleep in seconds after connection *Default:* `2`
2187
2201
 
2188
- - `Enable: Send text commands to USB port` *cmd.serial_send*
2202
+ - `Tool: Send text commands to USB port` *cmd.serial_send*
2189
2203
 
2190
2204
  Allows `serial_send` command execution. *Default:* `True`
2191
2205
 
2192
- - `Enable: Send raw bytes to USB port` *cmd.serial_send_bytes*
2206
+ - `Tool: Send raw bytes to USB port` *cmd.serial_send_bytes*
2193
2207
 
2194
2208
  Allows `serial_send_bytes` command execution. *Default:* `True`
2195
2209
 
2196
- - `Enable: Read data from USB port` *cmd.serial_read*
2210
+ - `Tool: Read data from USB port` *cmd.serial_read*
2197
2211
 
2198
2212
  Allows `serial_read` command execution. *Default:* `True`
2199
2213
 
@@ -2232,31 +2246,31 @@ Where `123` is the ID of previous context (conversation) in database, example of
2232
2246
 
2233
2247
  When enabled, it allows to automatically retrieve context history using @ tags, e.g. use @123 in question to use summary of context with ID 123 as additional context. *Default:* `False`
2234
2248
 
2235
- - `Enable: get date range context list` *cmd.get_ctx_list_in_date_range*
2249
+ - `Tool: get date range context list` *cmd.get_ctx_list_in_date_range*
2236
2250
 
2237
2251
  Allows `get_ctx_list_in_date_range` command execution. If enabled, it allows getting the list of context history (previous conversations). *Default:* `True
2238
2252
 
2239
- - `Enable: get context content by ID` *cmd.get_ctx_content_by_id*
2253
+ - `Tool: get context content by ID` *cmd.get_ctx_content_by_id*
2240
2254
 
2241
2255
  Allows `get_ctx_content_by_id` command execution. If enabled, it allows getting summarized content of context with defined ID. *Default:* `True`
2242
2256
 
2243
- - `Enable: count contexts in date range` *cmd.count_ctx_in_date*
2257
+ - `Tool: count contexts in date range` *cmd.count_ctx_in_date*
2244
2258
 
2245
2259
  Allows `count_ctx_in_date` command execution. If enabled, it allows counting contexts in date range. *Default:* `True`
2246
2260
 
2247
- - `Enable: get day note` *cmd.get_day_note*
2261
+ - `Tool: get day note` *cmd.get_day_note*
2248
2262
 
2249
2263
  Allows `get_day_note` command execution. If enabled, it allows retrieving day note for specific date. *Default:* `True`
2250
2264
 
2251
- - `Enable: add day note` *cmd.add_day_note*
2265
+ - `Tool: add day note` *cmd.add_day_note*
2252
2266
 
2253
2267
  Allows `add_day_note` command execution. If enabled, it allows adding day note for specific date. *Default:* `True`
2254
2268
 
2255
- - `Enable: update day note` *cmd.update_day_note*
2269
+ - `Tool: update day note` *cmd.update_day_note*
2256
2270
 
2257
2271
  Allows `update_day_note` command execution. If enabled, it allows updating day note for specific date. *Default:* `True`
2258
2272
 
2259
- - `Enable: remove day note` *cmd.remove_day_note*
2273
+ - `Tool: remove day note` *cmd.remove_day_note*
2260
2274
 
2261
2275
  Allows `remove_day_note` command execution. If enabled, it allows removing day note for specific date. *Default:* `True`
2262
2276
 
@@ -2348,14 +2362,57 @@ The prompt used for vision mode. It will append or replace current system prompt
2348
2362
 
2349
2363
  Replace whole system prompt with vision prompt against appending it to the current prompt. *Default:* `False`
2350
2364
 
2351
- - `Enable: capturing images from camera` *cmd.camera_capture*
2365
+ - `Tool: capturing images from camera` *cmd.camera_capture*
2352
2366
 
2353
2367
  Allows `capture` command execution. If enabled, model will be able to capture images from camera itself. The `+ Tools` option must be enabled. *Default:* `False`
2354
2368
 
2355
- - `Enable: making screenshots` *cmd.make_screenshot*
2369
+ - `Tool: making screenshots` *cmd.make_screenshot*
2356
2370
 
2357
2371
  Allows `screenshot` command execution. If enabled, model will be able to making screenshots itself. The `+ Tools` option must be enabled. *Default:* `False`
2358
2372
 
2373
+ ## Mailer
2374
+
2375
+ Enables the sending, receiving, and reading of emails from the inbox. Currently, only SMTP is supported. More options coming soon.
2376
+
2377
+ **Options**
2378
+
2379
+ - `From (email)` *from_email*
2380
+
2381
+ From (email), e.g. me@domain.com
2382
+
2383
+ - `Tool: send_mail` *cmd.send_mail*
2384
+
2385
+ Allows `send_mail` command execution. If enabled, model will be able to sending emails.
2386
+
2387
+ - `Tool: receive_emails` *cmd.receive_emails*
2388
+
2389
+ Allows `receive_emails` command execution. If enabled, model will be able to receive emails from the server.
2390
+
2391
+ - `Tool: get_email_body` *cmd.get_email_body*
2392
+
2393
+ Allows `get_email_body` command execution. If enabled, model will be able to receive message body from the server.
2394
+
2395
+ - `SMTP Host` *smtp_host*
2396
+
2397
+ SMTP Host, e.g. smtp.domain.com
2398
+
2399
+ - `SMTP Port (Inbox)` *smtp_port_inbox*
2400
+
2401
+ SMTP Port, default: 995
2402
+
2403
+ - `SMTP Port (Outbox)` *smtp_port_outbox*
2404
+
2405
+ SMTP Port, default: 465
2406
+
2407
+ - `SMTP User` *smtp_user*
2408
+
2409
+ SMTP User, e.g. user@domain.com
2410
+
2411
+ - `SMTP Password` *smtp_password*
2412
+
2413
+ SMTP Password.
2414
+
2415
+
2359
2416
  ## Real Time
2360
2417
 
2361
2418
  This plugin automatically adds the current date and time to each system prompt you send.
@@ -3967,6 +4024,14 @@ may consume additional tokens that are not displayed in the main window.
3967
4024
 
3968
4025
  ## Recent changes:
3969
4026
 
4027
+ **2.4.42 (2024-12-15)**
4028
+
4029
+ - Added Mailer plugin, which allows sending and retrieving emails from the server, and reading them. It currently supports only SMTP.
4030
+ - Added 'web_request' command to the Web Search plugin, enabling GET/POST/PUT and other connections to any address and API endpoint. It also supports sending POST data, files, headers, cookies, and more.
4031
+ - Improved audio output.
4032
+ - Enhanced visibility of the Video menu.
4033
+ - Other fixes.
4034
+
3970
4035
  **2.4.41 (2024-12-14)**
3971
4036
 
3972
4037
  - Improved switching between columns on a split screen.