pygpt-net 2.4.36__py3-none-any.whl → 2.4.36.post1__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.
README.md CHANGED
@@ -97,13 +97,13 @@ Linux version requires `GLIBC` >= `2.35`.
97
97
  You can install **PyGPT** directly from Snap Store:
98
98
 
99
99
  ```commandline
100
- $ sudo snap install pygpt
100
+ sudo snap install pygpt
101
101
  ```
102
102
 
103
103
  To manage future updates just use:
104
104
 
105
105
  ```commandline
106
- $ sudo snap refresh pygpt
106
+ sudo snap refresh pygpt
107
107
  ```
108
108
 
109
109
  [![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/pygpt)
@@ -111,13 +111,13 @@ $ sudo snap refresh pygpt
111
111
  **Using camera:** to use camera in Snap version you must connect the camera with:
112
112
 
113
113
  ```commandline
114
- $ sudo snap connect pygpt:camera
114
+ sudo snap connect pygpt:camera
115
115
  ```
116
116
 
117
117
  **Using microphone:** to use microphone in Snap version you must connect the microphone with:
118
118
 
119
119
  ```commandline
120
- $ sudo snap connect pygpt:audio-record :audio-record
120
+ sudo snap connect pygpt:audio-record :audio-record
121
121
  ```
122
122
 
123
123
  **Connecting IPython in Docker in Snap version**:
@@ -125,11 +125,11 @@ $ sudo snap connect pygpt:audio-record :audio-record
125
125
  To use IPython in the Snap version, you must connect PyGPT to the Docker daemon:
126
126
 
127
127
  ```commandline
128
- $ sudo snap connect pygpt:docker-executables docker:docker-executables
128
+ sudo snap connect pygpt:docker-executables docker:docker-executables
129
129
  ```
130
130
 
131
131
  ````commandline
132
- $ sudo snap connect pygpt:docker docker:docker-daemon
132
+ sudo snap connect pygpt:docker docker:docker-daemon
133
133
  ````
134
134
 
135
135
  ## PyPi (pip)
@@ -139,20 +139,20 @@ The application can also be installed from `PyPi` using `pip install`:
139
139
  1. Create virtual environment:
140
140
 
141
141
  ```commandline
142
- $ python3 -m venv venv
143
- $ source venv/bin/activate
142
+ python3 -m venv venv
143
+ source venv/bin/activate
144
144
  ```
145
145
 
146
146
  2. Install from PyPi:
147
147
 
148
148
  ``` commandline
149
- $ pip install pygpt-net
149
+ pip install pygpt-net
150
150
  ```
151
151
 
152
152
  3. Once installed run the command to start the application:
153
153
 
154
154
  ``` commandline
155
- $ pygpt
155
+ pygpt
156
156
  ```
157
157
 
158
158
  ## Running from GitHub source code
@@ -164,27 +164,27 @@ An alternative method is to download the source code from `GitHub` and execute t
164
164
  1. Clone git repository or download .zip file:
165
165
 
166
166
  ```commandline
167
- $ git clone https://github.com/szczyglis-dev/py-gpt.git
168
- $ cd py-gpt
167
+ git clone https://github.com/szczyglis-dev/py-gpt.git
168
+ cd py-gpt
169
169
  ```
170
170
 
171
171
  2. Create a new virtual environment:
172
172
 
173
173
  ```commandline
174
- $ python3 -m venv venv
175
- $ source venv/bin/activate
174
+ python3 -m venv venv
175
+ source venv/bin/activate
176
176
  ```
177
177
 
178
178
  3. Install requirements:
179
179
 
180
180
  ```commandline
181
- $ pip install -r requirements.txt
181
+ pip install -r requirements.txt
182
182
  ```
183
183
 
184
184
  4. Run the application:
185
185
 
186
186
  ```commandline
187
- $ python3 run.py
187
+ python3 run.py
188
188
  ```
189
189
 
190
190
  ### Install with Poetry
@@ -192,33 +192,33 @@ $ python3 run.py
192
192
  1. Clone git repository or download .zip file:
193
193
 
194
194
  ```commandline
195
- $ git clone https://github.com/szczyglis-dev/py-gpt.git
196
- $ cd py-gpt
195
+ git clone https://github.com/szczyglis-dev/py-gpt.git
196
+ cd py-gpt
197
197
  ```
198
198
 
199
199
  2. Install Poetry (if not installed):
200
200
 
201
201
  ```commandline
202
- $ pip install poetry
202
+ pip install poetry
203
203
  ```
204
204
 
205
205
  3. Create a new virtual environment that uses Python 3.10:
206
206
 
207
207
  ```commandline
208
- $ poetry env use python3.10
209
- $ poetry shell
208
+ poetry env use python3.10
209
+ poetry shell
210
210
  ```
211
211
 
212
212
  4. Install requirements:
213
213
 
214
214
  ```commandline
215
- $ poetry install
215
+ poetry install
216
216
  ```
217
217
 
218
218
  5. Run the application:
219
219
 
220
220
  ```commandline
221
- $ poetry run python3 run.py
221
+ poetry run python3 run.py
222
222
  ```
223
223
 
224
224
  **Tip**: you can use `PyInstaller` to create a compiled version of
@@ -237,19 +237,19 @@ Reinstalling the application may fix this problem.
237
237
  ...then install `libxcb`:
238
238
 
239
239
  ```commandline
240
- $ sudo apt install libxcb-cursor0
240
+ sudo apt install libxcb-cursor0
241
241
  ```
242
242
 
243
243
  If you have a problems with audio on Linux, then try to install `portaudio19-dev` and/or `libasound2`:
244
244
 
245
245
  ```commandline
246
- $ sudo apt install portaudio19-dev
246
+ sudo apt install portaudio19-dev
247
247
  ```
248
248
 
249
249
  ```commandline
250
- $ sudo apt install libasound2
251
- $ sudo apt install libasound2-data
252
- $ sudo apt install libasound2-plugins
250
+ sudo apt install libasound2
251
+ sudo apt install libasound2-data
252
+ sudo apt install libasound2-plugins
253
253
  ```
254
254
 
255
255
  **Problems with GLIBC on Linux**
@@ -265,7 +265,7 @@ when trying to run the compiled version for Linux, try updating GLIBC to version
265
265
 
266
266
 
267
267
  ```commandline
268
- $ sudo snap connect pygpt:camera
268
+ sudo snap connect pygpt:camera
269
269
  ```
270
270
 
271
271
  **Access to microphone in Snap version:**
@@ -273,7 +273,7 @@ $ sudo snap connect pygpt:camera
273
273
  To use microphone in Snap version you must connect the microphone with:
274
274
 
275
275
  ```commandline
276
- $ sudo snap connect pygpt:audio-record :audio-record
276
+ sudo snap connect pygpt:audio-record :audio-record
277
277
  ```
278
278
 
279
279
  **Windows and VC++ Redistributable**
@@ -292,13 +292,13 @@ It may also be necessary to add the path `C:\path\to\venv\Lib\python3.x\site-pac
292
292
  If you have a problems with `WebEngine / Chromium` renderer you can force the legacy mode by launching the app with command line arguments:
293
293
 
294
294
  ``` ini
295
- $ python3 run.py --legacy=1
295
+ python3 run.py --legacy=1
296
296
  ```
297
297
 
298
298
  and to force disable OpenGL hardware acceleration:
299
299
 
300
300
  ``` ini
301
- $ python3 run.py --disable-gpu=1
301
+ python3 run.py --disable-gpu=1
302
302
  ```
303
303
 
304
304
  You can also manualy enable legacy mode by editing config file - open the `%WORKDIR%/config.json` config file in editor and set the following options:
@@ -946,11 +946,11 @@ How to use locally installed Llama 3 or Mistral models:
946
946
 
947
947
  For example, on Linux:
948
948
 
949
- ```$ curl -fsSL https://ollama.com/install.sh | sh```
949
+ ```curl -fsSL https://ollama.com/install.sh | sh```
950
950
 
951
951
  4) Run the model (e.g. Llama 3) locally on your machine. For example, on Linux:
952
952
 
953
- ```$ ollama run llama3.1```
953
+ ```ollama run llama3.1```
954
954
 
955
955
  5) Return to PyGPT and select the correct model from models list to chat with selected model using Ollama running locally.
956
956
 
@@ -1467,11 +1467,11 @@ You can find the installation instructions here: https://docs.docker.com/engine/
1467
1467
  To use IPython in the Snap version, you must connect PyGPT to the Docker daemon:
1468
1468
 
1469
1469
  ```commandline
1470
- $ sudo snap connect pygpt:docker-executables docker:docker-executables
1470
+ sudo snap connect pygpt:docker-executables docker:docker-executables
1471
1471
  ```
1472
1472
 
1473
1473
  ````commandline
1474
- $ sudo snap connect pygpt:docker docker:docker-daemon
1474
+ sudo snap connect pygpt:docker docker:docker-daemon
1475
1475
  ````
1476
1476
 
1477
1477
 
@@ -2961,22 +2961,6 @@ You can manually edit the configuration files in this directory (this is your wo
2961
2961
 
2962
2962
  ## Setting the Working Directory Using Command Line Arguments
2963
2963
 
2964
- If you want to force set current workdir using command-line argument, use:
2965
-
2966
- ```
2967
- python3 ./run.py --workdir="/path/to/workdir"
2968
- ```
2969
- or:
2970
-
2971
- ```
2972
- pygpt.exe --workdir="/path/to/workdir"
2973
- ```
2974
- in binary version.
2975
-
2976
- Certainly! Here's the improved version:
2977
-
2978
- ## Setting the Working Directory Using Command Line Arguments
2979
-
2980
2964
  To set the current working directory using a command-line argument, use:
2981
2965
 
2982
2966
  ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygpt-net
3
- Version: 2.4.36
3
+ Version: 2.4.36.post1
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
@@ -187,13 +187,13 @@ Linux version requires `GLIBC` >= `2.35`.
187
187
  You can install **PyGPT** directly from Snap Store:
188
188
 
189
189
  ```commandline
190
- $ sudo snap install pygpt
190
+ sudo snap install pygpt
191
191
  ```
192
192
 
193
193
  To manage future updates just use:
194
194
 
195
195
  ```commandline
196
- $ sudo snap refresh pygpt
196
+ sudo snap refresh pygpt
197
197
  ```
198
198
 
199
199
  [![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/pygpt)
@@ -201,13 +201,13 @@ $ sudo snap refresh pygpt
201
201
  **Using camera:** to use camera in Snap version you must connect the camera with:
202
202
 
203
203
  ```commandline
204
- $ sudo snap connect pygpt:camera
204
+ sudo snap connect pygpt:camera
205
205
  ```
206
206
 
207
207
  **Using microphone:** to use microphone in Snap version you must connect the microphone with:
208
208
 
209
209
  ```commandline
210
- $ sudo snap connect pygpt:audio-record :audio-record
210
+ sudo snap connect pygpt:audio-record :audio-record
211
211
  ```
212
212
 
213
213
  **Connecting IPython in Docker in Snap version**:
@@ -215,11 +215,11 @@ $ sudo snap connect pygpt:audio-record :audio-record
215
215
  To use IPython in the Snap version, you must connect PyGPT to the Docker daemon:
216
216
 
217
217
  ```commandline
218
- $ sudo snap connect pygpt:docker-executables docker:docker-executables
218
+ sudo snap connect pygpt:docker-executables docker:docker-executables
219
219
  ```
220
220
 
221
221
  ````commandline
222
- $ sudo snap connect pygpt:docker docker:docker-daemon
222
+ sudo snap connect pygpt:docker docker:docker-daemon
223
223
  ````
224
224
 
225
225
  ## PyPi (pip)
@@ -229,20 +229,20 @@ The application can also be installed from `PyPi` using `pip install`:
229
229
  1. Create virtual environment:
230
230
 
231
231
  ```commandline
232
- $ python3 -m venv venv
233
- $ source venv/bin/activate
232
+ python3 -m venv venv
233
+ source venv/bin/activate
234
234
  ```
235
235
 
236
236
  2. Install from PyPi:
237
237
 
238
238
  ``` commandline
239
- $ pip install pygpt-net
239
+ pip install pygpt-net
240
240
  ```
241
241
 
242
242
  3. Once installed run the command to start the application:
243
243
 
244
244
  ``` commandline
245
- $ pygpt
245
+ pygpt
246
246
  ```
247
247
 
248
248
  ## Running from GitHub source code
@@ -254,27 +254,27 @@ An alternative method is to download the source code from `GitHub` and execute t
254
254
  1. Clone git repository or download .zip file:
255
255
 
256
256
  ```commandline
257
- $ git clone https://github.com/szczyglis-dev/py-gpt.git
258
- $ cd py-gpt
257
+ git clone https://github.com/szczyglis-dev/py-gpt.git
258
+ cd py-gpt
259
259
  ```
260
260
 
261
261
  2. Create a new virtual environment:
262
262
 
263
263
  ```commandline
264
- $ python3 -m venv venv
265
- $ source venv/bin/activate
264
+ python3 -m venv venv
265
+ source venv/bin/activate
266
266
  ```
267
267
 
268
268
  3. Install requirements:
269
269
 
270
270
  ```commandline
271
- $ pip install -r requirements.txt
271
+ pip install -r requirements.txt
272
272
  ```
273
273
 
274
274
  4. Run the application:
275
275
 
276
276
  ```commandline
277
- $ python3 run.py
277
+ python3 run.py
278
278
  ```
279
279
 
280
280
  ### Install with Poetry
@@ -282,33 +282,33 @@ $ python3 run.py
282
282
  1. Clone git repository or download .zip file:
283
283
 
284
284
  ```commandline
285
- $ git clone https://github.com/szczyglis-dev/py-gpt.git
286
- $ cd py-gpt
285
+ git clone https://github.com/szczyglis-dev/py-gpt.git
286
+ cd py-gpt
287
287
  ```
288
288
 
289
289
  2. Install Poetry (if not installed):
290
290
 
291
291
  ```commandline
292
- $ pip install poetry
292
+ pip install poetry
293
293
  ```
294
294
 
295
295
  3. Create a new virtual environment that uses Python 3.10:
296
296
 
297
297
  ```commandline
298
- $ poetry env use python3.10
299
- $ poetry shell
298
+ poetry env use python3.10
299
+ poetry shell
300
300
  ```
301
301
 
302
302
  4. Install requirements:
303
303
 
304
304
  ```commandline
305
- $ poetry install
305
+ poetry install
306
306
  ```
307
307
 
308
308
  5. Run the application:
309
309
 
310
310
  ```commandline
311
- $ poetry run python3 run.py
311
+ poetry run python3 run.py
312
312
  ```
313
313
 
314
314
  **Tip**: you can use `PyInstaller` to create a compiled version of
@@ -327,19 +327,19 @@ Reinstalling the application may fix this problem.
327
327
  ...then install `libxcb`:
328
328
 
329
329
  ```commandline
330
- $ sudo apt install libxcb-cursor0
330
+ sudo apt install libxcb-cursor0
331
331
  ```
332
332
 
333
333
  If you have a problems with audio on Linux, then try to install `portaudio19-dev` and/or `libasound2`:
334
334
 
335
335
  ```commandline
336
- $ sudo apt install portaudio19-dev
336
+ sudo apt install portaudio19-dev
337
337
  ```
338
338
 
339
339
  ```commandline
340
- $ sudo apt install libasound2
341
- $ sudo apt install libasound2-data
342
- $ sudo apt install libasound2-plugins
340
+ sudo apt install libasound2
341
+ sudo apt install libasound2-data
342
+ sudo apt install libasound2-plugins
343
343
  ```
344
344
 
345
345
  **Problems with GLIBC on Linux**
@@ -355,7 +355,7 @@ when trying to run the compiled version for Linux, try updating GLIBC to version
355
355
 
356
356
 
357
357
  ```commandline
358
- $ sudo snap connect pygpt:camera
358
+ sudo snap connect pygpt:camera
359
359
  ```
360
360
 
361
361
  **Access to microphone in Snap version:**
@@ -363,7 +363,7 @@ $ sudo snap connect pygpt:camera
363
363
  To use microphone in Snap version you must connect the microphone with:
364
364
 
365
365
  ```commandline
366
- $ sudo snap connect pygpt:audio-record :audio-record
366
+ sudo snap connect pygpt:audio-record :audio-record
367
367
  ```
368
368
 
369
369
  **Windows and VC++ Redistributable**
@@ -382,13 +382,13 @@ It may also be necessary to add the path `C:\path\to\venv\Lib\python3.x\site-pac
382
382
  If you have a problems with `WebEngine / Chromium` renderer you can force the legacy mode by launching the app with command line arguments:
383
383
 
384
384
  ``` ini
385
- $ python3 run.py --legacy=1
385
+ python3 run.py --legacy=1
386
386
  ```
387
387
 
388
388
  and to force disable OpenGL hardware acceleration:
389
389
 
390
390
  ``` ini
391
- $ python3 run.py --disable-gpu=1
391
+ python3 run.py --disable-gpu=1
392
392
  ```
393
393
 
394
394
  You can also manualy enable legacy mode by editing config file - open the `%WORKDIR%/config.json` config file in editor and set the following options:
@@ -1036,11 +1036,11 @@ How to use locally installed Llama 3 or Mistral models:
1036
1036
 
1037
1037
  For example, on Linux:
1038
1038
 
1039
- ```$ curl -fsSL https://ollama.com/install.sh | sh```
1039
+ ```curl -fsSL https://ollama.com/install.sh | sh```
1040
1040
 
1041
1041
  4) Run the model (e.g. Llama 3) locally on your machine. For example, on Linux:
1042
1042
 
1043
- ```$ ollama run llama3.1```
1043
+ ```ollama run llama3.1```
1044
1044
 
1045
1045
  5) Return to PyGPT and select the correct model from models list to chat with selected model using Ollama running locally.
1046
1046
 
@@ -1557,11 +1557,11 @@ You can find the installation instructions here: https://docs.docker.com/engine/
1557
1557
  To use IPython in the Snap version, you must connect PyGPT to the Docker daemon:
1558
1558
 
1559
1559
  ```commandline
1560
- $ sudo snap connect pygpt:docker-executables docker:docker-executables
1560
+ sudo snap connect pygpt:docker-executables docker:docker-executables
1561
1561
  ```
1562
1562
 
1563
1563
  ````commandline
1564
- $ sudo snap connect pygpt:docker docker:docker-daemon
1564
+ sudo snap connect pygpt:docker docker:docker-daemon
1565
1565
  ````
1566
1566
 
1567
1567
 
@@ -3051,22 +3051,6 @@ You can manually edit the configuration files in this directory (this is your wo
3051
3051
 
3052
3052
  ## Setting the Working Directory Using Command Line Arguments
3053
3053
 
3054
- If you want to force set current workdir using command-line argument, use:
3055
-
3056
- ```
3057
- python3 ./run.py --workdir="/path/to/workdir"
3058
- ```
3059
- or:
3060
-
3061
- ```
3062
- pygpt.exe --workdir="/path/to/workdir"
3063
- ```
3064
- in binary version.
3065
-
3066
- Certainly! Here's the improved version:
3067
-
3068
- ## Setting the Working Directory Using Command Line Arguments
3069
-
3070
3054
  To set the current working directory using a command-line argument, use:
3071
3055
 
3072
3056
  ```
@@ -1,5 +1,5 @@
1
1
  CHANGELOG.md,sha256=ze6FSM2VH2viP0X8-REeDLDNixH5XEWIpTe9a_TRieQ,76996
2
- README.md,sha256=yZC0MUnbYtMzRy8yYi06BQJ0JgKS1tIQ7irzFoP0GK4,162165
2
+ README.md,sha256=xFOhN2nJoHJSo0UiUa4oYU02bXdeM_Gpwz4SAE78SIQ,161787
3
3
  icon.png,sha256=CzcINJaU23a9hNjsDlDNbyuiEvKZ4Wg6DQVYF6SpuRg,13970
4
4
  pygpt_net/CHANGELOG.txt,sha256=OANVuWFOL2EVR5SgtCTfaNf8cEuTT8uib6oPWnwjTvQ,75552
5
5
  pygpt_net/LICENSE,sha256=6Ku72-zJ8wO5VIR87UoJ5P_coCVjPghaFL9ZF2jLp7E,1146
@@ -2155,8 +2155,8 @@ pygpt_net/ui/widget/textarea/web.py,sha256=KIW8MnwDWjEAMdiLA2v1yZiFbf-PT4KkF55uh
2155
2155
  pygpt_net/ui/widget/vision/__init__.py,sha256=8HT4tQFqQogEEpGYTv2RplKBthlsFKcl5egnv4lzzEw,488
2156
2156
  pygpt_net/ui/widget/vision/camera.py,sha256=T8b5cmK6uhf_WSSxzPt_Qod8JgMnst6q8sQqRvgQiSA,2584
2157
2157
  pygpt_net/utils.py,sha256=YhMvgy0wNt3roHIbbAnS-5SXOxOOIIvRRGd6FPTa6d0,6153
2158
- pygpt_net-2.4.36.dist-info/LICENSE,sha256=GLKQTnJOPK4dDIWfkAIM4GwOxKJXi5zcMGt7FjLR1xk,1126
2159
- pygpt_net-2.4.36.dist-info/METADATA,sha256=rRfnfCeXnDXMX7rcw7-2ej5de2YpomfJf0js0IUk9po,166967
2160
- pygpt_net-2.4.36.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
2161
- pygpt_net-2.4.36.dist-info/entry_points.txt,sha256=qvpII6UHIt8XfokmQWnCYQrTgty8FeJ9hJvOuUFCN-8,43
2162
- pygpt_net-2.4.36.dist-info/RECORD,,
2158
+ pygpt_net-2.4.36.post1.dist-info/LICENSE,sha256=GLKQTnJOPK4dDIWfkAIM4GwOxKJXi5zcMGt7FjLR1xk,1126
2159
+ pygpt_net-2.4.36.post1.dist-info/METADATA,sha256=0nmgkmGDq4CMUJyxthlCp72n4JpdyDPGyadvZCpugBY,166595
2160
+ pygpt_net-2.4.36.post1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
2161
+ pygpt_net-2.4.36.post1.dist-info/entry_points.txt,sha256=qvpII6UHIt8XfokmQWnCYQrTgty8FeJ9hJvOuUFCN-8,43
2162
+ pygpt_net-2.4.36.post1.dist-info/RECORD,,