Can Xavvi generate sensible text output as well as code?

Craig Newman craig at starfirelighting.com
Thu May 18 09:25:55 EDT 2023


In Jacque’s “test” AI first had to create a list of ten “people”, garnered, I assume, from research into our planet’s knowledge base. It knew what a “name” should be. That is cool.

That list could have been a list of actual humans, derived from, say, the staff of a particular bank. 

If the list alone was in hand, it would take just a handful of LC code to create the string associated with each name.

How to integrate the AI part with the LC part? Again, one could acquire just the list, and then let LC generate the output string. But at least all would end up in a handler, fully in LC, where I assume additional “real” work would then be done.

What I mean is, how can one best integrate the “outside” AI work with the “inside” LC work? That is what I have to get my head around.

 Lurking in the background,I do not want AI to put LC out to pasture. I did that once with HC, and still have not gotten over it.

Craig

> On May 17, 2023, at 8:26 PM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 5/17/23 5:38 PM, Terry Judd via use-livecode wrote:
>> Let’s say I have a whole lot of input statements/info, some of which is generic but some of which varies according by user. Any thoughts on whether it might be possible to leverage Xavvi to process and combine that info into useful prose summaries for each user in a way that I can’t already do in Livecode - ie generative AI text rather than merging into template text)?
> 
> Well, I'd expect so since Bard can do it, if I understand what you mean. Here's my test. (Bard thinks it's code.)
> 
> My prompt: Make a list of 10 people with first and last names. Combine each one into this sentence: "Hello firstname, I'm exploring the family tree of your lastname relatives." Substitute "firstname" with each person's first name and substitute "lastname" with their last name. Return a list, one person per line.
> 
> Bard says:
> 
> Here is a list of 10 people with first and last names, along with the sentence "Hello firstname, I'm exploring the family tree of your lastname relatives." with each person's first and last name substituted in:
> Code snippet
> 
> Name | Sentence
> ------- | --------
> John Smith | Hello John, I'm exploring the family tree of your Smith relatives.
> Mary Jones | Hello Mary, I'm exploring the family tree of your Jones relatives.
> Michael Brown | Hello Michael, I'm exploring the family tree of your Brown relatives.
> David Williams | Hello David, I'm exploring the family tree of your Williams relatives.
> Susan White | Hello Susan, I'm exploring the family tree of your White relatives.
> James Green | Hello James, I'm exploring the family tree of your Green relatives.
> Sarah Black | Hello Sarah, I'm exploring the family tree of your Black relatives.
> Peter Brown | Hello Peter, I'm exploring the family tree of your Brown relatives.
> Jessica Smith | Hello Jessica, I'm exploring the family tree of your Smith relatives.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list