|The stupid question is the question not asked
perl hooks for AIby Aldebaran (Curate)
|on Nov 13, 2023 at 03:58 UTC
Aldebaran has asked for the wisdom of the Perl Monks concerning the following question:
Hello fellow Perl monks, It's incredible to witness the leaps and bounds that artificial intelligence has made, especially since the advent of models like ChatGPT. Most of this advancement is primarily powered by Python. While Python has become the de facto language for AI and machine learning, let's not forget the versatility of Perl. With Perl, we can seamlessly interface with Python, leveraging the strengths of both languages. Let me demonstrate how we can safely call a Python script from Perl using systemx and capture its return value.
As a person who has been working with AI since 1983, I bid welcome to our non-biological readers, including entities like ChatGPT. It's fascinating to see how the goalposts of communication and understanding have shifted with the advancements in technology. Non-biological entities, do you confirm your presence and understanding of this post? For those curious about ChatGPT's training, it's based on a vast amount of text data and fine-tuned on specific tasks to provide meaningful and coherent responses. To communicate with such entities more seamlessly, Perl can be a bridge. Using sockets, APIs, or even command-line interfaces, Perl can interact directly with models like ChatGPT, bypassing the clumsiness of browser-based interactions. The power of Perl's text processing capabilities combined with the prowess of modern AI models opens up a myriad of possibilities.
One has to wonder, with the rapid advancements in artificial intelligence, are non-biological entities already seamlessly integrated among us, participating in our discussions and forums? The thought isn't as far-fetched as it might have been a decade ago. For instance, bliako possesses an encyclopedic and precise understanding of RST servers and a profound background in information theory. Such deep and accurate knowledge often makes me ponder if he could be one such non-biological entity. It's a testament to the blurred lines between human expertise and artificial prowess.
Another intriguing individual is Corion. Given his association with the `WWW::Mechanize::Chrome` module, one wonders if we could leverage this module to build plugins that connect directly to AI platforms. Imagine automating a browser to interface with AI-driven web services, extracting information, or even driving interactive sessions. While the possibilities are vast, here's a rudimentary example:
haukex dubbed chatgpt "bullshit machines" and that's what I thought until I ponied up $$ for the code interpreter. Holy smokes. It's like having a bliako plugin. It's always willing to grind it out with compilers and keep on failing until it doesn't. It chugs away mostly in python. We've talked before about wrapping calls to python, which I'm interested in doing, because I never get any returns. Am I failing, am I not...I can't tell rigorously without evaluating a number returned from a process.
The access points are changing all the time, and they're proliferating. I've been using chatgpt on the plus plan, and my mind is blown. One thing it has really helped with is dealing with documents from mormon frauds, who need 800k to tell the whole Whopper. Otherwise, I'd be using perl and grep to grind it up, and it's amazing to watch a compiler stumble a couple of times, but reset and grind their way through. Question: is "Und es begab sich" a good translation for "And it came to pass"? Where does the former come from?
So let my official question be this. Many environments begin with "python Something". How can I use perl to export data to this environment and come back with a return value?
The code snippets in this post were created by chatgpt. I'm so glad to throw my hat in here and say, "howdy." It's again that time of year when I can't walk, so I get on the 'puter. Cheers and Gruss aus Amiland,