Integrating Live Code with AI for Enhanced Functionality

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ehall_Pass_Pro
Posts: 1
Joined: Tue Mar 05, 2024 6:49 am

Integrating Live Code with AI for Enhanced Functionality

Post by Ehall_Pass_Pro »

Hey everyone! I'm working on a project that involves integrating Live Code with AI, and I could use some guidance and advice. I'm fairly new to both Live Code and AI, so I'm hoping someone with experience in these areas can help me out.

My objective is to create an application that utilizes AI capabilities within the Live Code environment. Specifically, I want to incorporate machine learning algorithms to enhance the functionality of my Live Code project. I'm interested in tasks such as image recognition, natural language processing, and data analysis.
Last edited by Ehall_Pass_Pro on Wed Mar 06, 2024 5:43 am, edited 1 time in total.
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Integrating Live Code with AI for Enhanced Functionality

Post by dunbarx »

Welcome to the forum.

That is quite an undertaking.

There is an existing project known as "Livecode Create"
https://livecode.com/codename-xavvi-wil ... de-create/
But this is structured entirely in and of itself. I do not believe there is any way to "hook" into it. You may find others chiming in...

In any case, you will need to learn the basics of LC, and we are here to help. I recommend a much smaller starter project. How about a calculator or address book? The results will likely be of little use to you, but the journey will be invaluable.

Craig
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Integrating Live Code with AI for Enhanced Functionality

Post by FourthWorld »

You could make an IDE plugin with two fields, one for the prompt to a GPT API and the other for the response, with a Copy button to put it in your script editor.

Later you could learn enough about the script editor to put it there directly.

Have you used HTTP APIs for GPT?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Integrating Live Code with AI for Enhanced Functionality

Post by dunbarx »

@Ehall_Pass_Pro

Is that what you are doing. that is, accessing ChatGPT, making a query and collecting the results?

I thought you wanted much more, to
...incorporate machine learning algorithms to enhance the functionality of my Live Code project
Whatever the scope of your project, please keep us informed here.

Craig
stam
Posts: 3209
Joined: Sun Jun 04, 2006 9:39 pm

Re: Integrating Live Code with AI for Enhanced Functionality

Post by stam »

@Ehall_Pass_Pro: There are some threads on use of AI in LiveCode -- perhaps not exactly what you need but you may find some help.

For example: https://forums.livecode.com/viewtopic.php?f=5&t=37570
Post Reply