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?
AI Prompt Enginering with LBB
Re: AI Prompt Enginering 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.
Re: AI Prompt Enginering with LBB
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.
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.