AI Prompt Enginering with LBB

You can talk about anything related to LB Booster here, not covered in another category
CryptoMen
Posts: 1
Joined: Tue Nov 04, 2025 11:39 am

AI Prompt Enginering with LBB

Post by CryptoMen »

Can we send prompts to Gemini or ChatGPT from LBB under program control and receive the response?

If TLS1.2 connection will be needed, can we do this with LBB?
guest
Site Admin
Posts: 231
Joined: Tue Apr 03, 2018 1:34 pm

Re: AI Prompt Enginering with LBB

Post by guest »

CryptoMen wrote: Tue Nov 04, 2025 11:41 am Can we send prompts to Gemini or ChatGPT from LBB under program control and receive the response?
If TLS1.2 connection will be needed, can we do this with LBB?
The requirement for SSL encryption is indeed probably the key stumbling block to accessing a ChatBot's API from LBB. It's possible, but it adds an extra layer of complexity which you may prefer not to embark on.

If you want to give it a go, this Wiki article describes what's involved. It's BBC BASIC code but can either be translated to LB syntax or incorporated directly in an LBB program by prefixing each statement with an exclamation point.
CryptoMan
Posts: 3
Joined: Fri Apr 03, 2020 1:04 pm

Re: AI Prompt Enginering with LBB

Post by CryptoMan »

Yes, this is a good OpenSSL example in BBC BASIC which is fine with me.

I will give it a try but I still wonder how I can interact with Google Gemini to send prompts and scrape the results under software control.

Maybe, a DLL made with C++ doing this would be much easier for doing this especially if there are APIs for this.