Page 1 of 1

Integrating Live Code with AI for Enhanced Functionality

Posted: Tue Mar 05, 2024 6:53 am
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.

Re: Integrating Live Code with AI for Enhanced Functionality

Posted: Tue Mar 05, 2024 4:35 pm
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

Re: Integrating Live Code with AI for Enhanced Functionality

Posted: Tue Mar 05, 2024 4:54 pm
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?

Re: Integrating Live Code with AI for Enhanced Functionality

Posted: Tue Mar 05, 2024 6:32 pm
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

Re: Integrating Live Code with AI for Enhanced Functionality

Posted: Tue Mar 05, 2024 7:38 pm
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