Another possibility is to use the network API and make HTTP calls to some endpoint that processes your requests and returns LLM responses. I believe this too is only available with QTads, but at least it’s cross-platform without having to recompile for each target.
Also, there are others working on incorporating LLMs into parser-based IF: