English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. Releases (https://eab.abime.net/forumdisplay.php?f=115)
-   -   AmigaGPT - ChatGPT client for AmigaOS 3.2 (https://eab.abime.net/showthread.php?t=114798)

Nightfox 17 June 2023 19:00

AmigaGPT - ChatGPT client for AmigaOS 3.2
 
CURRENT VERSION: 1.4.6

Hi all!

I have worked on a fun project for a few months now and pleased to make a first release for it! I will continue to develop and update the app.

AmigaGPT is an app for AmigaOS 3.9+ and PPC AmigaOS 4.1 that lets you chat to ChatGPT or generate images. Supports saving conversations and text to speech!

It requires AmigaOS 3.9 (Cloanto's Workbench 3.X will also work) or above (including AmigaOS 4.1) and AmiSSL 5.9 to both be installed.

https://user-images.githubuserconten...ff2d5c195a.png

Read more here:
https://github.com/sacredbanana/AmigaGPT

You can download it from:https://github.com/sacredbanana/AmigaGPT/releases or http://aminet.net/package/util/misc/AmigaGPT

Please do let me know what you think of it :)

VIDEO REVIEWS:

Proteque - Classic Beige Nostalgia:
https://www.youtube.com/watch?v=t3q8HQ6wrnw

Dan Wood:
https://youtu.be/-OA28r8Up5U?t=877

Les Docs (French):
https://youtu.be/BV5Fq1PresE?si=OQy8EIaJ5KciNjxm

Official song of AmigaGPT:
https://www.youtube.com/watch?v=t3q8HQ6wrnw

trixster 17 June 2023 19:11

Good stuff. Why does it need 3.2?

mfilos 17 June 2023 22:42

1 Attachment(s)
Quote:

Originally Posted by trixster (Post 1623077)
Good stuff. Why does it need 3.2?

I guess it uses Reaction from 3.2.x for the GUI

@NightFox
Thanks a lot mate for that program.
Sadly my trial API has expired so can't test it atm :(
I also made an OS4 (MasonIcon) icon App/Drawer in order to match my iconset for 3.2 :)
https://i.ibb.co/NWfbtFj/AmigaGPT.png
I'm attaching it here for anyone interested.

Nightfox 18 June 2023 01:50

Quote:

Originally Posted by trixster (Post 1623077)
Good stuff. Why does it need 3.2?


mfilos is correct. I built the GUI with 3.2 gadgets and the window is the new window.class. This was my first time building an Amiga app using BOOPSI and I wanted to use all the new shiny BOOPSI gadgets that Hyperion had updated. Although texteditor.gadget doesnt have all functions implemented yet so changing the pen colour for example just doesn't work. Hoping Hyperion will update the gadget in the next release of AmigaOS :)

@mfilos

Nice! Those icons look great. Would you like me to add them to the AmigaGPT repo? Happy to put it in for you, or you can create a pull request. Or it doesn't have to go in if you don't want that :)

Pyromania 18 June 2023 01:57

Nice, thanks a bunch for doing this. I didn't even know this was possible to do.

Nightfox 18 June 2023 02:01

Quote:

Originally Posted by Pyromania (Post 1623132)
Nice, thanks a bunch for doing this. I didn't even know this was possible to do.


Anything is possible if you believe <3

mfilos 18 June 2023 09:21

Quote:

Originally Posted by Nightfox (Post 1623130)
@mfilos

Nice! Those icons look great. Would you like me to add them to the AmigaGPT repo? Happy to put it in for you, or you can create a pull request. Or it doesn't have to go in if you don't want that :)

Feel free to include them in the archive mate :)

trixster 18 June 2023 10:11

@nightfox thanks for the explanation. My machines use either 3.1.4 or 3.9, so a shame I can’t try your programme! But nice work!

Nightfox 18 June 2023 10:21

Quote:

Originally Posted by trixster (Post 1623175)
@nightfox thanks for the explanation. My machines use either 3.1.4 or 3.9, so a shame I can’t try your programme! But nice work!

Thanks very much and sorry for using Hyperion's new shiny features. I do recommend upgrading to 3.2 though, it's a huge improvement

pixie 18 June 2023 19:10

We already have a tiny market, perhaps it could also be made with MUI. Anyhow good to see asoftware in touch with today's reality

Karlos 18 June 2023 20:55

Quote:

Originally Posted by Pyromania (Post 1623132)
Nice, thanks a bunch for doing this. I didn't even know this was possible to do.

The GPT part of this isn;t what impresses me, it's the fact the JSON biindings compile for amiga/68k :)

StevenJGore 18 June 2023 22:04

I have translator.library 43.1 and narrator.device 37.8 installed but they aren't detected. It's says neither are installed.

Also, should it save the font prefs?

samo79 18 June 2023 22:37

Nice, I wonder if it also works under AmigaOS 4 ... considering Reaction gadgets was directly backported from OS4 to OS 3.2 ;-)

Nightfox 19 June 2023 04:38

Quote:

Originally Posted by Karlos (Post 1623265)
The GPT part of this isn;t what impresses me, it's the fact the JSON biindings compile for amiga/68k :)

Haha yes I had to port the json-c library over to get it to compile. I was so sick of parsing json strings manually so spent a day finding a library to use and then getting it to compile.

I should put this ported library in its own repo for others to use :)

Quote:

Originally Posted by StevenJGore (Post 1623280)
I have translator.library 43.1 and narrator.device 37.8 installed but they aren't detected. It's says neither are installed.

Also, should it save the font prefs?

As per the readme, the narrator.device needs to be installed in the same folder that AmigaGPT lives in. I did it this way so you can use either one by switching the speech system in the menu. so an example of where narrator.device will live:

SYS:Utilities/AmigaGPT/devs/speech/34/narrator.device

and for v37

SYS:Utilities/AmigaGPT/devs/speech/37/narrator.device

Yes, it should save the font prefs. Fonts are a little buggy in this first release, and dont always get applied unless you restart the app. I will work on fixing this.

Quote:

Originally Posted by samo79 (Post 1623283)
Nice, I wonder if it also works under AmigaOS 4 ... considering Reaction gadgets was directly backported from OS4 to OS 3.2 ;-)

I have tested it. The app works in OS4, but speech doesn't work at all (causes a crash), and the chat output shows asterisks instead of making user prompts bold

Dynamic_Computi 19 June 2023 23:45

Quote:

Originally Posted by Nightfox (Post 1623130)
mfilos is correct. I built the GUI with 3.2 gadgets and the window is the new window.class. This was my first time building an Amiga app using BOOPSI and I wanted to use all the new shiny BOOPSI gadgets that Hyperion had updated. Although texteditor.gadget doesnt have all functions implemented yet so changing the pen colour for example just doesn't work. Hoping Hyperion will update the gadget in the next release of AmigaOS :)

@mfilos

Nice! Those icons look great. Would you like me to add them to the AmigaGPT repo? Happy to put it in for you, or you can create a pull request. Or it doesn't have to go in if you don't want that :)

I totally agree with your decision to require Amiga OS 3.2 - If people don't start using the new tools, then nobody will be motivated to upgrade.
I would guess that most people that have their Amiga on the Internet are already using one of the more modern versions.

pixie 19 June 2023 23:57

Quote:

Originally Posted by Dynamic_Computi (Post 1623526)
I totally agree with your decision to require Amiga OS 3.2 - If people don't start using the new tools, then nobody will be motivated to upgrade.
I would guess that most people that have their Amiga on the Internet are already using one of the more modern versions.

I am wondering what features which are present that 3.1 doesn't present. One thing is taking advantage of the extra features of 3.2, but is this the case? This is just for the sake of alienating sake?

Anakirob 20 June 2023 02:52

If you can get ChatGPT to generate AmiBlitz code that looks even halfway close to functional without hand feeding it a ton of working source code then you're doing better than me ;)

AMOS is a different story, but AMOS is lame :P

Bruce Abbott 20 June 2023 03:06

Quote:

Originally Posted by pixie (Post 1623527)
I am wondering what features which are present that 3.1 doesn't present. One thing is taking advantage of the extra features of 3.2, but is this the case? This is just for the sake of alienating sake?

No, it's the usual reason - laziness. Making GUI elements from scratch is hard work, so when the OS already has one ready to go...

But upgrading to Amiga OS 3.2 isn't particularly difficult or expensive. We should all do it, just so we can stick it to the naysayers who insist the Amiga can't be used for 'modern' applications.

ChatGPT for the Amiga is awesome! I can't wait to tell people how I got it to write my code for me. Laziness squared!

pixie 20 June 2023 08:20

Quote:

Originally Posted by Bruce Abbott (Post 1623543)
No, it's the usual reason - laziness. Making GUI elements from scratch is hard work, so when the OS already has one ready to go...

But upgrading to Amiga OS 3.2 isn't particularly difficult or expensive. We should all do it, just so we can stick it to the naysayers who insist the Amiga can't be used for 'modern' applications.

ChatGPT for the Amiga is awesome! I can't wait to tell people how I got it to write my code for me. Laziness squared!

Well I can't agree more with you, it's good that is brought to Amiga, I have no doubt it can be hard work, but if I told you the amount of times I saw back then, a given program having support for multiple gui libraries, when we had a much bigger user base, that's why it puzzles me. Regarding OS 3.2 I won't talk about your points because I would be going off topic and I don't want to derrail the thread, as you've put so we'll "ChatGPT for Amiga is awesome"! :-)

Locutus 20 June 2023 08:57

Quote:

Originally Posted by Nightfox (Post 1623316)
Haha yes I had to port the json-c library over to get it to compile. I was so sick of parsing json strings manually so spent a day finding a library to use and then getting it to compile.

I should put this ported library in its own repo for others to use :)


Please do!


I started out diffing the changes, but if you could move your changes into a fork of the json-c repo so some git history is maintained that'd be superduperawesome.


All times are GMT +2. The time now is 08:29.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.05146 seconds with 11 queries