You can chat with me or other Delphi developers in telegram channels:
https://t.me/delphidevelopers
https://t.me/Delphi_Lazarus
https://t.me/fmx_ru
ChatGPT Native Application (Windows, Mac, Android, iOS, and Linux)
Home Page: https://hemulgm.github.io/ChatGPT/
License: MIT License
Минорный баг - после переноса строки и дальнейшего ввода текста элемент ввода текста начинает "прыгать" в размере при вводе текста, см. видео - https://github.com/HemulGM/ChatGPT/assets/115224622/e14ec687-9053-40f0-8ca4-2853600685d0
macOS, ARM64
Platform: Windows
Could you, please, implement own Proxy Settings instead (or in addition to) of use of system ones?
You exceeded your current quota, please check your plan and billing details. - i recived this error.
I used the same API in other programs, all worked well. I reinstalled the program but the error left.
Please update the 'Save As' option in the dall-e image module window to work on the phone
If users are using the Microsoft Azure OpenAI service, can you provide instructions on Azure ApiVersion and Azure deployment settings?
The app closes when opening
From:
Android 11
Vivo v15 pro
Add support for switching between models in the interface. Openai has an api method to get a list of models for a particular token
Добавьте поддержку для переключения между моделями в интерфейсе.
У openai есть api метод для получения списка моделей для конкретного токена
Tried 32 and 64
[dcc64 Error] ChatGPT.FrameChat.pas(482): E2003 Undeclared identifier: 'SetContentByTag'
[dcc64 Error] ChatGPT.FrameChat.pas(502): E2250 There is no overloaded version of 'ForceQueue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(715): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(740): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(741): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(819): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(844): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(845): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(903): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(928): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(929): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(966): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(983): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(984): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Fatal Error] ChatGPT.Main.pas(9): F2063 Could not compile used unit 'ChatGPT.FrameChat.pas'
Can you make it compile on Delphi 10.2 too?
Произошла ошибка безопасности If the error is due to a timeout, you can increase the response timeout in the general program settings.
When requesting, the error 'content' is a required property - 'messages.0' is output
Thank you very much for a great example of working with OpenAI !!!
When trying to get an image on request 'cherry' in ChatGPT - the image itself is not returned at the correct URL. But returns the error text:
TlsVersionNotPermitted
The TLS version of the connection is not permitted on this storage account.'#$A'RequestId:c9350513-601e-0024-3954-7bdf6c000000'#$A'Time:2023-04-30T11:10:38.5776669Z
At the same time, the image itself opens correctly according to the available URL in the browser.
URL: https://oaidalleapiprodscus.blob.core.windows.net/private/org-rm4lg7cTaHoMmq7bdtyzy5zr/user-Sarq7NCrpeycdwZhQZQxjgMo/img-2Qk4sg6EFVHtYAK0WahLSocZ.png?st=2023-04-30T10%3A09%3A50Z&se=2023-04-30T12%3A09%3A50Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-04-30T00%3A15%3A37Z&ske=2023-05-01T00%3A15%3A37Z&sks=b&skv=2021-08-06&sig=NGLAh80YCjf6viz5qQ6Vy9tCgM1AUvnxtbSxj8CRReU%3D
As a result, an error occurs during the subsequent attempt to display the image, since the TMemoryStream contains not the image, but the error text.
Project ChatGPT.exe raised exception class EBitmapLoadingFailed with message 'Loading bitmap failed.'.
Probably, it is necessary to check in the procedure TBitmapHelper.Get the returned result not only for code 200 and size, but also to make sure that it is the image that has returned from the server, and not some kind of error message:
if (HTTP.Get(URL, Result).Status Code = 200) and (Result.Size > 0) and ImageIs then ?
PS. And how to defeat this error, by the way? Is there some library missing to put next to the executable file?
Thank you in advance for your help!!!
Maybe there's a setting to fix this in the application that I don't see, but on Linux the form is always on top. The only way to see other forms is to minimize the chatGPT application.
Any prompt returns the same error:
"You exceeded your current quota, please check your plan and billing details."
при необходимости отметить и скопировать часть текста не помещающегося на экран отметка и прокрутка не работают
Я правильно понимаю, что необходимо получать новый API-token?
Без токена работа чата невозможна?
Raise EConvertError in TFormMain.LoadSettings when getting 'temperature' value
The reason for this is that saving to jeson uses TFormatSettings.Invariant, while loading uses local settings.
If they are different, this error occurs. Solution to the problem:
procedure TFormMain.LoadSettings;
var LTemperature : string;
begin
try
if not TFile.Exists(GetSettingsFileName) then
Exit;
var JsonText: string := '';
try
JsonText := TFile.ReadAllText(GetSettingsFileName, TEncoding.UTF8);
except
Exit;
end;
if JsonText.IsEmpty then
Exit;
var JSON := TJSONObject.ParseJSONValue(JsonText);
if Assigned(JSON) then
try
Token := JSON.GetValue('api_key', '');
//Temperature := JSON.GetValue('temperature', 0); //<-- EConvertError here
LTemperature := Json.GetValue('temperature', '0');
Temperature := StrToFloat(LTemperature, TFormatSettings.Invariant);
Lang := JSON.GetValue('translate_lang', '');
FSelectedChatId := JSON.GetValue('selected_chat', '');
finally
JSON.Free;
end;
finally
if Token.IsEmpty then
OpenSettings;
end;
end;
I tried to install the .deb, but run into several issues, namely:
sudo dpkg -i /home/flo/Downloads/ChatGPT_1.1.0_linux_x86_64.deb
Selecting previously unselected package chat-gpt.
(Reading database ... 308058 files and directories currently installed.)
Preparing to unpack .../ChatGPT_1.1.0_linux_x86_64.deb ...
Unpacking chat-gpt (1.1.0) ...
dpkg: dependency problems prevent configuration of chat-gpt:
chat-gpt depends on libayatana-appindicator3-1; however:
(Reading database ... 308065 files and directories currently installed.)
Preparing to unpack .../ChatGPT_1.1.0_linux_x86_64.deb ...
Unpacking chat-gpt (1.1.0) over (1.1.0) ...
dpkg: dependency problems prevent configuration of chat-gpt:
chat-gpt depends on libayatana-appindicator3-1; however:
Package libayatana-appindicator3-1 is not installed.
dpkg: error processing package chat-gpt (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
chat-gpt
so is installed libayatana-appindicator3-1
and used sudo apt --fix-broken install
now I get
sudo dpkg -i /home/flo/Downloads/ChatGPT_1.1.0_linux_x86_64.deb
(Reading database ... 308075 files and directories currently installed.)
Preparing to unpack .../ChatGPT_1.1.0_linux_x86_64.deb ...
Unpacking chat-gpt (1.1.0) over (1.1.0) ...
Setting up chat-gpt (1.1.0) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
and when executing:
chat-gpt
chat-gpt: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
Trying the AppImage, I get
/home/flo/Downloads/chat-gpt_1.1.0_amd64.AppImage
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by chat-gpt)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by chat-gpt)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by chat-gpt)
chat-gpt: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebkit2gtk-4.0.so.37)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgtk-3.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgdk-3.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libcairo.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgio-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgio-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libjavascriptcoregtk-4.0.so.18)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libglib-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libglib-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libglib-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libcrypto.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libcrypto.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwpe-1.0.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libWPEBackend-fdo-1.0.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libepoxy.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsystemd.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsystemd.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsystemd.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libicuuc.so.70)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libicuuc.so.70)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libxml2.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libxml2.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsqlite3.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libsqlite3.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libxslt.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwoff2dec.so.1.0.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgcrypt.so.20)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgstreamer-1.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgstreamer-1.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgstpbutils-1.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libopenjp2.so.7)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwebp.so.7)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libenchant-2.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgmodule-2.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwayland-server.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libwayland-server.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libxkbcommon.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libpsl.so.5)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgssapi_krb5.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libmount.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libmount.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libselinux.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libselinux.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/liblzma.so.5)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/liblzma.so.5)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libcap.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libunwind.so.8)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libunwind.so.8)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libdw.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libdw.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libgudev-1.0.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libevdev.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libdbus-1.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libdbus-1.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libXau.so.6)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libunistring.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libunistring.so.2)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libkrb5.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libkrb5.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libk5crypto.so.3)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libkrb5support.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libkrb5support.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libblkid.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libelf.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libudev.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libudev.so.1)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libbsd.so.0)
chat-gpt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_chat-gGx4vQx/usr/lib/libmd.so.0)
my Ubuntu version is
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Impressed with your project. But currently, does it not support streaming?
Сделал всё по мотивам https://habr.com/ru/articles/732384/
win 10. включая установку Delphi и импорт пакетов "skia4delphi " и "SVGIconImageList"
Аудио расшифровывает, картинки рисует, а вот код нет.
Подскажите как это можно исправить
https://rimen.pro/img/2023-09-13_142830.png
https://rimen.pro/img/2023-09-13_142830.png
Подскажите куда копать чтобы это исправить
Добрый день!
Получил ключ, пытаюсь выполнить запрос, получаю ошибку: "Error sending data: (12175) Произошла ошибка безопасности
If the error is due to a timeout, you can increase the response timeout in the general program settings."
Windows 11 Pro 21H2 64 bit
Проц AMD 5600x, если это важно по какой-то причине)
ОЗУ 32 Гб
Файлик ChatGPT - это как раз новая версия - она не запускается вообще никак. Запускаешь и даже в диспетчере заметить как она появляется - не успеваю.
32 версия работает, и прошлая версия тоже работает
Кстати круто было бы версионность какую-то внедрить. Чтобы внутри посмотреть было где то какая версия, а то не удобно отслеживать что изменилось и баги ловить)
Есть способ как-то отладить мне у себя что с ней там происходит?
Hi,
I have a Mac14,10
with macOS 13.6.2 and this is what I get when I try to run the arm version:
$ open /Applications/ChatGPT_arm64.app
The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x600002581e60 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}
Hellow HemulGM
I'm impressed with your amazing code using chatGPT from Delphi.
I had been using the previous version for a while, but with the release of Delphi 12 Athens, I decided to download and use the latest version.
Since the recommended version is Delphi 11.3 or later, I thought there was a possibility that it could work with version 12, so I tried compiling it several times.
I've been trying to compile, overcoming mistakes in the Uses clause for using SKIA (in Athens, when using skia, FMX.Skia appears as Skia.FMX in the Uses clause), but I've encountered an error at FMX.Memo.Styie.pas with error code E2003: Undefined identifier: FragmentLength, and I can't proceed with the compilation.
Does the code to access this chatGPT, created by HemulGM, not work with Delphi version 12? If there is any workaround, please let me know.
Blue-Weasel from Japan.
OpenAI.Completions.pas, Line 205, the "Completions" object is created but never gets freed. It should be freeed after Line 210.
The same problem with OpenAI.Chat.pas, Line 210, the "Chat" object is created but never gets destroyed.
Ошибка при запуске:
---------------------------
Application Error
---------------------------
Exception ERegistryException in module ChatGPT.exe at 005938A1.
Failed to get data for 'AppsUseLightTheme'.
---------------------------
ОК
---------------------------
windows 10. версия 1809
Is there a plan to provide the rendering function for math formulas?
You exceeded your current quota, please
check your plan and billing details.
it is possible have some tabs for old chats sorting?
Delphi 10.4 don't have this dependency "TSVGIconImageList". I found some in the internet but not sure which one to use. Maybe this one: https://github.com/EtheaDev/SVGIconImageList ?
And congrats for the work!!
Я хотел подключить вместо openai llama-server, он эмулирует апи от openai, используя модель LLaMa. Однако когда я ввожу в поле base url
http://127.0.0.1:8000
, то это значение не сохраняется, и в чате запрос все равно идет к openai. Что я делаю не так?
Unable to launch:
---------------------------
Application Error
---------------------------
Exception EAccessViolation in module ChatGPT.exe at 0050601B.
Access violation at address 00BA601B in module 'ChatGPT.exe'. Read of address 0000000C.
---------------------------
OK
---------------------------
P.S.
Windows 10
$ open /Applications/ChatGPT_arm64.app/
The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6000006b0210 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}
I am trying to build on Delphi 11.3 but I get following errors. Any help or pointers to fix them is very much appreciated - thanks!
[dcc64 Error] ChatGPT.FrameChat.pas(285): E2003 Undeclared identifier: 'Tag'
[dcc64 Error] ChatGPT.FrameChat.pas(313): E2003 Undeclared identifier: 'FromString'
[dcc64 Error] ChatGPT.FrameChat.pas(315): E2003 Undeclared identifier: 'Tag'
[dcc64 Error] ChatGPT.FrameChat.pas(444): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(469): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(470): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(533): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(558): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(559): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(602): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(619): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(620): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(802): E2034 Too many actual parameters
[dcc64 Error] ChatGPT.FrameChat.pas(808): E2034 Too many actual parameters
[dcc64 Error] ChatGPT.FrameChat.pas(814): E2034 Too many actual parameters
[dcc64 Error] ChatGPT.FrameChat.pas(819): E2034 Too many actual parameters
[dcc64 Error] ChatGPT.FrameChat.pas(825): E2034 Too many actual parameters
[dcc64 Fatal Error] ChatGPT.Main.pas(9): F2063 Could not compile used unit 'ChatGPT.FrameChat.pas'
после создания нового чата приходится кликать на поле ввода текста, сразу набирать текст не получится
this application can run macos or ios?
Где сборки под Linux?
Либо инструкция как собрать под Linux?
$ ./ChatGPT
./ChatGPT: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by ./ChatGPT) ./ChatGPT: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.33' not found (required by ./ChatGPT)
./ChatGPT: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./ChatGPT)
Hello, I use the latest x64 android app and when I rename a chat, the name is erased/cleared after closing the application. Renaming a chat it's impossible.
Raise ACCESS_VIOLATION in TFrameChat.MemoQueryChange in ChatGPT.FrameChat.pas, when enter text in MemoQuery and close program.
I suggest to fix function:
procedure TFrameChat.MemoQueryChange(Sender: TObject);
begin
TThread.ForceQueue(nil,
procedure
begin
if not Assigned(LayoutSend) then
Exit;
var H: Single :=
LayoutSend.Padding.Top + LayoutSend.Padding.Bottom +
MemoQuery.ContentBounds.Height +
LayoutQuery.Padding.Top + LayoutQuery.Padding.Bottom;
LayoutSend.Height := Max(LayoutSend.TagFloat, Min(H, 400));
end);
end;
I get this error when compiling for Android 64bit platform:
[PAClient Error] Error: E7688 Unable to execute '"C:\Program Files\Eclipse Adoptium\jdk-11.0.15.10-hotspot\bin\java.exe" -cp "c:\program files (x86)\embarcadero\studio\22.0\bin\Android\r8-3.3.28.jar" com.android.tools.r8.D8 --release --min-api 23 --output "C:\Work\AI\ChatGPT\Android64\Debug\ChatGPT.classes" @"C:\Work\AI\ChatGPT\Android64\Debug\dex_list.txt"' (Error 1) [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\collection-1.0.0.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\collection-1.0.0.dex.jar [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\core-common-2.0.1.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\core-common-2.0.1.dex.jar [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\core-runtime-2.0.1.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\core-runtime-2.0.1.dex.jar [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\fragment-1.0.0.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\fragment-1.0.0.dex.jar [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-common-2.0.0.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-common-2.0.0.dex.jar [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-livedata-core-2.0.0.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-livedata-core-2.0.0.dex.jar [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-runtime-2.0.0.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-runtime-2.0.0.dex.jar [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-viewmodel-2.0.0.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-viewmodel-2.0.0.dex.jar [PAClient Error] Error: E7688 Compilation failed with an internal error. [PAClient Error] Error: E7688 Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-viewmodel-2.0.0.dex.jar [PAClient Error] Error: E7688 at com.android.tools.r8.internal.Bj.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:98) [PAClient Error] Error: E7688 at com.android.tools.r8.D8.main(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:4) [PAClient Error] Error: E7688 Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-viewmodel-2.0.0.dex.jar [PAClient Error] Error: E7688 at Version.fakeStackEntry(Version_3.3.28.java:0) [PAClient Error] Error: E7688 at com.android.tools.r8.internal.Bj.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:75) [PAClient Error] Error: E7688 at com.android.tools.r8.internal.Bj.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:28) [PAClient Error] Error: E7688 at com.android.tools.r8.internal.Bj.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:27) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.build(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:2) [PAClient Error] Error: E7688 at com.android.tools.r8.D8.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:4) [PAClient Error] Error: E7688 at com.android.tools.r8.internal.Bj.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:85) [PAClient Error] Error: E7688 ... 1 more [PAClient Error] Error: E7688 Caused by: java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-viewmodel-2.0.0.dex.jar [PAClient Error] Error: E7688 at com.android.tools.r8.utils.j$a.d(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:21) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.e(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:3) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:12) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.addProgramFiles(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:3) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.addProgramFiles(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1) [PAClient Error] Error: E7688 at com.android.tools.r8.n.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1058) [PAClient Error] Error: E7688 at com.android.tools.r8.n.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1) [PAClient Error] Error: E7688 at com.android.tools.r8.D8Command.parse(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1) [PAClient Error] Error: E7688 ... 3 more [PAClient Error] Error: E7688 Suppressed: java.lang.RuntimeException: com.android.tools.r8.internal.f: java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-viewmodel-2.0.0.dex.jar [PAClient Error] Error: E7688 at com.android.tools.r8.internal.DT.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:25) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:3) [PAClient Error] Error: E7688 at com.android.tools.r8.internal.Bj.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:24) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.build(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:2) [PAClient Error] Error: E7688 ... 3 more [PAClient Error] Error: E7688 Caused by: com.android.tools.r8.internal.f: java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-viewmodel-2.0.0.dex.jar [PAClient Error] Error: E7688 at com.android.tools.r8.internal.DT.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:14) [PAClient Error] Error: E7688 at com.android.tools.r8.internal.DT.error(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1) [PAClient Error] Error: E7688 at com.android.tools.r8.utils.j$a.d(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:22) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.e(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:3) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:12) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.addProgramFiles(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:3) [PAClient Error] Error: E7688 at com.android.tools.r8.BaseCommand$Builder.addProgramFiles(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1) [PAClient Error] Error: E7688 at com.android.tools.r8.n.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1058) [PAClient Error] Error: E7688 at com.android.tools.r8.n.a(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1) [PAClient Error] Error: E7688 at com.android.tools.r8.D8Command.parse(R8_3.3.28_2aaf796388b4e9f6bed752d926eca110512a53a3f09a8d755196089c1cfdf799:1) [PAClient Error] Error: E7688 ... 3 more [PAClient Error] Error: E7688 Caused by: [CIRCULAR REFERENCE: java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Debug\lifecycle-viewmodel-2.0.0.dex.jar]
OpenAI has blocked access to the API to some countries, just as they have blocked access to the site itself. Until this point, access was open to the API.
For the client to work, you now need to use a VPN or Proxy, or use third-party compatible services for accessing GPT, which can be specified instead of BaseURL
I'm not sure it will be possible to bypass their current firewall (Cloudfire). So I apologize. I will continue to develop the client. Perhaps I will focus on the ability to use other alternative services for text generation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.