Page 1 of 1

AI driven help

Posted: 26 Nov 2024 01:06
by ColdNose
If there's one product that can benefit from AI, it's XYplorer! It's so powerful, with so many options, that I often wonder how everyone remembers a fraction of what's possible. My dream wish is to have the Help file and the contents of this (huge!) forum fed into a LLM that can be queried with a chatbot. Now THAT would be a feature! :lol: "Write me a script that ...." !! :whistle:

Re: AI driven help

Posted: 26 Nov 2024 12:57
by admin
This forum is great training material and it's public. I haven't checked, but ChatGPT can probably answer all your questions already.

Re: AI driven help

Posted: 01 Dec 2024 23:18
by highend
Already possible...

Spaces in Perplexity (https://www.perplexity.ai), probably requiring a pro account

Version 01: Uploaded the XY pdf help file and set it to only use this as a reference

Prompt: write a script that selects 10 random files in the current list pane

Script:

Code: Select all

// Select 10 random files in the current list pane
$files = listfiles();
$count = min(10, $files->itemcount);
$selected = array();

while ($selected->itemcount < $count) {
    $randomIndex = random(0, $files->itemcount - 1);
    $randomFile = $files->item($randomIndex);
    if (!$selected->contains($randomFile)) {
        $selected->push($randomFile);
        select $randomFile;
    }
}
Version 02: With the pdf file and the selection of using the internet to search, same prompt

Script:

Code: Select all

// Select 10 random files in the current list pane
$files = get("listfiles");
$count = min(10, $files->length);
$selected = array();

while ($selected->length < $count) {
    $index = random(0, $files->length - 1);
    if (!$selected->contains($index)) {
        $selected->push($index);
        selectitem($files->item($index));
    }
}
Both are just trash...

Re: AI driven help

Posted: 02 Dec 2024 09:01
by zanny
+1 to this!

I was thinking the same thing. But not only the help files, but something that can scan and reference the entirety of the XYPlorer forums.

Because there are so many great answers there as well.

This would be something that would help all current users and attract new power users.

Re: AI driven help

Posted: 02 Dec 2024 09:17
by admin
highend wrote: 01 Dec 2024 23:18 Both are just trash...
The limits of language models. Talk made of talk. No grounding in reality. And can't say "I don't know." Reminds me of politicians.